| OLD | NEW |
| 1 library dart.dom.svg; | 1 library dart.dom.svg; |
| 2 | 2 |
| 3 import 'dart:async'; | 3 import 'dart:async'; |
| 4 import 'dart:collection'; | 4 import 'dart:collection'; |
| 5 import 'dart:html'; | 5 import 'dart:html'; |
| 6 import 'dart:html_common'; | 6 import 'dart:html_common'; |
| 7 import 'dart:nativewrappers'; | 7 import 'dart:nativewrappers'; |
| 8 // DO NOT EDIT | 8 // DO NOT EDIT |
| 9 // Auto-generated dart:svg library. | 9 // Auto-generated dart:svg library. |
| 10 | 10 |
| (...skipping 821 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 832 | 832 |
| 833 } | 833 } |
| 834 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 834 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 835 // for details. All rights reserved. Use of this source code is governed by a | 835 // for details. All rights reserved. Use of this source code is governed by a |
| 836 // BSD-style license that can be found in the LICENSE file. | 836 // BSD-style license that can be found in the LICENSE file. |
| 837 | 837 |
| 838 // WARNING: Do not edit - generated code. | 838 // WARNING: Do not edit - generated code. |
| 839 | 839 |
| 840 | 840 |
| 841 @DocsEditable | 841 @DocsEditable |
| 842 @DomName('SVGColor') | |
| 843 class Color extends CssValue { | |
| 844 Color.internal() : super.internal(); | |
| 845 | |
| 846 static const int SVG_COLORTYPE_CURRENTCOLOR = 3; | |
| 847 | |
| 848 static const int SVG_COLORTYPE_RGBCOLOR = 1; | |
| 849 | |
| 850 static const int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2; | |
| 851 | |
| 852 static const int SVG_COLORTYPE_UNKNOWN = 0; | |
| 853 | |
| 854 @DomName('SVGColor.colorType') | |
| 855 @DocsEditable | |
| 856 int get colorType native "SVGColor_colorType_Getter"; | |
| 857 | |
| 858 @DomName('SVGColor.rgbColor') | |
| 859 @DocsEditable | |
| 860 CssRgbColor get rgbColor native "SVGColor_rgbColor_Getter"; | |
| 861 | |
| 862 @DomName('SVGColor.setColor') | |
| 863 @DocsEditable | |
| 864 void setColor(int colorType, String rgbColor, String iccColor) native "SVGColo
r_setColor_Callback"; | |
| 865 | |
| 866 @DomName('SVGColor.setRGBColor') | |
| 867 @DocsEditable | |
| 868 void setRgbColor(String rgbColor) native "SVGColor_setRGBColor_Callback"; | |
| 869 | |
| 870 @DomName('SVGColor.setRGBColorICCColor') | |
| 871 @DocsEditable | |
| 872 void setRgbColorIccColor(String rgbColor, String iccColor) native "SVGColor_se
tRGBColorICCColor_Callback"; | |
| 873 | |
| 874 } | |
| 875 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 876 // for details. All rights reserved. Use of this source code is governed by a | |
| 877 // BSD-style license that can be found in the LICENSE file. | |
| 878 | |
| 879 // WARNING: Do not edit - generated code. | |
| 880 | |
| 881 | |
| 882 @DocsEditable | |
| 883 @DomName('SVGDefsElement') | 842 @DomName('SVGDefsElement') |
| 884 class DefsElement extends StyledElement implements Transformable, Tests, Externa
lResourcesRequired, LangSpace { | 843 class DefsElement extends StyledElement implements Transformable, Tests, Externa
lResourcesRequired, LangSpace { |
| 885 DefsElement.internal() : super.internal(); | 844 DefsElement.internal() : super.internal(); |
| 886 | 845 |
| 887 @DomName('SVGDefsElement.SVGDefsElement') | 846 @DomName('SVGDefsElement.SVGDefsElement') |
| 888 @DocsEditable | 847 @DocsEditable |
| 889 factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs
"); | 848 factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs
"); |
| 890 | 849 |
| 891 @DomName('SVGDefsElement.externalResourcesRequired') | 850 @DomName('SVGDefsElement.externalResourcesRequired') |
| 892 @DocsEditable | 851 @DocsEditable |
| (...skipping 3359 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4252 | 4211 |
| 4253 } | 4212 } |
| 4254 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4213 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4255 // for details. All rights reserved. Use of this source code is governed by a | 4214 // for details. All rights reserved. Use of this source code is governed by a |
| 4256 // BSD-style license that can be found in the LICENSE file. | 4215 // BSD-style license that can be found in the LICENSE file. |
| 4257 | 4216 |
| 4258 // WARNING: Do not edit - generated code. | 4217 // WARNING: Do not edit - generated code. |
| 4259 | 4218 |
| 4260 | 4219 |
| 4261 @DocsEditable | 4220 @DocsEditable |
| 4262 @DomName('SVGPaint') | |
| 4263 class Paint extends Color { | |
| 4264 Paint.internal() : super.internal(); | |
| 4265 | |
| 4266 static const int SVG_PAINTTYPE_CURRENTCOLOR = 102; | |
| 4267 | |
| 4268 static const int SVG_PAINTTYPE_NONE = 101; | |
| 4269 | |
| 4270 static const int SVG_PAINTTYPE_RGBCOLOR = 1; | |
| 4271 | |
| 4272 static const int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2; | |
| 4273 | |
| 4274 static const int SVG_PAINTTYPE_UNKNOWN = 0; | |
| 4275 | |
| 4276 static const int SVG_PAINTTYPE_URI = 107; | |
| 4277 | |
| 4278 static const int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104; | |
| 4279 | |
| 4280 static const int SVG_PAINTTYPE_URI_NONE = 103; | |
| 4281 | |
| 4282 static const int SVG_PAINTTYPE_URI_RGBCOLOR = 105; | |
| 4283 | |
| 4284 static const int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106; | |
| 4285 | |
| 4286 @DomName('SVGPaint.paintType') | |
| 4287 @DocsEditable | |
| 4288 int get paintType native "SVGPaint_paintType_Getter"; | |
| 4289 | |
| 4290 @DomName('SVGPaint.uri') | |
| 4291 @DocsEditable | |
| 4292 String get uri native "SVGPaint_uri_Getter"; | |
| 4293 | |
| 4294 @DomName('SVGPaint.setPaint') | |
| 4295 @DocsEditable | |
| 4296 void setPaint(int paintType, String uri, String rgbColor, String iccColor) nat
ive "SVGPaint_setPaint_Callback"; | |
| 4297 | |
| 4298 @DomName('SVGPaint.setUri') | |
| 4299 @DocsEditable | |
| 4300 void setUri(String uri) native "SVGPaint_setUri_Callback"; | |
| 4301 | |
| 4302 } | |
| 4303 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 4304 // for details. All rights reserved. Use of this source code is governed by a | |
| 4305 // BSD-style license that can be found in the LICENSE file. | |
| 4306 | |
| 4307 // WARNING: Do not edit - generated code. | |
| 4308 | |
| 4309 | |
| 4310 @DocsEditable | |
| 4311 @DomName('SVGPathElement') | 4221 @DomName('SVGPathElement') |
| 4312 class PathElement extends StyledElement implements Transformable, Tests, Externa
lResourcesRequired, LangSpace { | 4222 class PathElement extends StyledElement implements Transformable, Tests, Externa
lResourcesRequired, LangSpace { |
| 4313 PathElement.internal() : super.internal(); | 4223 PathElement.internal() : super.internal(); |
| 4314 | 4224 |
| 4315 @DomName('SVGPathElement.SVGPathElement') | 4225 @DomName('SVGPathElement.SVGPathElement') |
| 4316 @DocsEditable | 4226 @DocsEditable |
| 4317 factory PathElement() => _SvgElementFactoryProvider.createSvgElement_tag("path
"); | 4227 factory PathElement() => _SvgElementFactoryProvider.createSvgElement_tag("path
"); |
| 4318 | 4228 |
| 4319 @DomName('SVGPathElement.animatedNormalizedPathSegList') | 4229 @DomName('SVGPathElement.animatedNormalizedPathSegList') |
| 4320 @DocsEditable | 4230 @DocsEditable |
| (...skipping 2195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6516 StyledElement.internal() : super.internal(); | 6426 StyledElement.internal() : super.internal(); |
| 6517 | 6427 |
| 6518 @DomName('SVGStyledElement.className') | 6428 @DomName('SVGStyledElement.className') |
| 6519 @DocsEditable | 6429 @DocsEditable |
| 6520 AnimatedString get $dom_svgClassName native "SVGStyledElement_className_Getter
"; | 6430 AnimatedString get $dom_svgClassName native "SVGStyledElement_className_Getter
"; |
| 6521 | 6431 |
| 6522 @DomName('SVGStyledElement.style') | 6432 @DomName('SVGStyledElement.style') |
| 6523 @DocsEditable | 6433 @DocsEditable |
| 6524 CssStyleDeclaration get style native "SVGStyledElement_style_Getter"; | 6434 CssStyleDeclaration get style native "SVGStyledElement_style_Getter"; |
| 6525 | 6435 |
| 6526 @DomName('SVGStyledElement.getPresentationAttribute') | |
| 6527 @DocsEditable | |
| 6528 CssValue getPresentationAttribute(String name) native "SVGStyledElement_getPre
sentationAttribute_Callback"; | |
| 6529 | |
| 6530 } | 6436 } |
| 6531 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6437 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6532 // for details. All rights reserved. Use of this source code is governed by a | 6438 // for details. All rights reserved. Use of this source code is governed by a |
| 6533 // BSD-style license that can be found in the LICENSE file. | 6439 // BSD-style license that can be found in the LICENSE file. |
| 6534 | 6440 |
| 6535 // WARNING: Do not edit - generated code. | 6441 // WARNING: Do not edit - generated code. |
| 6536 | 6442 |
| 6537 | 6443 |
| 6538 @DocsEditable | 6444 @DocsEditable |
| 6539 @DomName('SVGDocument') | 6445 @DomName('SVGDocument') |
| (...skipping 1758 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8298 | 8204 |
| 8299 // WARNING: Do not edit - generated code. | 8205 // WARNING: Do not edit - generated code. |
| 8300 | 8206 |
| 8301 | 8207 |
| 8302 @DocsEditable | 8208 @DocsEditable |
| 8303 @DomName('SVGAnimateColorElement') | 8209 @DomName('SVGAnimateColorElement') |
| 8304 class _SVGAnimateColorElement extends AnimationElement { | 8210 class _SVGAnimateColorElement extends AnimationElement { |
| 8305 _SVGAnimateColorElement.internal() : super.internal(); | 8211 _SVGAnimateColorElement.internal() : super.internal(); |
| 8306 | 8212 |
| 8307 } | 8213 } |
| 8214 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| 8215 // for details. All rights reserved. Use of this source code is governed by a |
| 8216 // BSD-style license that can be found in the LICENSE file. |
| 8217 |
| 8218 |
| 8219 // Hack because the baseclass is private in dart:html, and we want to omit this |
| 8220 // type entirely but can't. |
| 8221 @DocsEditable |
| 8222 @DomName('SVGColor') |
| 8223 class _SVGColor { |
| 8224 _SVGColor.internal() : super.internal(); |
| 8225 |
| 8226 static const int SVG_COLORTYPE_CURRENTCOLOR = 3; |
| 8227 |
| 8228 static const int SVG_COLORTYPE_RGBCOLOR = 1; |
| 8229 |
| 8230 static const int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2; |
| 8231 |
| 8232 static const int SVG_COLORTYPE_UNKNOWN = 0; |
| 8233 |
| 8234 @DomName('SVGColor.colorType') |
| 8235 @DocsEditable |
| 8236 int get colorType native "SVGColor_colorType_Getter"; |
| 8237 |
| 8238 @DomName('SVGColor.rgbColor') |
| 8239 @DocsEditable |
| 8240 _RGBColor get rgbColor native "SVGColor_rgbColor_Getter"; |
| 8241 |
| 8242 @DomName('SVGColor.setColor') |
| 8243 @DocsEditable |
| 8244 void setColor(int colorType, String rgbColor, String iccColor) native "SVGColo
r_setColor_Callback"; |
| 8245 |
| 8246 @DomName('SVGColor.setRGBColor') |
| 8247 @DocsEditable |
| 8248 void setRgbColor(String rgbColor) native "SVGColor_setRGBColor_Callback"; |
| 8249 |
| 8250 @DomName('SVGColor.setRGBColorICCColor') |
| 8251 @DocsEditable |
| 8252 void setRgbColorIccColor(String rgbColor, String iccColor) native "SVGColor_se
tRGBColorICCColor_Callback"; |
| 8253 } |
| 8308 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8254 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8309 // for details. All rights reserved. Use of this source code is governed by a | 8255 // for details. All rights reserved. Use of this source code is governed by a |
| 8310 // BSD-style license that can be found in the LICENSE file. | 8256 // BSD-style license that can be found in the LICENSE file. |
| 8311 | 8257 |
| 8312 // WARNING: Do not edit - generated code. | 8258 // WARNING: Do not edit - generated code. |
| 8313 | 8259 |
| 8314 | 8260 |
| 8315 @DocsEditable | 8261 @DocsEditable |
| 8316 @DomName('SVGComponentTransferFunctionElement') | 8262 @DomName('SVGComponentTransferFunctionElement') |
| 8317 class _SVGComponentTransferFunctionElement extends SvgElement { | 8263 class _SVGComponentTransferFunctionElement extends SvgElement { |
| (...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8724 | 8670 |
| 8725 } | 8671 } |
| 8726 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 8672 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8727 // for details. All rights reserved. Use of this source code is governed by a | 8673 // for details. All rights reserved. Use of this source code is governed by a |
| 8728 // BSD-style license that can be found in the LICENSE file. | 8674 // BSD-style license that can be found in the LICENSE file. |
| 8729 | 8675 |
| 8730 // WARNING: Do not edit - generated code. | 8676 // WARNING: Do not edit - generated code. |
| 8731 | 8677 |
| 8732 | 8678 |
| 8733 @DocsEditable | 8679 @DocsEditable |
| 8680 @DomName('SVGPaint') |
| 8681 class _SVGPaint extends _SVGColor { |
| 8682 _SVGPaint.internal() : super.internal(); |
| 8683 |
| 8684 static const int SVG_PAINTTYPE_CURRENTCOLOR = 102; |
| 8685 |
| 8686 static const int SVG_PAINTTYPE_NONE = 101; |
| 8687 |
| 8688 static const int SVG_PAINTTYPE_RGBCOLOR = 1; |
| 8689 |
| 8690 static const int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2; |
| 8691 |
| 8692 static const int SVG_PAINTTYPE_UNKNOWN = 0; |
| 8693 |
| 8694 static const int SVG_PAINTTYPE_URI = 107; |
| 8695 |
| 8696 static const int SVG_PAINTTYPE_URI_CURRENTCOLOR = 104; |
| 8697 |
| 8698 static const int SVG_PAINTTYPE_URI_NONE = 103; |
| 8699 |
| 8700 static const int SVG_PAINTTYPE_URI_RGBCOLOR = 105; |
| 8701 |
| 8702 static const int SVG_PAINTTYPE_URI_RGBCOLOR_ICCCOLOR = 106; |
| 8703 |
| 8704 @DomName('SVGPaint.paintType') |
| 8705 @DocsEditable |
| 8706 int get paintType native "SVGPaint_paintType_Getter"; |
| 8707 |
| 8708 @DomName('SVGPaint.uri') |
| 8709 @DocsEditable |
| 8710 String get uri native "SVGPaint_uri_Getter"; |
| 8711 |
| 8712 @DomName('SVGPaint.setPaint') |
| 8713 @DocsEditable |
| 8714 void setPaint(int paintType, String uri, String rgbColor, String iccColor) nat
ive "SVGPaint_setPaint_Callback"; |
| 8715 |
| 8716 @DomName('SVGPaint.setUri') |
| 8717 @DocsEditable |
| 8718 void setUri(String uri) native "SVGPaint_setUri_Callback"; |
| 8719 |
| 8720 } |
| 8721 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 8722 // for details. All rights reserved. Use of this source code is governed by a |
| 8723 // BSD-style license that can be found in the LICENSE file. |
| 8724 |
| 8725 // WARNING: Do not edit - generated code. |
| 8726 |
| 8727 |
| 8728 @DocsEditable |
| 8734 @DomName('SVGTRefElement') | 8729 @DomName('SVGTRefElement') |
| 8735 class _SVGTRefElement extends TextPositioningElement implements UriReference { | 8730 class _SVGTRefElement extends TextPositioningElement implements UriReference { |
| 8736 _SVGTRefElement.internal() : super.internal(); | 8731 _SVGTRefElement.internal() : super.internal(); |
| 8737 | 8732 |
| 8738 @DomName('SVGTRefElement.SVGTRefElement') | 8733 @DomName('SVGTRefElement.SVGTRefElement') |
| 8739 @DocsEditable | 8734 @DocsEditable |
| 8740 factory _SVGTRefElement() => _SvgElementFactoryProvider.createSvgElement_tag("
tref"); | 8735 factory _SVGTRefElement() => _SvgElementFactoryProvider.createSvgElement_tag("
tref"); |
| 8741 | 8736 |
| 8742 @DomName('SVGTRefElement.href') | 8737 @DomName('SVGTRefElement.href') |
| 8743 @DocsEditable | 8738 @DocsEditable |
| (...skipping 10 matching lines...) Expand all Loading... |
| 8754 @DocsEditable | 8749 @DocsEditable |
| 8755 @DomName('SVGVKernElement') | 8750 @DomName('SVGVKernElement') |
| 8756 class _SVGVKernElement extends SvgElement { | 8751 class _SVGVKernElement extends SvgElement { |
| 8757 _SVGVKernElement.internal() : super.internal(); | 8752 _SVGVKernElement.internal() : super.internal(); |
| 8758 | 8753 |
| 8759 @DomName('SVGVKernElement.SVGVKernElement') | 8754 @DomName('SVGVKernElement.SVGVKernElement') |
| 8760 @DocsEditable | 8755 @DocsEditable |
| 8761 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); | 8756 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"vkern"); |
| 8762 | 8757 |
| 8763 } | 8758 } |
| OLD | NEW |