Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: sdk/lib/svg/dart2js/svg_dart2js.dart

Issue 12038036: SVG Library cleanups and adding supported tag. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 library svg; 1 library svg;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:collection-dev'; 5 import 'dart:collection-dev';
6 import 'dart:html'; 6 import 'dart:html';
7 import 'dart:html_common'; 7 import 'dart:html_common';
8 // DO NOT EDIT 8 // DO NOT EDIT
9 // Auto-generated dart:svg library. 9 // Auto-generated dart:svg library.
10 10
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
153 @DomName('SVGAElement.href') 153 @DomName('SVGAElement.href')
154 @DocsEditable 154 @DocsEditable
155 final AnimatedString href; 155 final AnimatedString href;
156 } 156 }
157 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 157 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
158 // for details. All rights reserved. Use of this source code is governed by a 158 // for details. All rights reserved. Use of this source code is governed by a
159 // BSD-style license that can be found in the LICENSE file. 159 // BSD-style license that can be found in the LICENSE file.
160 160
161 161
162 @DocsEditable 162 @DocsEditable
163 @DomName('SVGAltGlyphDefElement')
164 class AltGlyphDefElement extends SvgElement native "*SVGAltGlyphDefElement" {
165 }
166 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
167 // for details. All rights reserved. Use of this source code is governed by a
168 // BSD-style license that can be found in the LICENSE file.
169
170
171 @DocsEditable
172 @DomName('SVGAltGlyphElement') 163 @DomName('SVGAltGlyphElement')
164 @SupportedBrowser(SupportedBrowser.CHROME)
165 @SupportedBrowser(SupportedBrowser.FIREFOX)
166 @SupportedBrowser(SupportedBrowser.SAFARI)
173 class AltGlyphElement extends TextPositioningElement implements UriReference nat ive "*SVGAltGlyphElement" { 167 class AltGlyphElement extends TextPositioningElement implements UriReference nat ive "*SVGAltGlyphElement" {
174 168
169 @DocsEditable
170 factory AltGlyphElement() => _SvgElementFactoryProvider.createSvgElement_tag(" altGlyph");
171
172 /// Checks if this type is supported on the current platform.
173 static bool get supported => SvgElement.isTagSupported('altGlyph') && (new Svg Element.tag('altGlyph') is AltGlyphElement);
174
175 @DomName('SVGAltGlyphElement.format') 175 @DomName('SVGAltGlyphElement.format')
176 @DocsEditable 176 @DocsEditable
177 String format; 177 String format;
178 178
179 @DomName('SVGAltGlyphElement.glyphRef') 179 @DomName('SVGAltGlyphElement.glyphRef')
180 @DocsEditable 180 @DocsEditable
181 String glyphRef; 181 String glyphRef;
182 182
183 // From SVGURIReference 183 // From SVGURIReference
184 184
185 @DomName('SVGAltGlyphElement.href') 185 @DomName('SVGAltGlyphElement.href')
186 @DocsEditable 186 @DocsEditable
187 final AnimatedString href; 187 final AnimatedString href;
188 } 188 }
189 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 189 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
190 // for details. All rights reserved. Use of this source code is governed by a 190 // for details. All rights reserved. Use of this source code is governed by a
191 // BSD-style license that can be found in the LICENSE file. 191 // BSD-style license that can be found in the LICENSE file.
192 192
193 193
194 @DocsEditable 194 @DocsEditable
195 @DomName('SVGAltGlyphItemElement')
196 class AltGlyphItemElement extends SvgElement native "*SVGAltGlyphItemElement" {
197 }
198 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
199 // for details. All rights reserved. Use of this source code is governed by a
200 // BSD-style license that can be found in the LICENSE file.
201
202
203 @DocsEditable
204 @DomName('SVGAngle') 195 @DomName('SVGAngle')
205 class Angle native "*SVGAngle" { 196 class Angle native "*SVGAngle" {
206 197
207 static const int SVG_ANGLETYPE_DEG = 2; 198 static const int SVG_ANGLETYPE_DEG = 2;
208 199
209 static const int SVG_ANGLETYPE_GRAD = 4; 200 static const int SVG_ANGLETYPE_GRAD = 4;
210 201
211 static const int SVG_ANGLETYPE_RAD = 3; 202 static const int SVG_ANGLETYPE_RAD = 3;
212 203
213 static const int SVG_ANGLETYPE_UNKNOWN = 0; 204 static const int SVG_ANGLETYPE_UNKNOWN = 0;
(...skipping 23 matching lines...) Expand all
237 @DomName('SVGAngle.newValueSpecifiedUnits') 228 @DomName('SVGAngle.newValueSpecifiedUnits')
238 @DocsEditable 229 @DocsEditable
239 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; 230 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
240 } 231 }
241 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 232 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
242 // for details. All rights reserved. Use of this source code is governed by a 233 // for details. All rights reserved. Use of this source code is governed by a
243 // BSD-style license that can be found in the LICENSE file. 234 // BSD-style license that can be found in the LICENSE file.
244 235
245 236
246 @DocsEditable 237 @DocsEditable
247 @DomName('SVGAnimateColorElement')
248 class AnimateColorElement extends AnimationElement native "*SVGAnimateColorEleme nt" {
249
250 @DocsEditable
251 factory AnimateColorElement() => _SvgElementFactoryProvider.createSvgElement_t ag("animateColor");
252 }
253 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
254 // for details. All rights reserved. Use of this source code is governed by a
255 // BSD-style license that can be found in the LICENSE file.
256
257
258 @DocsEditable
259 @DomName('SVGAnimateElement') 238 @DomName('SVGAnimateElement')
239 @SupportedBrowser(SupportedBrowser.CHROME)
240 @SupportedBrowser(SupportedBrowser.FIREFOX)
241 @SupportedBrowser(SupportedBrowser.SAFARI)
260 class AnimateElement extends AnimationElement native "*SVGAnimateElement" { 242 class AnimateElement extends AnimationElement native "*SVGAnimateElement" {
261 243
262 @DocsEditable 244 @DocsEditable
263 factory AnimateElement() => _SvgElementFactoryProvider.createSvgElement_tag("a nimate"); 245 factory AnimateElement() => _SvgElementFactoryProvider.createSvgElement_tag("a nimate");
246
247 /// Checks if this type is supported on the current platform.
248 static bool get supported => SvgElement.isTagSupported('animate') && (new SvgE lement.tag('animate') is AnimateElement);
264 } 249 }
265 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 250 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
266 // for details. All rights reserved. Use of this source code is governed by a 251 // for details. All rights reserved. Use of this source code is governed by a
267 // BSD-style license that can be found in the LICENSE file. 252 // BSD-style license that can be found in the LICENSE file.
268 253
269 254
270 @DocsEditable 255 @DocsEditable
271 @DomName('SVGAnimateMotionElement') 256 @DomName('SVGAnimateMotionElement')
257 @SupportedBrowser(SupportedBrowser.CHROME)
258 @SupportedBrowser(SupportedBrowser.FIREFOX)
259 @SupportedBrowser(SupportedBrowser.SAFARI)
272 class AnimateMotionElement extends AnimationElement native "*SVGAnimateMotionEle ment" { 260 class AnimateMotionElement extends AnimationElement native "*SVGAnimateMotionEle ment" {
273 261
274 @DocsEditable 262 @DocsEditable
275 factory AnimateMotionElement() => _SvgElementFactoryProvider.createSvgElement_ tag("animateMotion"); 263 factory AnimateMotionElement() => _SvgElementFactoryProvider.createSvgElement_ tag("animateMotion");
264
265 /// Checks if this type is supported on the current platform.
266 static bool get supported => SvgElement.isTagSupported('animateMotion') && (ne w SvgElement.tag('animateMotion') is AnimateMotionElement);
276 } 267 }
277 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 268 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
278 // for details. All rights reserved. Use of this source code is governed by a 269 // for details. All rights reserved. Use of this source code is governed by a
279 // BSD-style license that can be found in the LICENSE file. 270 // BSD-style license that can be found in the LICENSE file.
280 271
281 272
282 @DocsEditable 273 @DocsEditable
283 @DomName('SVGAnimateTransformElement') 274 @DomName('SVGAnimateTransformElement')
275 @SupportedBrowser(SupportedBrowser.CHROME)
276 @SupportedBrowser(SupportedBrowser.FIREFOX)
277 @SupportedBrowser(SupportedBrowser.SAFARI)
284 class AnimateTransformElement extends AnimationElement native "*SVGAnimateTransf ormElement" { 278 class AnimateTransformElement extends AnimationElement native "*SVGAnimateTransf ormElement" {
285 279
286 @DocsEditable 280 @DocsEditable
287 factory AnimateTransformElement() => _SvgElementFactoryProvider.createSvgEleme nt_tag("animateTransform"); 281 factory AnimateTransformElement() => _SvgElementFactoryProvider.createSvgEleme nt_tag("animateTransform");
282
283 /// Checks if this type is supported on the current platform.
284 static bool get supported => SvgElement.isTagSupported('animateTransform') && (new SvgElement.tag('animateTransform') is AnimateTransformElement);
288 } 285 }
289 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 286 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
290 // for details. All rights reserved. Use of this source code is governed by a 287 // for details. All rights reserved. Use of this source code is governed by a
291 // BSD-style license that can be found in the LICENSE file. 288 // BSD-style license that can be found in the LICENSE file.
292 289
293 290
294 @DocsEditable 291 @DocsEditable
295 @DomName('SVGAnimatedAngle') 292 @DomName('SVGAnimatedAngle')
296 class AnimatedAngle native "*SVGAnimatedAngle" { 293 class AnimatedAngle native "*SVGAnimatedAngle" {
297 294
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after
798 @DomName('SVGColor.setRGBColorICCColor') 795 @DomName('SVGColor.setRGBColorICCColor')
799 @DocsEditable 796 @DocsEditable
800 void setRgbColorIccColor(String rgbColor, String iccColor) native; 797 void setRgbColorIccColor(String rgbColor, String iccColor) native;
801 } 798 }
802 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 799 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
803 // for details. All rights reserved. Use of this source code is governed by a 800 // for details. All rights reserved. Use of this source code is governed by a
804 // BSD-style license that can be found in the LICENSE file. 801 // BSD-style license that can be found in the LICENSE file.
805 802
806 803
807 @DocsEditable 804 @DocsEditable
808 @DomName('SVGComponentTransferFunctionElement')
809 class ComponentTransferFunctionElement extends SvgElement native "*SVGComponentT ransferFunctionElement" {
810
811 static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
812
813 static const int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
814
815 static const int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
816
817 static const int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
818
819 static const int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
820
821 static const int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
822
823 @DomName('SVGComponentTransferFunctionElement.amplitude')
824 @DocsEditable
825 final AnimatedNumber amplitude;
826
827 @DomName('SVGComponentTransferFunctionElement.exponent')
828 @DocsEditable
829 final AnimatedNumber exponent;
830
831 @DomName('SVGComponentTransferFunctionElement.intercept')
832 @DocsEditable
833 final AnimatedNumber intercept;
834
835 @DomName('SVGComponentTransferFunctionElement.offset')
836 @DocsEditable
837 final AnimatedNumber offset;
838
839 @DomName('SVGComponentTransferFunctionElement.slope')
840 @DocsEditable
841 final AnimatedNumber slope;
842
843 @DomName('SVGComponentTransferFunctionElement.tableValues')
844 @DocsEditable
845 final AnimatedNumberList tableValues;
846
847 @DomName('SVGComponentTransferFunctionElement.type')
848 @DocsEditable
849 final AnimatedEnumeration type;
850 }
851 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
852 // for details. All rights reserved. Use of this source code is governed by a
853 // BSD-style license that can be found in the LICENSE file.
854
855
856 @DocsEditable
857 @DomName('SVGCursorElement')
858 class CursorElement extends SvgElement implements UriReference, Tests, ExternalR esourcesRequired native "*SVGCursorElement" {
859
860 @DocsEditable
861 factory CursorElement() => _SvgElementFactoryProvider.createSvgElement_tag("cu rsor");
862
863 @DomName('SVGCursorElement.x')
864 @DocsEditable
865 final AnimatedLength x;
866
867 @DomName('SVGCursorElement.y')
868 @DocsEditable
869 final AnimatedLength y;
870
871 // From SVGExternalResourcesRequired
872
873 @DomName('SVGCursorElement.externalResourcesRequired')
874 @DocsEditable
875 final AnimatedBoolean externalResourcesRequired;
876
877 // From SVGTests
878
879 @DomName('SVGCursorElement.requiredExtensions')
880 @DocsEditable
881 final StringList requiredExtensions;
882
883 @DomName('SVGCursorElement.requiredFeatures')
884 @DocsEditable
885 final StringList requiredFeatures;
886
887 @DomName('SVGCursorElement.systemLanguage')
888 @DocsEditable
889 final StringList systemLanguage;
890
891 @DomName('SVGCursorElement.hasExtension')
892 @DocsEditable
893 bool hasExtension(String extension) native;
894
895 // From SVGURIReference
896
897 @DomName('SVGCursorElement.href')
898 @DocsEditable
899 final AnimatedString href;
900 }
901 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
902 // for details. All rights reserved. Use of this source code is governed by a
903 // BSD-style license that can be found in the LICENSE file.
904
905
906 @DocsEditable
907 @DomName('SVGDefsElement') 805 @DomName('SVGDefsElement')
908 class DefsElement extends SvgElement implements Transformable, Tests, Stylable, ExternalResourcesRequired, LangSpace native "*SVGDefsElement" { 806 class DefsElement extends SvgElement implements Transformable, Tests, Stylable, ExternalResourcesRequired, LangSpace native "*SVGDefsElement" {
909 807
910 @DocsEditable 808 @DocsEditable
911 factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs "); 809 factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs ");
912 810
913 // From SVGExternalResourcesRequired 811 // From SVGExternalResourcesRequired
914 812
915 @DomName('SVGDefsElement.externalResourcesRequired') 813 @DomName('SVGDefsElement.externalResourcesRequired')
916 @DocsEditable 814 @DocsEditable
(...skipping 725 matching lines...) Expand 10 before | Expand all | Expand 10 after
1642 1540
1643 @DomName('SVGEllipseElement.transform') 1541 @DomName('SVGEllipseElement.transform')
1644 @DocsEditable 1542 @DocsEditable
1645 final AnimatedTransformList transform; 1543 final AnimatedTransformList transform;
1646 } 1544 }
1647 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1545 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1648 // for details. All rights reserved. Use of this source code is governed by a 1546 // for details. All rights reserved. Use of this source code is governed by a
1649 // BSD-style license that can be found in the LICENSE file. 1547 // BSD-style license that can be found in the LICENSE file.
1650 1548
1651 1549
1550 @DocsEditable
1652 @DomName('SVGExternalResourcesRequired') 1551 @DomName('SVGExternalResourcesRequired')
1653 abstract class ExternalResourcesRequired { 1552 class ExternalResourcesRequired native "*SVGExternalResourcesRequired" {
1654 1553
1655 AnimatedBoolean externalResourcesRequired; 1554 /// Checks if this type is supported on the current platform.
1555 static bool supported(SVGElement element) => JS('bool', '#.externalResourcesRe quired !== undefined && #.externalResourcesRequired.animVal !== undefined', elem ent, element);
1556
1557 @DomName('SVGExternalResourcesRequired.externalResourcesRequired')
1558 @DocsEditable
1559 final AnimatedBoolean externalResourcesRequired;
1656 } 1560 }
1657 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1561 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1658 // for details. All rights reserved. Use of this source code is governed by a 1562 // for details. All rights reserved. Use of this source code is governed by a
1659 // BSD-style license that can be found in the LICENSE file. 1563 // BSD-style license that can be found in the LICENSE file.
1660 1564
1661 1565
1662 @DocsEditable 1566 @DocsEditable
1663 @DomName('SVGFEBlendElement') 1567 @DomName('SVGFEBlendElement')
1568 @SupportedBrowser(SupportedBrowser.CHROME)
1569 @SupportedBrowser(SupportedBrowser.FIREFOX)
1570 @SupportedBrowser(SupportedBrowser.IE, '10')
1571 @SupportedBrowser(SupportedBrowser.SAFARI)
1664 class FEBlendElement extends SvgElement implements FilterPrimitiveStandardAttrib utes native "*SVGFEBlendElement" { 1572 class FEBlendElement extends SvgElement implements FilterPrimitiveStandardAttrib utes native "*SVGFEBlendElement" {
1665 1573
1574 @DocsEditable
1575 factory FEBlendElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eBlend");
1576
1577 /// Checks if this type is supported on the current platform.
1578 static bool get supported => SvgElement.isTagSupported('feBlend') && (new SvgE lement.tag('feBlend') is FEBlendElement);
1579
1666 static const int SVG_FEBLEND_MODE_DARKEN = 4; 1580 static const int SVG_FEBLEND_MODE_DARKEN = 4;
1667 1581
1668 static const int SVG_FEBLEND_MODE_LIGHTEN = 5; 1582 static const int SVG_FEBLEND_MODE_LIGHTEN = 5;
1669 1583
1670 static const int SVG_FEBLEND_MODE_MULTIPLY = 2; 1584 static const int SVG_FEBLEND_MODE_MULTIPLY = 2;
1671 1585
1672 static const int SVG_FEBLEND_MODE_NORMAL = 1; 1586 static const int SVG_FEBLEND_MODE_NORMAL = 1;
1673 1587
1674 static const int SVG_FEBLEND_MODE_SCREEN = 3; 1588 static const int SVG_FEBLEND_MODE_SCREEN = 3;
1675 1589
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
1721 @DocsEditable 1635 @DocsEditable
1722 CssValue getPresentationAttribute(String name) native; 1636 CssValue getPresentationAttribute(String name) native;
1723 } 1637 }
1724 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1638 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1725 // for details. All rights reserved. Use of this source code is governed by a 1639 // for details. All rights reserved. Use of this source code is governed by a
1726 // BSD-style license that can be found in the LICENSE file. 1640 // BSD-style license that can be found in the LICENSE file.
1727 1641
1728 1642
1729 @DocsEditable 1643 @DocsEditable
1730 @DomName('SVGFEColorMatrixElement') 1644 @DomName('SVGFEColorMatrixElement')
1645 @SupportedBrowser(SupportedBrowser.CHROME)
1646 @SupportedBrowser(SupportedBrowser.FIREFOX)
1647 @SupportedBrowser(SupportedBrowser.IE, '10')
1648 @SupportedBrowser(SupportedBrowser.SAFARI)
1731 class FEColorMatrixElement extends SvgElement implements FilterPrimitiveStandard Attributes native "*SVGFEColorMatrixElement" { 1649 class FEColorMatrixElement extends SvgElement implements FilterPrimitiveStandard Attributes native "*SVGFEColorMatrixElement" {
1732 1650
1651 @DocsEditable
1652 factory FEColorMatrixElement() => _SvgElementFactoryProvider.createSvgElement_ tag("feColorMatrix");
1653
1654 /// Checks if this type is supported on the current platform.
1655 static bool get supported => SvgElement.isTagSupported('feColorMatrix') && (ne w SvgElement.tag('feColorMatrix') is FEColorMatrixElement);
1656
1733 static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3; 1657 static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
1734 1658
1735 static const int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4; 1659 static const int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
1736 1660
1737 static const int SVG_FECOLORMATRIX_TYPE_MATRIX = 1; 1661 static const int SVG_FECOLORMATRIX_TYPE_MATRIX = 1;
1738 1662
1739 static const int SVG_FECOLORMATRIX_TYPE_SATURATE = 2; 1663 static const int SVG_FECOLORMATRIX_TYPE_SATURATE = 2;
1740 1664
1741 static const int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0; 1665 static const int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0;
1742 1666
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
1786 @DocsEditable 1710 @DocsEditable
1787 CssValue getPresentationAttribute(String name) native; 1711 CssValue getPresentationAttribute(String name) native;
1788 } 1712 }
1789 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1713 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1790 // for details. All rights reserved. Use of this source code is governed by a 1714 // for details. All rights reserved. Use of this source code is governed by a
1791 // BSD-style license that can be found in the LICENSE file. 1715 // BSD-style license that can be found in the LICENSE file.
1792 1716
1793 1717
1794 @DocsEditable 1718 @DocsEditable
1795 @DomName('SVGFEComponentTransferElement') 1719 @DomName('SVGFEComponentTransferElement')
1720 @SupportedBrowser(SupportedBrowser.CHROME)
1721 @SupportedBrowser(SupportedBrowser.FIREFOX)
1722 @SupportedBrowser(SupportedBrowser.IE, '10')
1723 @SupportedBrowser(SupportedBrowser.SAFARI)
1796 class FEComponentTransferElement extends SvgElement implements FilterPrimitiveSt andardAttributes native "*SVGFEComponentTransferElement" { 1724 class FEComponentTransferElement extends SvgElement implements FilterPrimitiveSt andardAttributes native "*SVGFEComponentTransferElement" {
1797 1725
1726 @DocsEditable
1727 factory FEComponentTransferElement() => _SvgElementFactoryProvider.createSvgEl ement_tag("feComponentTransfer");
1728
1729 /// Checks if this type is supported on the current platform.
1730 static bool get supported => SvgElement.isTagSupported('feComponentTransfer') && (new SvgElement.tag('feComponentTransfer') is FEComponentTransferElement);
1731
1798 @DomName('SVGFEComponentTransferElement.in1') 1732 @DomName('SVGFEComponentTransferElement.in1')
1799 @DocsEditable 1733 @DocsEditable
1800 final AnimatedString in1; 1734 final AnimatedString in1;
1801 1735
1802 // From SVGFilterPrimitiveStandardAttributes 1736 // From SVGFilterPrimitiveStandardAttributes
1803 1737
1804 @DomName('SVGFEComponentTransferElement.height') 1738 @DomName('SVGFEComponentTransferElement.height')
1805 @DocsEditable 1739 @DocsEditable
1806 final AnimatedLength height; 1740 final AnimatedLength height;
1807 1741
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
1918 @DocsEditable 1852 @DocsEditable
1919 CssValue getPresentationAttribute(String name) native; 1853 CssValue getPresentationAttribute(String name) native;
1920 } 1854 }
1921 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1855 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1922 // for details. All rights reserved. Use of this source code is governed by a 1856 // for details. All rights reserved. Use of this source code is governed by a
1923 // BSD-style license that can be found in the LICENSE file. 1857 // BSD-style license that can be found in the LICENSE file.
1924 1858
1925 1859
1926 @DocsEditable 1860 @DocsEditable
1927 @DomName('SVGFEConvolveMatrixElement') 1861 @DomName('SVGFEConvolveMatrixElement')
1862 @SupportedBrowser(SupportedBrowser.CHROME)
1863 @SupportedBrowser(SupportedBrowser.FIREFOX)
1864 @SupportedBrowser(SupportedBrowser.IE, '10')
1865 @SupportedBrowser(SupportedBrowser.SAFARI)
1928 class FEConvolveMatrixElement extends SvgElement implements FilterPrimitiveStand ardAttributes native "*SVGFEConvolveMatrixElement" { 1866 class FEConvolveMatrixElement extends SvgElement implements FilterPrimitiveStand ardAttributes native "*SVGFEConvolveMatrixElement" {
1929 1867
1868 @DocsEditable
1869 factory FEConvolveMatrixElement() => _SvgElementFactoryProvider.createSvgEleme nt_tag("feConvolveMatrix");
1870
1871 /// Checks if this type is supported on the current platform.
1872 static bool get supported => SvgElement.isTagSupported('feConvolveMatrix') && (new SvgElement.tag('feConvolveMatrix') is FEConvolveMatrixElement);
1873
1930 static const int SVG_EDGEMODE_DUPLICATE = 1; 1874 static const int SVG_EDGEMODE_DUPLICATE = 1;
1931 1875
1932 static const int SVG_EDGEMODE_NONE = 3; 1876 static const int SVG_EDGEMODE_NONE = 3;
1933 1877
1934 static const int SVG_EDGEMODE_UNKNOWN = 0; 1878 static const int SVG_EDGEMODE_UNKNOWN = 0;
1935 1879
1936 static const int SVG_EDGEMODE_WRAP = 2; 1880 static const int SVG_EDGEMODE_WRAP = 2;
1937 1881
1938 @DomName('SVGFEConvolveMatrixElement.bias') 1882 @DomName('SVGFEConvolveMatrixElement.bias')
1939 @DocsEditable 1883 @DocsEditable
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
2017 @DocsEditable 1961 @DocsEditable
2018 CssValue getPresentationAttribute(String name) native; 1962 CssValue getPresentationAttribute(String name) native;
2019 } 1963 }
2020 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1964 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2021 // for details. All rights reserved. Use of this source code is governed by a 1965 // for details. All rights reserved. Use of this source code is governed by a
2022 // BSD-style license that can be found in the LICENSE file. 1966 // BSD-style license that can be found in the LICENSE file.
2023 1967
2024 1968
2025 @DocsEditable 1969 @DocsEditable
2026 @DomName('SVGFEDiffuseLightingElement') 1970 @DomName('SVGFEDiffuseLightingElement')
1971 @SupportedBrowser(SupportedBrowser.CHROME)
1972 @SupportedBrowser(SupportedBrowser.FIREFOX)
1973 @SupportedBrowser(SupportedBrowser.IE, '10')
1974 @SupportedBrowser(SupportedBrowser.SAFARI)
2027 class FEDiffuseLightingElement extends SvgElement implements FilterPrimitiveStan dardAttributes native "*SVGFEDiffuseLightingElement" { 1975 class FEDiffuseLightingElement extends SvgElement implements FilterPrimitiveStan dardAttributes native "*SVGFEDiffuseLightingElement" {
2028 1976
1977 @DocsEditable
1978 factory FEDiffuseLightingElement() => _SvgElementFactoryProvider.createSvgElem ent_tag("feDiffuseLighting");
1979
1980 /// Checks if this type is supported on the current platform.
1981 static bool get supported => SvgElement.isTagSupported('feDiffuseLighting') && (new SvgElement.tag('feDiffuseLighting') is FEDiffuseLightingElement);
1982
2029 @DomName('SVGFEDiffuseLightingElement.diffuseConstant') 1983 @DomName('SVGFEDiffuseLightingElement.diffuseConstant')
2030 @DocsEditable 1984 @DocsEditable
2031 final AnimatedNumber diffuseConstant; 1985 final AnimatedNumber diffuseConstant;
2032 1986
2033 @DomName('SVGFEDiffuseLightingElement.in1') 1987 @DomName('SVGFEDiffuseLightingElement.in1')
2034 @DocsEditable 1988 @DocsEditable
2035 final AnimatedString in1; 1989 final AnimatedString in1;
2036 1990
2037 @DomName('SVGFEDiffuseLightingElement.kernelUnitLengthX') 1991 @DomName('SVGFEDiffuseLightingElement.kernelUnitLengthX')
2038 @DocsEditable 1992 @DocsEditable
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
2080 @DocsEditable 2034 @DocsEditable
2081 CssValue getPresentationAttribute(String name) native; 2035 CssValue getPresentationAttribute(String name) native;
2082 } 2036 }
2083 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2037 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2084 // for details. All rights reserved. Use of this source code is governed by a 2038 // for details. All rights reserved. Use of this source code is governed by a
2085 // BSD-style license that can be found in the LICENSE file. 2039 // BSD-style license that can be found in the LICENSE file.
2086 2040
2087 2041
2088 @DocsEditable 2042 @DocsEditable
2089 @DomName('SVGFEDisplacementMapElement') 2043 @DomName('SVGFEDisplacementMapElement')
2044 @SupportedBrowser(SupportedBrowser.CHROME)
2045 @SupportedBrowser(SupportedBrowser.FIREFOX)
2046 @SupportedBrowser(SupportedBrowser.IE, '10')
2047 @SupportedBrowser(SupportedBrowser.SAFARI)
2090 class FEDisplacementMapElement extends SvgElement implements FilterPrimitiveStan dardAttributes native "*SVGFEDisplacementMapElement" { 2048 class FEDisplacementMapElement extends SvgElement implements FilterPrimitiveStan dardAttributes native "*SVGFEDisplacementMapElement" {
2091 2049
2050 @DocsEditable
2051 factory FEDisplacementMapElement() => _SvgElementFactoryProvider.createSvgElem ent_tag("feDisplacementMap");
2052
2053 /// Checks if this type is supported on the current platform.
2054 static bool get supported => SvgElement.isTagSupported('feDisplacementMap') && (new SvgElement.tag('feDisplacementMap') is FEDisplacementMapElement);
2055
2092 static const int SVG_CHANNEL_A = 4; 2056 static const int SVG_CHANNEL_A = 4;
2093 2057
2094 static const int SVG_CHANNEL_B = 3; 2058 static const int SVG_CHANNEL_B = 3;
2095 2059
2096 static const int SVG_CHANNEL_G = 2; 2060 static const int SVG_CHANNEL_G = 2;
2097 2061
2098 static const int SVG_CHANNEL_R = 1; 2062 static const int SVG_CHANNEL_R = 1;
2099 2063
2100 static const int SVG_CHANNEL_UNKNOWN = 0; 2064 static const int SVG_CHANNEL_UNKNOWN = 0;
2101 2065
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
2153 @DocsEditable 2117 @DocsEditable
2154 CssValue getPresentationAttribute(String name) native; 2118 CssValue getPresentationAttribute(String name) native;
2155 } 2119 }
2156 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2120 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2157 // for details. All rights reserved. Use of this source code is governed by a 2121 // for details. All rights reserved. Use of this source code is governed by a
2158 // BSD-style license that can be found in the LICENSE file. 2122 // BSD-style license that can be found in the LICENSE file.
2159 2123
2160 2124
2161 @DocsEditable 2125 @DocsEditable
2162 @DomName('SVGFEDistantLightElement') 2126 @DomName('SVGFEDistantLightElement')
2127 @SupportedBrowser(SupportedBrowser.CHROME)
2128 @SupportedBrowser(SupportedBrowser.FIREFOX)
2129 @SupportedBrowser(SupportedBrowser.IE, '10')
2130 @SupportedBrowser(SupportedBrowser.SAFARI)
2163 class FEDistantLightElement extends SvgElement native "*SVGFEDistantLightElement " { 2131 class FEDistantLightElement extends SvgElement native "*SVGFEDistantLightElement " {
2164 2132
2133 @DocsEditable
2134 factory FEDistantLightElement() => _SvgElementFactoryProvider.createSvgElement _tag("feDistantLight");
2135
2136 /// Checks if this type is supported on the current platform.
2137 static bool get supported => SvgElement.isTagSupported('feDistantLight') && (n ew SvgElement.tag('feDistantLight') is FEDistantLightElement);
2138
2165 @DomName('SVGFEDistantLightElement.azimuth') 2139 @DomName('SVGFEDistantLightElement.azimuth')
2166 @DocsEditable 2140 @DocsEditable
2167 final AnimatedNumber azimuth; 2141 final AnimatedNumber azimuth;
2168 2142
2169 @DomName('SVGFEDistantLightElement.elevation') 2143 @DomName('SVGFEDistantLightElement.elevation')
2170 @DocsEditable 2144 @DocsEditable
2171 final AnimatedNumber elevation; 2145 final AnimatedNumber elevation;
2172 } 2146 }
2173 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2147 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2174 // for details. All rights reserved. Use of this source code is governed by a 2148 // for details. All rights reserved. Use of this source code is governed by a
2175 // BSD-style license that can be found in the LICENSE file. 2149 // BSD-style license that can be found in the LICENSE file.
2176 2150
2177 2151
2178 @DocsEditable 2152 @DocsEditable
2179 @DomName('SVGFEDropShadowElement')
2180 class FEDropShadowElement extends SvgElement implements FilterPrimitiveStandardA ttributes native "*SVGFEDropShadowElement" {
2181
2182 @DomName('SVGFEDropShadowElement.dx')
2183 @DocsEditable
2184 final AnimatedNumber dx;
2185
2186 @DomName('SVGFEDropShadowElement.dy')
2187 @DocsEditable
2188 final AnimatedNumber dy;
2189
2190 @DomName('SVGFEDropShadowElement.in1')
2191 @DocsEditable
2192 final AnimatedString in1;
2193
2194 @DomName('SVGFEDropShadowElement.stdDeviationX')
2195 @DocsEditable
2196 final AnimatedNumber stdDeviationX;
2197
2198 @DomName('SVGFEDropShadowElement.stdDeviationY')
2199 @DocsEditable
2200 final AnimatedNumber stdDeviationY;
2201
2202 @DomName('SVGFEDropShadowElement.setStdDeviation')
2203 @DocsEditable
2204 void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
2205
2206 // From SVGFilterPrimitiveStandardAttributes
2207
2208 @DomName('SVGFEDropShadowElement.height')
2209 @DocsEditable
2210 final AnimatedLength height;
2211
2212 @DomName('SVGFEDropShadowElement.result')
2213 @DocsEditable
2214 final AnimatedString result;
2215
2216 @DomName('SVGFEDropShadowElement.width')
2217 @DocsEditable
2218 final AnimatedLength width;
2219
2220 @DomName('SVGFEDropShadowElement.x')
2221 @DocsEditable
2222 final AnimatedLength x;
2223
2224 @DomName('SVGFEDropShadowElement.y')
2225 @DocsEditable
2226 final AnimatedLength y;
2227
2228 // From SVGStylable
2229
2230 // Shadowing definition.
2231 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th is);
2232
2233 // Use implementation from Element.
2234 // final CssStyleDeclaration style;
2235
2236 @DomName('SVGFEDropShadowElement.getPresentationAttribute')
2237 @DocsEditable
2238 CssValue getPresentationAttribute(String name) native;
2239 }
2240 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2241 // for details. All rights reserved. Use of this source code is governed by a
2242 // BSD-style license that can be found in the LICENSE file.
2243
2244
2245 @DocsEditable
2246 @DomName('SVGFEFloodElement') 2153 @DomName('SVGFEFloodElement')
2154 @SupportedBrowser(SupportedBrowser.CHROME)
2155 @SupportedBrowser(SupportedBrowser.FIREFOX)
2156 @SupportedBrowser(SupportedBrowser.IE, '10')
2157 @SupportedBrowser(SupportedBrowser.SAFARI)
2247 class FEFloodElement extends SvgElement implements FilterPrimitiveStandardAttrib utes native "*SVGFEFloodElement" { 2158 class FEFloodElement extends SvgElement implements FilterPrimitiveStandardAttrib utes native "*SVGFEFloodElement" {
2248 2159
2160 @DocsEditable
2161 factory FEFloodElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eFlood");
2162
2163 /// Checks if this type is supported on the current platform.
2164 static bool get supported => SvgElement.isTagSupported('feFlood') && (new SvgE lement.tag('feFlood') is FEFloodElement);
2165
2249 // From SVGFilterPrimitiveStandardAttributes 2166 // From SVGFilterPrimitiveStandardAttributes
2250 2167
2251 @DomName('SVGFEFloodElement.height') 2168 @DomName('SVGFEFloodElement.height')
2252 @DocsEditable 2169 @DocsEditable
2253 final AnimatedLength height; 2170 final AnimatedLength height;
2254 2171
2255 @DomName('SVGFEFloodElement.result') 2172 @DomName('SVGFEFloodElement.result')
2256 @DocsEditable 2173 @DocsEditable
2257 final AnimatedString result; 2174 final AnimatedString result;
2258 2175
(...skipping 21 matching lines...) Expand all
2280 @DocsEditable 2197 @DocsEditable
2281 CssValue getPresentationAttribute(String name) native; 2198 CssValue getPresentationAttribute(String name) native;
2282 } 2199 }
2283 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2200 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2284 // for details. All rights reserved. Use of this source code is governed by a 2201 // for details. All rights reserved. Use of this source code is governed by a
2285 // BSD-style license that can be found in the LICENSE file. 2202 // BSD-style license that can be found in the LICENSE file.
2286 2203
2287 2204
2288 @DocsEditable 2205 @DocsEditable
2289 @DomName('SVGFEFuncAElement') 2206 @DomName('SVGFEFuncAElement')
2290 class FEFuncAElement extends ComponentTransferFunctionElement native "*SVGFEFunc AElement" { 2207 @SupportedBrowser(SupportedBrowser.CHROME)
2208 @SupportedBrowser(SupportedBrowser.FIREFOX)
2209 @SupportedBrowser(SupportedBrowser.IE, '10')
2210 @SupportedBrowser(SupportedBrowser.SAFARI)
2211 class FEFuncAElement extends _SVGComponentTransferFunctionElement native "*SVGFE FuncAElement" {
2212
2213 @DocsEditable
2214 factory FEFuncAElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eFuncA");
2215
2216 /// Checks if this type is supported on the current platform.
2217 static bool get supported => SvgElement.isTagSupported('feFuncA') && (new SvgE lement.tag('feFuncA') is FEFuncAElement);
2291 } 2218 }
2292 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2219 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2293 // for details. All rights reserved. Use of this source code is governed by a 2220 // for details. All rights reserved. Use of this source code is governed by a
2294 // BSD-style license that can be found in the LICENSE file. 2221 // BSD-style license that can be found in the LICENSE file.
2295 2222
2296 2223
2297 @DocsEditable 2224 @DocsEditable
2298 @DomName('SVGFEFuncBElement') 2225 @DomName('SVGFEFuncBElement')
2299 class FEFuncBElement extends ComponentTransferFunctionElement native "*SVGFEFunc BElement" { 2226 @SupportedBrowser(SupportedBrowser.CHROME)
2227 @SupportedBrowser(SupportedBrowser.FIREFOX)
2228 @SupportedBrowser(SupportedBrowser.IE, '10')
2229 @SupportedBrowser(SupportedBrowser.SAFARI)
2230 class FEFuncBElement extends _SVGComponentTransferFunctionElement native "*SVGFE FuncBElement" {
2231
2232 @DocsEditable
2233 factory FEFuncBElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eFuncB");
2234
2235 /// Checks if this type is supported on the current platform.
2236 static bool get supported => SvgElement.isTagSupported('feFuncB') && (new SvgE lement.tag('feFuncB') is FEFuncBElement);
2300 } 2237 }
2301 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2238 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2302 // for details. All rights reserved. Use of this source code is governed by a 2239 // for details. All rights reserved. Use of this source code is governed by a
2303 // BSD-style license that can be found in the LICENSE file. 2240 // BSD-style license that can be found in the LICENSE file.
2304 2241
2305 2242
2306 @DocsEditable 2243 @DocsEditable
2307 @DomName('SVGFEFuncGElement') 2244 @DomName('SVGFEFuncGElement')
2308 class FEFuncGElement extends ComponentTransferFunctionElement native "*SVGFEFunc GElement" { 2245 @SupportedBrowser(SupportedBrowser.CHROME)
2246 @SupportedBrowser(SupportedBrowser.FIREFOX)
2247 @SupportedBrowser(SupportedBrowser.IE, '10')
2248 @SupportedBrowser(SupportedBrowser.SAFARI)
2249 class FEFuncGElement extends _SVGComponentTransferFunctionElement native "*SVGFE FuncGElement" {
2250
2251 @DocsEditable
2252 factory FEFuncGElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eFuncG");
2253
2254 /// Checks if this type is supported on the current platform.
2255 static bool get supported => SvgElement.isTagSupported('feFuncG') && (new SvgE lement.tag('feFuncG') is FEFuncGElement);
2309 } 2256 }
2310 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2257 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2311 // for details. All rights reserved. Use of this source code is governed by a 2258 // for details. All rights reserved. Use of this source code is governed by a
2312 // BSD-style license that can be found in the LICENSE file. 2259 // BSD-style license that can be found in the LICENSE file.
2313 2260
2314 2261
2315 @DocsEditable 2262 @DocsEditable
2316 @DomName('SVGFEFuncRElement') 2263 @DomName('SVGFEFuncRElement')
2317 class FEFuncRElement extends ComponentTransferFunctionElement native "*SVGFEFunc RElement" { 2264 @SupportedBrowser(SupportedBrowser.CHROME)
2265 @SupportedBrowser(SupportedBrowser.FIREFOX)
2266 @SupportedBrowser(SupportedBrowser.IE, '10')
2267 @SupportedBrowser(SupportedBrowser.SAFARI)
2268 class FEFuncRElement extends _SVGComponentTransferFunctionElement native "*SVGFE FuncRElement" {
2269
2270 @DocsEditable
2271 factory FEFuncRElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eFuncR");
2272
2273 /// Checks if this type is supported on the current platform.
2274 static bool get supported => SvgElement.isTagSupported('feFuncR') && (new SvgE lement.tag('feFuncR') is FEFuncRElement);
2318 } 2275 }
2319 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2276 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2320 // for details. All rights reserved. Use of this source code is governed by a 2277 // for details. All rights reserved. Use of this source code is governed by a
2321 // BSD-style license that can be found in the LICENSE file. 2278 // BSD-style license that can be found in the LICENSE file.
2322 2279
2323 2280
2324 @DocsEditable 2281 @DocsEditable
2325 @DomName('SVGFEGaussianBlurElement') 2282 @DomName('SVGFEGaussianBlurElement')
2283 @SupportedBrowser(SupportedBrowser.CHROME)
2284 @SupportedBrowser(SupportedBrowser.FIREFOX)
2285 @SupportedBrowser(SupportedBrowser.IE, '10')
2286 @SupportedBrowser(SupportedBrowser.SAFARI)
2326 class FEGaussianBlurElement extends SvgElement implements FilterPrimitiveStandar dAttributes native "*SVGFEGaussianBlurElement" { 2287 class FEGaussianBlurElement extends SvgElement implements FilterPrimitiveStandar dAttributes native "*SVGFEGaussianBlurElement" {
2327 2288
2289 @DocsEditable
2290 factory FEGaussianBlurElement() => _SvgElementFactoryProvider.createSvgElement _tag("feGaussianBlur");
2291
2292 /// Checks if this type is supported on the current platform.
2293 static bool get supported => SvgElement.isTagSupported('feGaussianBlur') && (n ew SvgElement.tag('feGaussianBlur') is FEGaussianBlurElement);
2294
2328 @DomName('SVGFEGaussianBlurElement.in1') 2295 @DomName('SVGFEGaussianBlurElement.in1')
2329 @DocsEditable 2296 @DocsEditable
2330 final AnimatedString in1; 2297 final AnimatedString in1;
2331 2298
2332 @DomName('SVGFEGaussianBlurElement.stdDeviationX') 2299 @DomName('SVGFEGaussianBlurElement.stdDeviationX')
2333 @DocsEditable 2300 @DocsEditable
2334 final AnimatedNumber stdDeviationX; 2301 final AnimatedNumber stdDeviationX;
2335 2302
2336 @DomName('SVGFEGaussianBlurElement.stdDeviationY') 2303 @DomName('SVGFEGaussianBlurElement.stdDeviationY')
2337 @DocsEditable 2304 @DocsEditable
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
2375 @DocsEditable 2342 @DocsEditable
2376 CssValue getPresentationAttribute(String name) native; 2343 CssValue getPresentationAttribute(String name) native;
2377 } 2344 }
2378 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2345 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2379 // for details. All rights reserved. Use of this source code is governed by a 2346 // for details. All rights reserved. Use of this source code is governed by a
2380 // BSD-style license that can be found in the LICENSE file. 2347 // BSD-style license that can be found in the LICENSE file.
2381 2348
2382 2349
2383 @DocsEditable 2350 @DocsEditable
2384 @DomName('SVGFEImageElement') 2351 @DomName('SVGFEImageElement')
2352 @SupportedBrowser(SupportedBrowser.CHROME)
2353 @SupportedBrowser(SupportedBrowser.FIREFOX)
2354 @SupportedBrowser(SupportedBrowser.IE, '10')
2355 @SupportedBrowser(SupportedBrowser.SAFARI)
2385 class FEImageElement extends SvgElement implements FilterPrimitiveStandardAttrib utes, UriReference, ExternalResourcesRequired, LangSpace native "*SVGFEImageElem ent" { 2356 class FEImageElement extends SvgElement implements FilterPrimitiveStandardAttrib utes, UriReference, ExternalResourcesRequired, LangSpace native "*SVGFEImageElem ent" {
2386 2357
2358 @DocsEditable
2359 factory FEImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eImage");
2360
2361 /// Checks if this type is supported on the current platform.
2362 static bool get supported => SvgElement.isTagSupported('feImage') && (new SvgE lement.tag('feImage') is FEImageElement);
2363
2387 @DomName('SVGFEImageElement.preserveAspectRatio') 2364 @DomName('SVGFEImageElement.preserveAspectRatio')
2388 @DocsEditable 2365 @DocsEditable
2389 final AnimatedPreserveAspectRatio preserveAspectRatio; 2366 final AnimatedPreserveAspectRatio preserveAspectRatio;
2390 2367
2391 // From SVGExternalResourcesRequired 2368 // From SVGExternalResourcesRequired
2392 2369
2393 @DomName('SVGFEImageElement.externalResourcesRequired') 2370 @DomName('SVGFEImageElement.externalResourcesRequired')
2394 @DocsEditable 2371 @DocsEditable
2395 final AnimatedBoolean externalResourcesRequired; 2372 final AnimatedBoolean externalResourcesRequired;
2396 2373
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
2444 @DocsEditable 2421 @DocsEditable
2445 final AnimatedString href; 2422 final AnimatedString href;
2446 } 2423 }
2447 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2424 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2448 // for details. All rights reserved. Use of this source code is governed by a 2425 // for details. All rights reserved. Use of this source code is governed by a
2449 // BSD-style license that can be found in the LICENSE file. 2426 // BSD-style license that can be found in the LICENSE file.
2450 2427
2451 2428
2452 @DocsEditable 2429 @DocsEditable
2453 @DomName('SVGFEMergeElement') 2430 @DomName('SVGFEMergeElement')
2431 @SupportedBrowser(SupportedBrowser.CHROME)
2432 @SupportedBrowser(SupportedBrowser.FIREFOX)
2433 @SupportedBrowser(SupportedBrowser.IE, '10')
2434 @SupportedBrowser(SupportedBrowser.SAFARI)
2454 class FEMergeElement extends SvgElement implements FilterPrimitiveStandardAttrib utes native "*SVGFEMergeElement" { 2435 class FEMergeElement extends SvgElement implements FilterPrimitiveStandardAttrib utes native "*SVGFEMergeElement" {
2455 2436
2437 @DocsEditable
2438 factory FEMergeElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eMerge");
2439
2440 /// Checks if this type is supported on the current platform.
2441 static bool get supported => SvgElement.isTagSupported('feMerge') && (new SvgE lement.tag('feMerge') is FEMergeElement);
2442
2456 // From SVGFilterPrimitiveStandardAttributes 2443 // From SVGFilterPrimitiveStandardAttributes
2457 2444
2458 @DomName('SVGFEMergeElement.height') 2445 @DomName('SVGFEMergeElement.height')
2459 @DocsEditable 2446 @DocsEditable
2460 final AnimatedLength height; 2447 final AnimatedLength height;
2461 2448
2462 @DomName('SVGFEMergeElement.result') 2449 @DomName('SVGFEMergeElement.result')
2463 @DocsEditable 2450 @DocsEditable
2464 final AnimatedString result; 2451 final AnimatedString result;
2465 2452
(...skipping 21 matching lines...) Expand all
2487 @DocsEditable 2474 @DocsEditable
2488 CssValue getPresentationAttribute(String name) native; 2475 CssValue getPresentationAttribute(String name) native;
2489 } 2476 }
2490 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2477 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2491 // for details. All rights reserved. Use of this source code is governed by a 2478 // for details. All rights reserved. Use of this source code is governed by a
2492 // BSD-style license that can be found in the LICENSE file. 2479 // BSD-style license that can be found in the LICENSE file.
2493 2480
2494 2481
2495 @DocsEditable 2482 @DocsEditable
2496 @DomName('SVGFEMergeNodeElement') 2483 @DomName('SVGFEMergeNodeElement')
2484 @SupportedBrowser(SupportedBrowser.CHROME)
2485 @SupportedBrowser(SupportedBrowser.FIREFOX)
2486 @SupportedBrowser(SupportedBrowser.IE, '10')
2487 @SupportedBrowser(SupportedBrowser.SAFARI)
2497 class FEMergeNodeElement extends SvgElement native "*SVGFEMergeNodeElement" { 2488 class FEMergeNodeElement extends SvgElement native "*SVGFEMergeNodeElement" {
2498 2489
2490 @DocsEditable
2491 factory FEMergeNodeElement() => _SvgElementFactoryProvider.createSvgElement_ta g("feMergeNode");
2492
2493 /// Checks if this type is supported on the current platform.
2494 static bool get supported => SvgElement.isTagSupported('feMergeNode') && (new SvgElement.tag('feMergeNode') is FEMergeNodeElement);
2495
2499 @DomName('SVGFEMergeNodeElement.in1') 2496 @DomName('SVGFEMergeNodeElement.in1')
2500 @DocsEditable 2497 @DocsEditable
2501 final AnimatedString in1; 2498 final AnimatedString in1;
2502 } 2499 }
2503 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2500 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2504 // for details. All rights reserved. Use of this source code is governed by a 2501 // for details. All rights reserved. Use of this source code is governed by a
2505 // BSD-style license that can be found in the LICENSE file. 2502 // BSD-style license that can be found in the LICENSE file.
2506 2503
2507 2504
2508 @DocsEditable 2505 @DocsEditable
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
2569 @DocsEditable 2566 @DocsEditable
2570 CssValue getPresentationAttribute(String name) native; 2567 CssValue getPresentationAttribute(String name) native;
2571 } 2568 }
2572 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2569 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2573 // for details. All rights reserved. Use of this source code is governed by a 2570 // for details. All rights reserved. Use of this source code is governed by a
2574 // BSD-style license that can be found in the LICENSE file. 2571 // BSD-style license that can be found in the LICENSE file.
2575 2572
2576 2573
2577 @DocsEditable 2574 @DocsEditable
2578 @DomName('SVGFEOffsetElement') 2575 @DomName('SVGFEOffsetElement')
2576 @SupportedBrowser(SupportedBrowser.CHROME)
2577 @SupportedBrowser(SupportedBrowser.FIREFOX)
2578 @SupportedBrowser(SupportedBrowser.IE, '10')
2579 @SupportedBrowser(SupportedBrowser.SAFARI)
2579 class FEOffsetElement extends SvgElement implements FilterPrimitiveStandardAttri butes native "*SVGFEOffsetElement" { 2580 class FEOffsetElement extends SvgElement implements FilterPrimitiveStandardAttri butes native "*SVGFEOffsetElement" {
2580 2581
2582 @DocsEditable
2583 factory FEOffsetElement() => _SvgElementFactoryProvider.createSvgElement_tag(" feOffset");
2584
2585 /// Checks if this type is supported on the current platform.
2586 static bool get supported => SvgElement.isTagSupported('feOffset') && (new Svg Element.tag('feOffset') is FEOffsetElement);
2587
2581 @DomName('SVGFEOffsetElement.dx') 2588 @DomName('SVGFEOffsetElement.dx')
2582 @DocsEditable 2589 @DocsEditable
2583 final AnimatedNumber dx; 2590 final AnimatedNumber dx;
2584 2591
2585 @DomName('SVGFEOffsetElement.dy') 2592 @DomName('SVGFEOffsetElement.dy')
2586 @DocsEditable 2593 @DocsEditable
2587 final AnimatedNumber dy; 2594 final AnimatedNumber dy;
2588 2595
2589 @DomName('SVGFEOffsetElement.in1') 2596 @DomName('SVGFEOffsetElement.in1')
2590 @DocsEditable 2597 @DocsEditable
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
2624 @DocsEditable 2631 @DocsEditable
2625 CssValue getPresentationAttribute(String name) native; 2632 CssValue getPresentationAttribute(String name) native;
2626 } 2633 }
2627 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2634 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2628 // for details. All rights reserved. Use of this source code is governed by a 2635 // for details. All rights reserved. Use of this source code is governed by a
2629 // BSD-style license that can be found in the LICENSE file. 2636 // BSD-style license that can be found in the LICENSE file.
2630 2637
2631 2638
2632 @DocsEditable 2639 @DocsEditable
2633 @DomName('SVGFEPointLightElement') 2640 @DomName('SVGFEPointLightElement')
2641 @SupportedBrowser(SupportedBrowser.CHROME)
2642 @SupportedBrowser(SupportedBrowser.FIREFOX)
2643 @SupportedBrowser(SupportedBrowser.IE, '10')
2644 @SupportedBrowser(SupportedBrowser.SAFARI)
2634 class FEPointLightElement extends SvgElement native "*SVGFEPointLightElement" { 2645 class FEPointLightElement extends SvgElement native "*SVGFEPointLightElement" {
2635 2646
2647 @DocsEditable
2648 factory FEPointLightElement() => _SvgElementFactoryProvider.createSvgElement_t ag("fePointLight");
2649
2650 /// Checks if this type is supported on the current platform.
2651 static bool get supported => SvgElement.isTagSupported('fePointLight') && (new SvgElement.tag('fePointLight') is FEPointLightElement);
2652
2636 @DomName('SVGFEPointLightElement.x') 2653 @DomName('SVGFEPointLightElement.x')
2637 @DocsEditable 2654 @DocsEditable
2638 final AnimatedNumber x; 2655 final AnimatedNumber x;
2639 2656
2640 @DomName('SVGFEPointLightElement.y') 2657 @DomName('SVGFEPointLightElement.y')
2641 @DocsEditable 2658 @DocsEditable
2642 final AnimatedNumber y; 2659 final AnimatedNumber y;
2643 2660
2644 @DomName('SVGFEPointLightElement.z') 2661 @DomName('SVGFEPointLightElement.z')
2645 @DocsEditable 2662 @DocsEditable
2646 final AnimatedNumber z; 2663 final AnimatedNumber z;
2647 } 2664 }
2648 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2649 // for details. All rights reserved. Use of this source code is governed by a 2666 // for details. All rights reserved. Use of this source code is governed by a
2650 // BSD-style license that can be found in the LICENSE file. 2667 // BSD-style license that can be found in the LICENSE file.
2651 2668
2652 2669
2653 @DocsEditable 2670 @DocsEditable
2654 @DomName('SVGFESpecularLightingElement') 2671 @DomName('SVGFESpecularLightingElement')
2672 @SupportedBrowser(SupportedBrowser.CHROME)
2673 @SupportedBrowser(SupportedBrowser.FIREFOX)
2674 @SupportedBrowser(SupportedBrowser.IE, '10')
2675 @SupportedBrowser(SupportedBrowser.SAFARI)
2655 class FESpecularLightingElement extends SvgElement implements FilterPrimitiveSta ndardAttributes native "*SVGFESpecularLightingElement" { 2676 class FESpecularLightingElement extends SvgElement implements FilterPrimitiveSta ndardAttributes native "*SVGFESpecularLightingElement" {
2656 2677
2678 @DocsEditable
2679 factory FESpecularLightingElement() => _SvgElementFactoryProvider.createSvgEle ment_tag("feSpecularLighting");
2680
2681 /// Checks if this type is supported on the current platform.
2682 static bool get supported => SvgElement.isTagSupported('feSpecularLighting') & & (new SvgElement.tag('feSpecularLighting') is FESpecularLightingElement);
2683
2657 @DomName('SVGFESpecularLightingElement.in1') 2684 @DomName('SVGFESpecularLightingElement.in1')
2658 @DocsEditable 2685 @DocsEditable
2659 final AnimatedString in1; 2686 final AnimatedString in1;
2660 2687
2661 @DomName('SVGFESpecularLightingElement.specularConstant') 2688 @DomName('SVGFESpecularLightingElement.specularConstant')
2662 @DocsEditable 2689 @DocsEditable
2663 final AnimatedNumber specularConstant; 2690 final AnimatedNumber specularConstant;
2664 2691
2665 @DomName('SVGFESpecularLightingElement.specularExponent') 2692 @DomName('SVGFESpecularLightingElement.specularExponent')
2666 @DocsEditable 2693 @DocsEditable
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
2704 @DocsEditable 2731 @DocsEditable
2705 CssValue getPresentationAttribute(String name) native; 2732 CssValue getPresentationAttribute(String name) native;
2706 } 2733 }
2707 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2734 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2708 // for details. All rights reserved. Use of this source code is governed by a 2735 // for details. All rights reserved. Use of this source code is governed by a
2709 // BSD-style license that can be found in the LICENSE file. 2736 // BSD-style license that can be found in the LICENSE file.
2710 2737
2711 2738
2712 @DocsEditable 2739 @DocsEditable
2713 @DomName('SVGFESpotLightElement') 2740 @DomName('SVGFESpotLightElement')
2741 @SupportedBrowser(SupportedBrowser.CHROME)
2742 @SupportedBrowser(SupportedBrowser.FIREFOX)
2743 @SupportedBrowser(SupportedBrowser.IE, '10')
2744 @SupportedBrowser(SupportedBrowser.SAFARI)
2714 class FESpotLightElement extends SvgElement native "*SVGFESpotLightElement" { 2745 class FESpotLightElement extends SvgElement native "*SVGFESpotLightElement" {
2715 2746
2747 @DocsEditable
2748 factory FESpotLightElement() => _SvgElementFactoryProvider.createSvgElement_ta g("feSpotLight");
2749
2750 /// Checks if this type is supported on the current platform.
2751 static bool get supported => SvgElement.isTagSupported('feSpotLight') && (new SvgElement.tag('feSpotLight') is FESpotLightElement);
2752
2716 @DomName('SVGFESpotLightElement.limitingConeAngle') 2753 @DomName('SVGFESpotLightElement.limitingConeAngle')
2717 @DocsEditable 2754 @DocsEditable
2718 final AnimatedNumber limitingConeAngle; 2755 final AnimatedNumber limitingConeAngle;
2719 2756
2720 @DomName('SVGFESpotLightElement.pointsAtX') 2757 @DomName('SVGFESpotLightElement.pointsAtX')
2721 @DocsEditable 2758 @DocsEditable
2722 final AnimatedNumber pointsAtX; 2759 final AnimatedNumber pointsAtX;
2723 2760
2724 @DomName('SVGFESpotLightElement.pointsAtY') 2761 @DomName('SVGFESpotLightElement.pointsAtY')
2725 @DocsEditable 2762 @DocsEditable
(...skipping 19 matching lines...) Expand all
2745 @DocsEditable 2782 @DocsEditable
2746 final AnimatedNumber z; 2783 final AnimatedNumber z;
2747 } 2784 }
2748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2785 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2749 // for details. All rights reserved. Use of this source code is governed by a 2786 // for details. All rights reserved. Use of this source code is governed by a
2750 // BSD-style license that can be found in the LICENSE file. 2787 // BSD-style license that can be found in the LICENSE file.
2751 2788
2752 2789
2753 @DocsEditable 2790 @DocsEditable
2754 @DomName('SVGFETileElement') 2791 @DomName('SVGFETileElement')
2792 @SupportedBrowser(SupportedBrowser.CHROME)
2793 @SupportedBrowser(SupportedBrowser.FIREFOX)
2794 @SupportedBrowser(SupportedBrowser.IE, '10')
2795 @SupportedBrowser(SupportedBrowser.SAFARI)
2755 class FETileElement extends SvgElement implements FilterPrimitiveStandardAttribu tes native "*SVGFETileElement" { 2796 class FETileElement extends SvgElement implements FilterPrimitiveStandardAttribu tes native "*SVGFETileElement" {
2756 2797
2798 @DocsEditable
2799 factory FETileElement() => _SvgElementFactoryProvider.createSvgElement_tag("fe Tile");
2800
2801 /// Checks if this type is supported on the current platform.
2802 static bool get supported => SvgElement.isTagSupported('feTile') && (new SvgEl ement.tag('feTile') is FETileElement);
2803
2757 @DomName('SVGFETileElement.in1') 2804 @DomName('SVGFETileElement.in1')
2758 @DocsEditable 2805 @DocsEditable
2759 final AnimatedString in1; 2806 final AnimatedString in1;
2760 2807
2761 // From SVGFilterPrimitiveStandardAttributes 2808 // From SVGFilterPrimitiveStandardAttributes
2762 2809
2763 @DomName('SVGFETileElement.height') 2810 @DomName('SVGFETileElement.height')
2764 @DocsEditable 2811 @DocsEditable
2765 final AnimatedLength height; 2812 final AnimatedLength height;
2766 2813
(...skipping 25 matching lines...) Expand all
2792 @DocsEditable 2839 @DocsEditable
2793 CssValue getPresentationAttribute(String name) native; 2840 CssValue getPresentationAttribute(String name) native;
2794 } 2841 }
2795 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2796 // for details. All rights reserved. Use of this source code is governed by a 2843 // for details. All rights reserved. Use of this source code is governed by a
2797 // BSD-style license that can be found in the LICENSE file. 2844 // BSD-style license that can be found in the LICENSE file.
2798 2845
2799 2846
2800 @DocsEditable 2847 @DocsEditable
2801 @DomName('SVGFETurbulenceElement') 2848 @DomName('SVGFETurbulenceElement')
2849 @SupportedBrowser(SupportedBrowser.CHROME)
2850 @SupportedBrowser(SupportedBrowser.FIREFOX)
2851 @SupportedBrowser(SupportedBrowser.IE, '10')
2852 @SupportedBrowser(SupportedBrowser.SAFARI)
2802 class FETurbulenceElement extends SvgElement implements FilterPrimitiveStandardA ttributes native "*SVGFETurbulenceElement" { 2853 class FETurbulenceElement extends SvgElement implements FilterPrimitiveStandardA ttributes native "*SVGFETurbulenceElement" {
2803 2854
2855 @DocsEditable
2856 factory FETurbulenceElement() => _SvgElementFactoryProvider.createSvgElement_t ag("feTurbulence");
2857
2858 /// Checks if this type is supported on the current platform.
2859 static bool get supported => SvgElement.isTagSupported('feTurbulence') && (new SvgElement.tag('feTurbulence') is FETurbulenceElement);
2860
2804 static const int SVG_STITCHTYPE_NOSTITCH = 2; 2861 static const int SVG_STITCHTYPE_NOSTITCH = 2;
2805 2862
2806 static const int SVG_STITCHTYPE_STITCH = 1; 2863 static const int SVG_STITCHTYPE_STITCH = 1;
2807 2864
2808 static const int SVG_STITCHTYPE_UNKNOWN = 0; 2865 static const int SVG_STITCHTYPE_UNKNOWN = 0;
2809 2866
2810 static const int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1; 2867 static const int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1;
2811 2868
2812 static const int SVG_TURBULENCE_TYPE_TURBULENCE = 2; 2869 static const int SVG_TURBULENCE_TYPE_TURBULENCE = 2;
2813 2870
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
2871 @DocsEditable 2928 @DocsEditable
2872 CssValue getPresentationAttribute(String name) native; 2929 CssValue getPresentationAttribute(String name) native;
2873 } 2930 }
2874 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2931 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2875 // for details. All rights reserved. Use of this source code is governed by a 2932 // for details. All rights reserved. Use of this source code is governed by a
2876 // BSD-style license that can be found in the LICENSE file. 2933 // BSD-style license that can be found in the LICENSE file.
2877 2934
2878 2935
2879 @DocsEditable 2936 @DocsEditable
2880 @DomName('SVGFilterElement') 2937 @DomName('SVGFilterElement')
2938 @SupportedBrowser(SupportedBrowser.CHROME)
2939 @SupportedBrowser(SupportedBrowser.FIREFOX)
2940 @SupportedBrowser(SupportedBrowser.IE, '10')
2941 @SupportedBrowser(SupportedBrowser.SAFARI)
2881 class FilterElement extends SvgElement implements UriReference, ExternalResource sRequired, Stylable, LangSpace native "*SVGFilterElement" { 2942 class FilterElement extends SvgElement implements UriReference, ExternalResource sRequired, Stylable, LangSpace native "*SVGFilterElement" {
2882 2943
2883 @DocsEditable 2944 @DocsEditable
2884 factory FilterElement() => _SvgElementFactoryProvider.createSvgElement_tag("fi lter"); 2945 factory FilterElement() => _SvgElementFactoryProvider.createSvgElement_tag("fi lter");
2885 2946
2947 /// Checks if this type is supported on the current platform.
2948 static bool get supported => SvgElement.isTagSupported('filter') && (new SvgEl ement.tag('filter') is FilterElement);
2949
2886 @DomName('SVGFilterElement.filterResX') 2950 @DomName('SVGFilterElement.filterResX')
2887 @DocsEditable 2951 @DocsEditable
2888 final AnimatedInteger filterResX; 2952 final AnimatedInteger filterResX;
2889 2953
2890 @DomName('SVGFilterElement.filterResY') 2954 @DomName('SVGFilterElement.filterResY')
2891 @DocsEditable 2955 @DocsEditable
2892 final AnimatedInteger filterResY; 2956 final AnimatedInteger filterResY;
2893 2957
2894 @DomName('SVGFilterElement.filterUnits') 2958 @DomName('SVGFilterElement.filterUnits')
2895 @DocsEditable 2959 @DocsEditable
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
2952 @DomName('SVGFilterElement.href') 3016 @DomName('SVGFilterElement.href')
2953 @DocsEditable 3017 @DocsEditable
2954 final AnimatedString href; 3018 final AnimatedString href;
2955 } 3019 }
2956 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3020 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2957 // for details. All rights reserved. Use of this source code is governed by a 3021 // for details. All rights reserved. Use of this source code is governed by a
2958 // BSD-style license that can be found in the LICENSE file. 3022 // BSD-style license that can be found in the LICENSE file.
2959 3023
2960 3024
2961 @DomName('SVGFilterPrimitiveStandardAttributes') 3025 @DomName('SVGFilterPrimitiveStandardAttributes')
2962 abstract class FilterPrimitiveStandardAttributes implements Stylable { 3026 abstract class FilterPrimitiveStandardAttributes extends Stylable {
2963 3027
2964 AnimatedLength height; 3028 AnimatedLength height;
2965 3029
2966 AnimatedString result; 3030 AnimatedString result;
2967 3031
2968 AnimatedLength width; 3032 AnimatedLength width;
2969 3033
2970 AnimatedLength x; 3034 AnimatedLength x;
2971 3035
2972 AnimatedLength y; 3036 AnimatedLength y;
2973
2974 // From SVGStylable
2975
2976 AnimatedString $dom_svgClassName;
2977
2978 CssStyleDeclaration style;
2979
2980 CssValue getPresentationAttribute(String name);
2981 } 3037 }
2982 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3038 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2983 // for details. All rights reserved. Use of this source code is governed by a 3039 // for details. All rights reserved. Use of this source code is governed by a
2984 // BSD-style license that can be found in the LICENSE file. 3040 // BSD-style license that can be found in the LICENSE file.
2985 3041
2986 3042
2987 @DomName('SVGFitToViewBox') 3043 @DomName('SVGFitToViewBox')
2988 abstract class FitToViewBox { 3044 abstract class FitToViewBox {
2989 3045
2990 AnimatedPreserveAspectRatio preserveAspectRatio; 3046 AnimatedPreserveAspectRatio preserveAspectRatio;
2991 3047
2992 AnimatedRect viewBox; 3048 AnimatedRect viewBox;
2993 } 3049 }
2994 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3050 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2995 // for details. All rights reserved. Use of this source code is governed by a 3051 // for details. All rights reserved. Use of this source code is governed by a
2996 // BSD-style license that can be found in the LICENSE file. 3052 // BSD-style license that can be found in the LICENSE file.
2997 3053
2998 3054
2999 @DocsEditable 3055 @DocsEditable
3000 @DomName('SVGFontElement')
3001 class FontElement extends SvgElement native "*SVGFontElement" {
3002
3003 @DocsEditable
3004 factory FontElement() => _SvgElementFactoryProvider.createSvgElement_tag("font ");
3005 }
3006 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3007 // for details. All rights reserved. Use of this source code is governed by a
3008 // BSD-style license that can be found in the LICENSE file.
3009
3010
3011 @DocsEditable
3012 @DomName('SVGFontFaceElement')
3013 class FontFaceElement extends SvgElement native "*SVGFontFaceElement" {
3014
3015 @DocsEditable
3016 factory FontFaceElement() => _SvgElementFactoryProvider.createSvgElement_tag(" font-face");
3017 }
3018 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3019 // for details. All rights reserved. Use of this source code is governed by a
3020 // BSD-style license that can be found in the LICENSE file.
3021
3022
3023 @DocsEditable
3024 @DomName('SVGFontFaceFormatElement')
3025 class FontFaceFormatElement extends SvgElement native "*SVGFontFaceFormatElement " {
3026
3027 @DocsEditable
3028 factory FontFaceFormatElement() => _SvgElementFactoryProvider.createSvgElement _tag("font-face-format");
3029 }
3030 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3031 // for details. All rights reserved. Use of this source code is governed by a
3032 // BSD-style license that can be found in the LICENSE file.
3033
3034
3035 @DocsEditable
3036 @DomName('SVGFontFaceNameElement')
3037 class FontFaceNameElement extends SvgElement native "*SVGFontFaceNameElement" {
3038
3039 @DocsEditable
3040 factory FontFaceNameElement() => _SvgElementFactoryProvider.createSvgElement_t ag("font-face-name");
3041 }
3042 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3043 // for details. All rights reserved. Use of this source code is governed by a
3044 // BSD-style license that can be found in the LICENSE file.
3045
3046
3047 @DocsEditable
3048 @DomName('SVGFontFaceSrcElement')
3049 class FontFaceSrcElement extends SvgElement native "*SVGFontFaceSrcElement" {
3050
3051 @DocsEditable
3052 factory FontFaceSrcElement() => _SvgElementFactoryProvider.createSvgElement_ta g("font-face-src");
3053 }
3054 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3055 // for details. All rights reserved. Use of this source code is governed by a
3056 // BSD-style license that can be found in the LICENSE file.
3057
3058
3059 @DocsEditable
3060 @DomName('SVGFontFaceUriElement')
3061 class FontFaceUriElement extends SvgElement native "*SVGFontFaceUriElement" {
3062
3063 @DocsEditable
3064 factory FontFaceUriElement() => _SvgElementFactoryProvider.createSvgElement_ta g("font-face-uri");
3065 }
3066 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3067 // for details. All rights reserved. Use of this source code is governed by a
3068 // BSD-style license that can be found in the LICENSE file.
3069
3070
3071 @DocsEditable
3072 @DomName('SVGForeignObjectElement') 3056 @DomName('SVGForeignObjectElement')
3057 @SupportedBrowser(SupportedBrowser.CHROME)
3058 @SupportedBrowser(SupportedBrowser.FIREFOX)
3059 @SupportedBrowser(SupportedBrowser.SAFARI)
3073 class ForeignObjectElement extends SvgElement implements Transformable, Tests, S tylable, ExternalResourcesRequired, LangSpace native "*SVGForeignObjectElement" { 3060 class ForeignObjectElement extends SvgElement implements Transformable, Tests, S tylable, ExternalResourcesRequired, LangSpace native "*SVGForeignObjectElement" {
3074 3061
3075 @DocsEditable 3062 @DocsEditable
3076 factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_ tag("foreignObject"); 3063 factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_ tag("foreignObject");
3077 3064
3065 /// Checks if this type is supported on the current platform.
3066 static bool get supported => SvgElement.isTagSupported('foreignObject') && (ne w SvgElement.tag('foreignObject') is ForeignObjectElement);
3067
3078 @DomName('SVGForeignObjectElement.height') 3068 @DomName('SVGForeignObjectElement.height')
3079 @DocsEditable 3069 @DocsEditable
3080 final AnimatedLength height; 3070 final AnimatedLength height;
3081 3071
3082 @DomName('SVGForeignObjectElement.width') 3072 @DomName('SVGForeignObjectElement.width')
3083 @DocsEditable 3073 @DocsEditable
3084 final AnimatedLength width; 3074 final AnimatedLength width;
3085 3075
3086 @DomName('SVGForeignObjectElement.x') 3076 @DomName('SVGForeignObjectElement.x')
3087 @DocsEditable 3077 @DocsEditable
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
3262 @DomName('SVGGElement.transform') 3252 @DomName('SVGGElement.transform')
3263 @DocsEditable 3253 @DocsEditable
3264 final AnimatedTransformList transform; 3254 final AnimatedTransformList transform;
3265 } 3255 }
3266 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3256 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3267 // for details. All rights reserved. Use of this source code is governed by a 3257 // for details. All rights reserved. Use of this source code is governed by a
3268 // BSD-style license that can be found in the LICENSE file. 3258 // BSD-style license that can be found in the LICENSE file.
3269 3259
3270 3260
3271 @DocsEditable 3261 @DocsEditable
3272 @DomName('SVGGlyphElement')
3273 class GlyphElement extends SvgElement native "*SVGGlyphElement" {
3274
3275 @DocsEditable
3276 factory GlyphElement() => _SvgElementFactoryProvider.createSvgElement_tag("gly ph");
3277 }
3278 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3279 // for details. All rights reserved. Use of this source code is governed by a
3280 // BSD-style license that can be found in the LICENSE file.
3281
3282
3283 @DocsEditable
3284 @DomName('SVGGlyphRefElement')
3285 class GlyphRefElement extends SvgElement implements UriReference, Stylable nativ e "*SVGGlyphRefElement" {
3286
3287 @DomName('SVGGlyphRefElement.dx')
3288 @DocsEditable
3289 num dx;
3290
3291 @DomName('SVGGlyphRefElement.dy')
3292 @DocsEditable
3293 num dy;
3294
3295 @DomName('SVGGlyphRefElement.format')
3296 @DocsEditable
3297 String format;
3298
3299 @DomName('SVGGlyphRefElement.glyphRef')
3300 @DocsEditable
3301 String glyphRef;
3302
3303 @DomName('SVGGlyphRefElement.x')
3304 @DocsEditable
3305 num x;
3306
3307 @DomName('SVGGlyphRefElement.y')
3308 @DocsEditable
3309 num y;
3310
3311 // From SVGStylable
3312
3313 // Shadowing definition.
3314 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th is);
3315
3316 // Use implementation from Element.
3317 // final CssStyleDeclaration style;
3318
3319 @DomName('SVGGlyphRefElement.getPresentationAttribute')
3320 @DocsEditable
3321 CssValue getPresentationAttribute(String name) native;
3322
3323 // From SVGURIReference
3324
3325 @DomName('SVGGlyphRefElement.href')
3326 @DocsEditable
3327 final AnimatedString href;
3328 }
3329 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3330 // for details. All rights reserved. Use of this source code is governed by a
3331 // BSD-style license that can be found in the LICENSE file.
3332
3333
3334 @DocsEditable
3335 @DomName('SVGGradientElement')
3336 class GradientElement extends SvgElement implements UriReference, ExternalResour cesRequired, Stylable native "*SVGGradientElement" {
3337
3338 static const int SVG_SPREADMETHOD_PAD = 1;
3339
3340 static const int SVG_SPREADMETHOD_REFLECT = 2;
3341
3342 static const int SVG_SPREADMETHOD_REPEAT = 3;
3343
3344 static const int SVG_SPREADMETHOD_UNKNOWN = 0;
3345
3346 @DomName('SVGGradientElement.gradientTransform')
3347 @DocsEditable
3348 final AnimatedTransformList gradientTransform;
3349
3350 @DomName('SVGGradientElement.gradientUnits')
3351 @DocsEditable
3352 final AnimatedEnumeration gradientUnits;
3353
3354 @DomName('SVGGradientElement.spreadMethod')
3355 @DocsEditable
3356 final AnimatedEnumeration spreadMethod;
3357
3358 // From SVGExternalResourcesRequired
3359
3360 @DomName('SVGGradientElement.externalResourcesRequired')
3361 @DocsEditable
3362 final AnimatedBoolean externalResourcesRequired;
3363
3364 // From SVGStylable
3365
3366 // Shadowing definition.
3367 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th is);
3368
3369 // Use implementation from Element.
3370 // final CssStyleDeclaration style;
3371
3372 @DomName('SVGGradientElement.getPresentationAttribute')
3373 @DocsEditable
3374 CssValue getPresentationAttribute(String name) native;
3375
3376 // From SVGURIReference
3377
3378 @DomName('SVGGradientElement.href')
3379 @DocsEditable
3380 final AnimatedString href;
3381 }
3382 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3383 // for details. All rights reserved. Use of this source code is governed by a
3384 // BSD-style license that can be found in the LICENSE file.
3385
3386
3387 @DocsEditable
3388 @DomName('SVGHKernElement')
3389 class HKernElement extends SvgElement native "*SVGHKernElement" {
3390
3391 @DocsEditable
3392 factory HKernElement() => _SvgElementFactoryProvider.createSvgElement_tag("hke rn");
3393 }
3394 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3395 // for details. All rights reserved. Use of this source code is governed by a
3396 // BSD-style license that can be found in the LICENSE file.
3397
3398
3399 @DocsEditable
3400 @DomName('SVGImageElement') 3262 @DomName('SVGImageElement')
3401 class ImageElement extends SvgElement implements Transformable, Tests, UriRefere nce, Stylable, ExternalResourcesRequired, LangSpace native "*SVGImageElement" { 3263 class ImageElement extends SvgElement implements Transformable, Tests, UriRefere nce, Stylable, ExternalResourcesRequired, LangSpace native "*SVGImageElement" {
3402 3264
3403 @DocsEditable 3265 @DocsEditable
3404 factory ImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("ima ge"); 3266 factory ImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("ima ge");
3405 3267
3406 @DomName('SVGImageElement.height') 3268 @DomName('SVGImageElement.height')
3407 @DocsEditable 3269 @DocsEditable
3408 final AnimatedLength height; 3270 final AnimatedLength height;
3409 3271
(...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after
3507 3369
3508 @DomName('SVGImageElement.href') 3370 @DomName('SVGImageElement.href')
3509 @DocsEditable 3371 @DocsEditable
3510 final AnimatedString href; 3372 final AnimatedString href;
3511 } 3373 }
3512 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3374 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3513 // for details. All rights reserved. Use of this source code is governed by a 3375 // for details. All rights reserved. Use of this source code is governed by a
3514 // BSD-style license that can be found in the LICENSE file. 3376 // BSD-style license that can be found in the LICENSE file.
3515 3377
3516 3378
3379 @DocsEditable
3517 @DomName('SVGLangSpace') 3380 @DomName('SVGLangSpace')
3518 abstract class LangSpace { 3381 class LangSpace native "*SVGLangSpace" {
3519 3382
3383 /// Checks if this type is supported on the current platform.
3384 static bool supported(SVGElement element) => JS('bool', '#.xmlspace !== undefi ned && #.xmllang !== undefined', element, element);
3385
3386 @DomName('SVGLangSpace.xmllang')
3387 @DocsEditable
3520 String xmllang; 3388 String xmllang;
3521 3389
3390 @DomName('SVGLangSpace.xmlspace')
3391 @DocsEditable
3522 String xmlspace; 3392 String xmlspace;
3523 } 3393 }
3524 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3394 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3525 // for details. All rights reserved. Use of this source code is governed by a 3395 // for details. All rights reserved. Use of this source code is governed by a
3526 // BSD-style license that can be found in the LICENSE file. 3396 // BSD-style license that can be found in the LICENSE file.
3527 3397
3528 3398
3529 @DocsEditable 3399 @DocsEditable
3530 @DomName('SVGLength') 3400 @DomName('SVGLength')
3531 class Length native "*SVGLength" { 3401 class Length native "*SVGLength" {
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after
3900 @DocsEditable 3770 @DocsEditable
3901 final AnimatedTransformList transform; 3771 final AnimatedTransformList transform;
3902 } 3772 }
3903 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3773 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3904 // for details. All rights reserved. Use of this source code is governed by a 3774 // for details. All rights reserved. Use of this source code is governed by a
3905 // BSD-style license that can be found in the LICENSE file. 3775 // BSD-style license that can be found in the LICENSE file.
3906 3776
3907 3777
3908 @DocsEditable 3778 @DocsEditable
3909 @DomName('SVGLinearGradientElement') 3779 @DomName('SVGLinearGradientElement')
3910 class LinearGradientElement extends GradientElement native "*SVGLinearGradientEl ement" { 3780 class LinearGradientElement extends _SVGGradientElement native "*SVGLinearGradie ntElement" {
3911 3781
3912 @DocsEditable 3782 @DocsEditable
3913 factory LinearGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("linearGradient"); 3783 factory LinearGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("linearGradient");
3914 3784
3915 @DomName('SVGLinearGradientElement.x1') 3785 @DomName('SVGLinearGradientElement.x1')
3916 @DocsEditable 3786 @DocsEditable
3917 final AnimatedLength x1; 3787 final AnimatedLength x1;
3918 3788
3919 @DomName('SVGLinearGradientElement.x2') 3789 @DomName('SVGLinearGradientElement.x2')
3920 @DocsEditable 3790 @DocsEditable
(...skipping 26 matching lines...) Expand all
3947 Matrix getScreenCTM(); 3817 Matrix getScreenCTM();
3948 3818
3949 Matrix getTransformToElement(SvgElement element); 3819 Matrix getTransformToElement(SvgElement element);
3950 } 3820 }
3951 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3821 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3952 // for details. All rights reserved. Use of this source code is governed by a 3822 // for details. All rights reserved. Use of this source code is governed by a
3953 // BSD-style license that can be found in the LICENSE file. 3823 // BSD-style license that can be found in the LICENSE file.
3954 3824
3955 3825
3956 @DocsEditable 3826 @DocsEditable
3957 @DomName('SVGMPathElement')
3958 class MPathElement extends SvgElement implements UriReference, ExternalResources Required native "*SVGMPathElement" {
3959
3960 @DocsEditable
3961 factory MPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("mpa th");
3962
3963 // From SVGExternalResourcesRequired
3964
3965 @DomName('SVGMPathElement.externalResourcesRequired')
3966 @DocsEditable
3967 final AnimatedBoolean externalResourcesRequired;
3968
3969 // From SVGURIReference
3970
3971 @DomName('SVGMPathElement.href')
3972 @DocsEditable
3973 final AnimatedString href;
3974 }
3975 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3976 // for details. All rights reserved. Use of this source code is governed by a
3977 // BSD-style license that can be found in the LICENSE file.
3978
3979
3980 @DocsEditable
3981 @DomName('SVGMarkerElement') 3827 @DomName('SVGMarkerElement')
3982 class MarkerElement extends SvgElement implements FitToViewBox, ExternalResource sRequired, Stylable, LangSpace native "*SVGMarkerElement" { 3828 class MarkerElement extends SvgElement implements FitToViewBox, ExternalResource sRequired, Stylable, LangSpace native "*SVGMarkerElement" {
3983 3829
3984 @DocsEditable 3830 @DocsEditable
3985 factory MarkerElement() => _SvgElementFactoryProvider.createSvgElement_tag("ma rker"); 3831 factory MarkerElement() => _SvgElementFactoryProvider.createSvgElement_tag("ma rker");
3986 3832
3987 static const int SVG_MARKERUNITS_STROKEWIDTH = 2; 3833 static const int SVG_MARKERUNITS_STROKEWIDTH = 2;
3988 3834
3989 static const int SVG_MARKERUNITS_UNKNOWN = 0; 3835 static const int SVG_MARKERUNITS_UNKNOWN = 0;
3990 3836
(...skipping 246 matching lines...) Expand 10 before | Expand all | Expand 10 after
4237 @DocsEditable 4083 @DocsEditable
4238 @DomName('SVGMetadataElement') 4084 @DomName('SVGMetadataElement')
4239 class MetadataElement extends SvgElement native "*SVGMetadataElement" { 4085 class MetadataElement extends SvgElement native "*SVGMetadataElement" {
4240 } 4086 }
4241 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 4087 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4242 // for details. All rights reserved. Use of this source code is governed by a 4088 // for details. All rights reserved. Use of this source code is governed by a
4243 // BSD-style license that can be found in the LICENSE file. 4089 // BSD-style license that can be found in the LICENSE file.
4244 4090
4245 4091
4246 @DocsEditable 4092 @DocsEditable
4247 @DomName('SVGMissingGlyphElement')
4248 class MissingGlyphElement extends SvgElement native "*SVGMissingGlyphElement" {
4249 }
4250 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4251 // for details. All rights reserved. Use of this source code is governed by a
4252 // BSD-style license that can be found in the LICENSE file.
4253
4254
4255 @DocsEditable
4256 @DomName('SVGNumber') 4093 @DomName('SVGNumber')
4257 class Number native "*SVGNumber" { 4094 class Number native "*SVGNumber" {
4258 4095
4259 @DomName('SVGNumber.value') 4096 @DomName('SVGNumber.value')
4260 @DocsEditable 4097 @DocsEditable
4261 num value; 4098 num value;
4262 } 4099 }
4263 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 4100 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
4264 // for details. All rights reserved. Use of this source code is governed by a 4101 // for details. All rights reserved. Use of this source code is governed by a
4265 // BSD-style license that can be found in the LICENSE file. 4102 // BSD-style license that can be found in the LICENSE file.
(...skipping 1559 matching lines...) Expand 10 before | Expand all | Expand 10 after
5825 @DocsEditable 5662 @DocsEditable
5826 int meetOrSlice; 5663 int meetOrSlice;
5827 } 5664 }
5828 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5829 // for details. All rights reserved. Use of this source code is governed by a 5666 // for details. All rights reserved. Use of this source code is governed by a
5830 // BSD-style license that can be found in the LICENSE file. 5667 // BSD-style license that can be found in the LICENSE file.
5831 5668
5832 5669
5833 @DocsEditable 5670 @DocsEditable
5834 @DomName('SVGRadialGradientElement') 5671 @DomName('SVGRadialGradientElement')
5835 class RadialGradientElement extends GradientElement native "*SVGRadialGradientEl ement" { 5672 class RadialGradientElement extends _SVGGradientElement native "*SVGRadialGradie ntElement" {
5836 5673
5837 @DocsEditable 5674 @DocsEditable
5838 factory RadialGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("radialGradient"); 5675 factory RadialGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("radialGradient");
5839 5676
5840 @DomName('SVGRadialGradientElement.cx') 5677 @DomName('SVGRadialGradientElement.cx')
5841 @DocsEditable 5678 @DocsEditable
5842 final AnimatedLength cx; 5679 final AnimatedLength cx;
5843 5680
5844 @DomName('SVGRadialGradientElement.cy') 5681 @DomName('SVGRadialGradientElement.cy')
5845 @DocsEditable 5682 @DocsEditable
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
6051 @DocsEditable 5888 @DocsEditable
6052 final AnimatedString href; 5889 final AnimatedString href;
6053 } 5890 }
6054 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5891 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6055 // for details. All rights reserved. Use of this source code is governed by a 5892 // for details. All rights reserved. Use of this source code is governed by a
6056 // BSD-style license that can be found in the LICENSE file. 5893 // BSD-style license that can be found in the LICENSE file.
6057 5894
6058 5895
6059 @DocsEditable 5896 @DocsEditable
6060 @DomName('SVGSetElement') 5897 @DomName('SVGSetElement')
5898 @SupportedBrowser(SupportedBrowser.CHROME)
5899 @SupportedBrowser(SupportedBrowser.FIREFOX)
5900 @SupportedBrowser(SupportedBrowser.SAFARI)
6061 class SetElement extends AnimationElement native "*SVGSetElement" { 5901 class SetElement extends AnimationElement native "*SVGSetElement" {
6062 5902
6063 @DocsEditable 5903 @DocsEditable
6064 factory SetElement() => _SvgElementFactoryProvider.createSvgElement_tag("set") ; 5904 factory SetElement() => _SvgElementFactoryProvider.createSvgElement_tag("set") ;
5905
5906 /// Checks if this type is supported on the current platform.
5907 static bool get supported => SvgElement.isTagSupported('set') && (new SvgEleme nt.tag('set') is SetElement);
6065 } 5908 }
6066 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5909 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6067 // for details. All rights reserved. Use of this source code is governed by a 5910 // for details. All rights reserved. Use of this source code is governed by a
6068 // BSD-style license that can be found in the LICENSE file. 5911 // BSD-style license that can be found in the LICENSE file.
6069 5912
6070 5913
6071 @DocsEditable 5914 @DocsEditable
6072 @DomName('SVGStopElement') 5915 @DomName('SVGStopElement')
6073 class StopElement extends SvgElement implements Stylable native "*SVGStopElement " { 5916 class StopElement extends SvgElement implements Stylable native "*SVGStopElement " {
6074 5917
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
6305 6148
6306 @DomName('SVGStringList.replaceItem') 6149 @DomName('SVGStringList.replaceItem')
6307 @DocsEditable 6150 @DocsEditable
6308 String replaceItem(String item, int index) native; 6151 String replaceItem(String item, int index) native;
6309 } 6152 }
6310 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6153 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6311 // for details. All rights reserved. Use of this source code is governed by a 6154 // for details. All rights reserved. Use of this source code is governed by a
6312 // BSD-style license that can be found in the LICENSE file. 6155 // BSD-style license that can be found in the LICENSE file.
6313 6156
6314 6157
6158 @DocsEditable
6315 @DomName('SVGStylable') 6159 @DomName('SVGStylable')
6316 abstract class Stylable { 6160 class Stylable native "*SVGStylable" {
6317 6161
6318 AnimatedString $dom_svgClassName; 6162 /// Checks if this type is supported on the current platform.
6163 static bool supported(SVGElement element) => JS('bool', '#.getPresentationAttr ibute !== undefined', element);
6319 6164
6320 CssStyleDeclaration style; 6165 @JSName('className')
6166 @DomName('SVGStylable.className')
6167 @DocsEditable
6168 final AnimatedString $dom_svgClassName;
6321 6169
6322 CssValue getPresentationAttribute(String name); 6170 @DomName('SVGStylable.style')
6171 @DocsEditable
6172 final CssStyleDeclaration style;
6173
6174 @DomName('SVGStylable.getPresentationAttribute')
6175 @DocsEditable
6176 CssValue getPresentationAttribute(String name) native;
6323 } 6177 }
6324 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6178 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6325 // for details. All rights reserved. Use of this source code is governed by a 6179 // for details. All rights reserved. Use of this source code is governed by a
6326 // BSD-style license that can be found in the LICENSE file. 6180 // BSD-style license that can be found in the LICENSE file.
6327 6181
6328 6182
6329 @DocsEditable 6183 @DocsEditable
6330 @DomName('SVGStyleElement') 6184 @DomName('SVGStyleElement')
6331 class StyleElement extends SvgElement implements LangSpace native "*SVGStyleElem ent" { 6185 class StyleElement extends SvgElement implements LangSpace native "*SVGStyleElem ent" {
6332 6186
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
6486 6340
6487 HtmlCollection get $dom_children { 6341 HtmlCollection get $dom_children {
6488 throw new UnsupportedError("Cannot get dom_children on SVG."); 6342 throw new UnsupportedError("Cannot get dom_children on SVG.");
6489 } 6343 }
6490 6344
6491 bool get isContentEditable => false; 6345 bool get isContentEditable => false;
6492 void click() { 6346 void click() {
6493 throw new UnsupportedError("Cannot invoke click SVG."); 6347 throw new UnsupportedError("Cannot invoke click SVG.");
6494 } 6348 }
6495 6349
6350 /**
6351 * Checks to see if the SVG element type is supported by the current platform.
6352 *
6353 * The tag should be a valid SVG element tag name.
6354 */
6355 static bool isTagSupported(String tag) {
6356 var e = new SvgElement.tag(tag);
6357 return e is SvgElement && !(e is UnknownElement);
6358 }
6496 6359
6497 // Shadowing definition. 6360 // Shadowing definition.
6498 String get id => JS("String", "#.id", this); 6361 String get id => JS("String", "#.id", this);
6499 6362
6500 void set id(String value) { 6363 void set id(String value) {
6501 JS("void", "#.id = #", this, value); 6364 JS("void", "#.id = #", this, value);
6502 } 6365 }
6503 6366
6504 @JSName('ownerSVGElement') 6367 @JSName('ownerSVGElement')
6505 @DomName('SVGElement.ownerSVGElement') 6368 @DomName('SVGElement.ownerSVGElement')
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
6952 @DomName('SVGSymbolElement.getPresentationAttribute') 6815 @DomName('SVGSymbolElement.getPresentationAttribute')
6953 @DocsEditable 6816 @DocsEditable
6954 CssValue getPresentationAttribute(String name) native; 6817 CssValue getPresentationAttribute(String name) native;
6955 } 6818 }
6956 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6819 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6957 // for details. All rights reserved. Use of this source code is governed by a 6820 // for details. All rights reserved. Use of this source code is governed by a
6958 // BSD-style license that can be found in the LICENSE file. 6821 // BSD-style license that can be found in the LICENSE file.
6959 6822
6960 6823
6961 @DocsEditable 6824 @DocsEditable
6962 @DomName('SVGTRefElement')
6963 class TRefElement extends TextPositioningElement implements UriReference native "*SVGTRefElement" {
6964
6965 @DocsEditable
6966 factory TRefElement() => _SvgElementFactoryProvider.createSvgElement_tag("tref ");
6967
6968 // From SVGURIReference
6969
6970 @DomName('SVGTRefElement.href')
6971 @DocsEditable
6972 final AnimatedString href;
6973 }
6974 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6975 // for details. All rights reserved. Use of this source code is governed by a
6976 // BSD-style license that can be found in the LICENSE file.
6977
6978
6979 @DocsEditable
6980 @DomName('SVGTSpanElement') 6825 @DomName('SVGTSpanElement')
6981 class TSpanElement extends TextPositioningElement native "*SVGTSpanElement" { 6826 class TSpanElement extends TextPositioningElement native "*SVGTSpanElement" {
6982 6827
6983 @DocsEditable 6828 @DocsEditable
6984 factory TSpanElement() => _SvgElementFactoryProvider.createSvgElement_tag("tsp an"); 6829 factory TSpanElement() => _SvgElementFactoryProvider.createSvgElement_tag("tsp an");
6985 } 6830 }
6986 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6831 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6987 // for details. All rights reserved. Use of this source code is governed by a 6832 // for details. All rights reserved. Use of this source code is governed by a
6988 // BSD-style license that can be found in the LICENSE file. 6833 // BSD-style license that can be found in the LICENSE file.
6989 6834
(...skipping 716 matching lines...) Expand 10 before | Expand all | Expand 10 after
7706 @DomName('SVGUseElement.href') 7551 @DomName('SVGUseElement.href')
7707 @DocsEditable 7552 @DocsEditable
7708 final AnimatedString href; 7553 final AnimatedString href;
7709 } 7554 }
7710 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7555 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7711 // for details. All rights reserved. Use of this source code is governed by a 7556 // for details. All rights reserved. Use of this source code is governed by a
7712 // BSD-style license that can be found in the LICENSE file. 7557 // BSD-style license that can be found in the LICENSE file.
7713 7558
7714 7559
7715 @DocsEditable 7560 @DocsEditable
7716 @DomName('SVGVKernElement')
7717 class VKernElement extends SvgElement native "*SVGVKernElement" {
7718
7719 @DocsEditable
7720 factory VKernElement() => _SvgElementFactoryProvider.createSvgElement_tag("vke rn");
7721 }
7722 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7723 // for details. All rights reserved. Use of this source code is governed by a
7724 // BSD-style license that can be found in the LICENSE file.
7725
7726
7727 @DocsEditable
7728 @DomName('SVGViewElement') 7561 @DomName('SVGViewElement')
7729 class ViewElement extends SvgElement implements FitToViewBox, ExternalResourcesR equired, ZoomAndPan native "*SVGViewElement" { 7562 class ViewElement extends SvgElement implements FitToViewBox, ExternalResourcesR equired, ZoomAndPan native "*SVGViewElement" {
7730 7563
7731 @DocsEditable 7564 @DocsEditable
7732 factory ViewElement() => _SvgElementFactoryProvider.createSvgElement_tag("view "); 7565 factory ViewElement() => _SvgElementFactoryProvider.createSvgElement_tag("view ");
7733 7566
7734 @DomName('SVGViewElement.viewTarget') 7567 @DomName('SVGViewElement.viewTarget')
7735 @DocsEditable 7568 @DocsEditable
7736 final StringList viewTarget; 7569 final StringList viewTarget;
7737 7570
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
8032 7865
8033 List<ElementInstance> getRange(int start, int rangeLength) => 7866 List<ElementInstance> getRange(int start, int rangeLength) =>
8034 Lists.getRange(this, start, rangeLength, <ElementInstance>[]); 7867 Lists.getRange(this, start, rangeLength, <ElementInstance>[]);
8035 7868
8036 // -- end List<ElementInstance> mixins. 7869 // -- end List<ElementInstance> mixins.
8037 7870
8038 @DomName('SVGElementInstanceList.item') 7871 @DomName('SVGElementInstanceList.item')
8039 @DocsEditable 7872 @DocsEditable
8040 ElementInstance item(int index) native; 7873 ElementInstance item(int index) native;
8041 } 7874 }
7875 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7876 // for details. All rights reserved. Use of this source code is governed by a
7877 // BSD-style license that can be found in the LICENSE file.
7878
7879
7880 @DocsEditable
7881 @DomName('SVGAltGlyphDefElement')
7882 class _SVGAltGlyphDefElement extends SvgElement native "*SVGAltGlyphDefElement" {
7883 }
7884 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7885 // for details. All rights reserved. Use of this source code is governed by a
7886 // BSD-style license that can be found in the LICENSE file.
7887
7888
7889 @DocsEditable
7890 @DomName('SVGAltGlyphItemElement')
7891 class _SVGAltGlyphItemElement extends SvgElement native "*SVGAltGlyphItemElement " {
7892 }
7893 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7894 // for details. All rights reserved. Use of this source code is governed by a
7895 // BSD-style license that can be found in the LICENSE file.
7896
7897
7898 @DocsEditable
7899 @DomName('SVGAnimateColorElement')
7900 class _SVGAnimateColorElement extends AnimationElement native "*SVGAnimateColorE lement" {
7901 }
7902 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7903 // for details. All rights reserved. Use of this source code is governed by a
7904 // BSD-style license that can be found in the LICENSE file.
7905
7906
7907 @DocsEditable
7908 @DomName('SVGComponentTransferFunctionElement')
7909 class _SVGComponentTransferFunctionElement extends SvgElement native "*SVGCompon entTransferFunctionElement" {
7910
7911 static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
7912
7913 static const int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
7914
7915 static const int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
7916
7917 static const int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
7918
7919 static const int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
7920
7921 static const int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
7922
7923 @DomName('SVGComponentTransferFunctionElement.amplitude')
7924 @DocsEditable
7925 final AnimatedNumber amplitude;
7926
7927 @DomName('SVGComponentTransferFunctionElement.exponent')
7928 @DocsEditable
7929 final AnimatedNumber exponent;
7930
7931 @DomName('SVGComponentTransferFunctionElement.intercept')
7932 @DocsEditable
7933 final AnimatedNumber intercept;
7934
7935 @DomName('SVGComponentTransferFunctionElement.offset')
7936 @DocsEditable
7937 final AnimatedNumber offset;
7938
7939 @DomName('SVGComponentTransferFunctionElement.slope')
7940 @DocsEditable
7941 final AnimatedNumber slope;
7942
7943 @DomName('SVGComponentTransferFunctionElement.tableValues')
7944 @DocsEditable
7945 final AnimatedNumberList tableValues;
7946
7947 @DomName('SVGComponentTransferFunctionElement.type')
7948 @DocsEditable
7949 final AnimatedEnumeration type;
7950 }
7951 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7952 // for details. All rights reserved. Use of this source code is governed by a
7953 // BSD-style license that can be found in the LICENSE file.
7954
7955
7956 @DocsEditable
7957 @DomName('SVGCursorElement')
7958 class _SVGCursorElement extends SvgElement implements UriReference, Tests, Exter nalResourcesRequired native "*SVGCursorElement" {
7959
7960 @DocsEditable
7961 factory _SVGCursorElement() => _SvgElementFactoryProvider.createSvgElement_tag ("cursor");
7962
7963 /// Checks if this type is supported on the current platform.
7964 static bool get supported => SvgElement.isTagSupported('cursor') && (new SvgEl ement.tag('cursor') is _SVGCursorElement);
7965
7966 @DomName('SVGCursorElement.x')
7967 @DocsEditable
7968 final AnimatedLength x;
7969
7970 @DomName('SVGCursorElement.y')
7971 @DocsEditable
7972 final AnimatedLength y;
7973
7974 // From SVGExternalResourcesRequired
7975
7976 @DomName('SVGCursorElement.externalResourcesRequired')
7977 @DocsEditable
7978 final AnimatedBoolean externalResourcesRequired;
7979
7980 // From SVGTests
7981
7982 @DomName('SVGCursorElement.requiredExtensions')
7983 @DocsEditable
7984 final StringList requiredExtensions;
7985
7986 @DomName('SVGCursorElement.requiredFeatures')
7987 @DocsEditable
7988 final StringList requiredFeatures;
7989
7990 @DomName('SVGCursorElement.systemLanguage')
7991 @DocsEditable
7992 final StringList systemLanguage;
7993
7994 @DomName('SVGCursorElement.hasExtension')
7995 @DocsEditable
7996 bool hasExtension(String extension) native;
7997
7998 // From SVGURIReference
7999
8000 @DomName('SVGCursorElement.href')
8001 @DocsEditable
8002 final AnimatedString href;
8003 }
8004 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8005 // for details. All rights reserved. Use of this source code is governed by a
8006 // BSD-style license that can be found in the LICENSE file.
8007
8008
8009 @DocsEditable
8010 @DomName('SVGFEDropShadowElement')
8011 class _SVGFEDropShadowElement extends SvgElement implements FilterPrimitiveStand ardAttributes native "*SVGFEDropShadowElement" {
8012
8013 @DomName('SVGFEDropShadowElement.dx')
8014 @DocsEditable
8015 final AnimatedNumber dx;
8016
8017 @DomName('SVGFEDropShadowElement.dy')
8018 @DocsEditable
8019 final AnimatedNumber dy;
8020
8021 @DomName('SVGFEDropShadowElement.in1')
8022 @DocsEditable
8023 final AnimatedString in1;
8024
8025 @DomName('SVGFEDropShadowElement.stdDeviationX')
8026 @DocsEditable
8027 final AnimatedNumber stdDeviationX;
8028
8029 @DomName('SVGFEDropShadowElement.stdDeviationY')
8030 @DocsEditable
8031 final AnimatedNumber stdDeviationY;
8032
8033 @DomName('SVGFEDropShadowElement.setStdDeviation')
8034 @DocsEditable
8035 void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
8036
8037 // From SVGFilterPrimitiveStandardAttributes
8038
8039 @DomName('SVGFEDropShadowElement.height')
8040 @DocsEditable
8041 final AnimatedLength height;
8042
8043 @DomName('SVGFEDropShadowElement.result')
8044 @DocsEditable
8045 final AnimatedString result;
8046
8047 @DomName('SVGFEDropShadowElement.width')
8048 @DocsEditable
8049 final AnimatedLength width;
8050
8051 @DomName('SVGFEDropShadowElement.x')
8052 @DocsEditable
8053 final AnimatedLength x;
8054
8055 @DomName('SVGFEDropShadowElement.y')
8056 @DocsEditable
8057 final AnimatedLength y;
8058
8059 // From SVGStylable
8060
8061 // Shadowing definition.
8062 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th is);
8063
8064 // Use implementation from Element.
8065 // final CssStyleDeclaration style;
8066
8067 @DomName('SVGFEDropShadowElement.getPresentationAttribute')
8068 @DocsEditable
8069 CssValue getPresentationAttribute(String name) native;
8070 }
8071 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8072 // for details. All rights reserved. Use of this source code is governed by a
8073 // BSD-style license that can be found in the LICENSE file.
8074
8075
8076 @DocsEditable
8077 @DomName('SVGFontElement')
8078 class _SVGFontElement extends SvgElement native "*SVGFontElement" {
8079 }
8080 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8081 // for details. All rights reserved. Use of this source code is governed by a
8082 // BSD-style license that can be found in the LICENSE file.
8083
8084
8085 @DocsEditable
8086 @DomName('SVGFontFaceElement')
8087 class _SVGFontFaceElement extends SvgElement native "*SVGFontFaceElement" {
8088 }
8089 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8090 // for details. All rights reserved. Use of this source code is governed by a
8091 // BSD-style license that can be found in the LICENSE file.
8092
8093
8094 @DocsEditable
8095 @DomName('SVGFontFaceFormatElement')
8096 class _SVGFontFaceFormatElement extends SvgElement native "*SVGFontFaceFormatEle ment" {
8097 }
8098 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8099 // for details. All rights reserved. Use of this source code is governed by a
8100 // BSD-style license that can be found in the LICENSE file.
8101
8102
8103 @DocsEditable
8104 @DomName('SVGFontFaceNameElement')
8105 class _SVGFontFaceNameElement extends SvgElement native "*SVGFontFaceNameElement " {
8106 }
8107 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8108 // for details. All rights reserved. Use of this source code is governed by a
8109 // BSD-style license that can be found in the LICENSE file.
8110
8111
8112 @DocsEditable
8113 @DomName('SVGFontFaceSrcElement')
8114 class _SVGFontFaceSrcElement extends SvgElement native "*SVGFontFaceSrcElement" {
8115 }
8116 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8117 // for details. All rights reserved. Use of this source code is governed by a
8118 // BSD-style license that can be found in the LICENSE file.
8119
8120
8121 @DocsEditable
8122 @DomName('SVGFontFaceUriElement')
8123 class _SVGFontFaceUriElement extends SvgElement native "*SVGFontFaceUriElement" {
8124 }
8125 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8126 // for details. All rights reserved. Use of this source code is governed by a
8127 // BSD-style license that can be found in the LICENSE file.
8128
8129
8130 @DocsEditable
8131 @DomName('SVGGlyphElement')
8132 class _SVGGlyphElement extends SvgElement native "*SVGGlyphElement" {
8133
8134 @DocsEditable
8135 factory _SVGGlyphElement() => _SvgElementFactoryProvider.createSvgElement_tag( "glyph");
8136 }
8137 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8138 // for details. All rights reserved. Use of this source code is governed by a
8139 // BSD-style license that can be found in the LICENSE file.
8140
8141
8142 @DocsEditable
8143 @DomName('SVGGlyphRefElement')
8144 class _SVGGlyphRefElement extends SvgElement implements UriReference, Stylable n ative "*SVGGlyphRefElement" {
8145
8146 @DomName('SVGGlyphRefElement.dx')
8147 @DocsEditable
8148 num dx;
8149
8150 @DomName('SVGGlyphRefElement.dy')
8151 @DocsEditable
8152 num dy;
8153
8154 @DomName('SVGGlyphRefElement.format')
8155 @DocsEditable
8156 String format;
8157
8158 @DomName('SVGGlyphRefElement.glyphRef')
8159 @DocsEditable
8160 String glyphRef;
8161
8162 @DomName('SVGGlyphRefElement.x')
8163 @DocsEditable
8164 num x;
8165
8166 @DomName('SVGGlyphRefElement.y')
8167 @DocsEditable
8168 num y;
8169
8170 // From SVGStylable
8171
8172 // Shadowing definition.
8173 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th is);
8174
8175 // Use implementation from Element.
8176 // final CssStyleDeclaration style;
8177
8178 @DomName('SVGGlyphRefElement.getPresentationAttribute')
8179 @DocsEditable
8180 CssValue getPresentationAttribute(String name) native;
8181
8182 // From SVGURIReference
8183
8184 @DomName('SVGGlyphRefElement.href')
8185 @DocsEditable
8186 final AnimatedString href;
8187 }
8188 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8189 // for details. All rights reserved. Use of this source code is governed by a
8190 // BSD-style license that can be found in the LICENSE file.
8191
8192
8193 @DocsEditable
8194 @DomName('SVGGradientElement')
8195 class _SVGGradientElement extends SvgElement implements UriReference, ExternalRe sourcesRequired, Stylable native "*SVGGradientElement" {
8196
8197 static const int SVG_SPREADMETHOD_PAD = 1;
8198
8199 static const int SVG_SPREADMETHOD_REFLECT = 2;
8200
8201 static const int SVG_SPREADMETHOD_REPEAT = 3;
8202
8203 static const int SVG_SPREADMETHOD_UNKNOWN = 0;
8204
8205 @DomName('SVGGradientElement.gradientTransform')
8206 @DocsEditable
8207 final AnimatedTransformList gradientTransform;
8208
8209 @DomName('SVGGradientElement.gradientUnits')
8210 @DocsEditable
8211 final AnimatedEnumeration gradientUnits;
8212
8213 @DomName('SVGGradientElement.spreadMethod')
8214 @DocsEditable
8215 final AnimatedEnumeration spreadMethod;
8216
8217 // From SVGExternalResourcesRequired
8218
8219 @DomName('SVGGradientElement.externalResourcesRequired')
8220 @DocsEditable
8221 final AnimatedBoolean externalResourcesRequired;
8222
8223 // From SVGStylable
8224
8225 // Shadowing definition.
8226 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th is);
8227
8228 // Use implementation from Element.
8229 // final CssStyleDeclaration style;
8230
8231 @DomName('SVGGradientElement.getPresentationAttribute')
8232 @DocsEditable
8233 CssValue getPresentationAttribute(String name) native;
8234
8235 // From SVGURIReference
8236
8237 @DomName('SVGGradientElement.href')
8238 @DocsEditable
8239 final AnimatedString href;
8240 }
8241 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8242 // for details. All rights reserved. Use of this source code is governed by a
8243 // BSD-style license that can be found in the LICENSE file.
8244
8245
8246 @DocsEditable
8247 @DomName('SVGHKernElement')
8248 class _SVGHKernElement extends SvgElement native "*SVGHKernElement" {
8249
8250 @DocsEditable
8251 factory _SVGHKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "hkern");
8252 }
8253 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8254 // for details. All rights reserved. Use of this source code is governed by a
8255 // BSD-style license that can be found in the LICENSE file.
8256
8257
8258 @DocsEditable
8259 @DomName('SVGMPathElement')
8260 class _SVGMPathElement extends SvgElement implements UriReference, ExternalResou rcesRequired native "*SVGMPathElement" {
8261
8262 @DocsEditable
8263 factory _SVGMPathElement() => _SvgElementFactoryProvider.createSvgElement_tag( "mpath");
8264
8265 // From SVGExternalResourcesRequired
8266
8267 @DomName('SVGMPathElement.externalResourcesRequired')
8268 @DocsEditable
8269 final AnimatedBoolean externalResourcesRequired;
8270
8271 // From SVGURIReference
8272
8273 @DomName('SVGMPathElement.href')
8274 @DocsEditable
8275 final AnimatedString href;
8276 }
8277 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8278 // for details. All rights reserved. Use of this source code is governed by a
8279 // BSD-style license that can be found in the LICENSE file.
8280
8281
8282 @DocsEditable
8283 @DomName('SVGMissingGlyphElement')
8284 class _SVGMissingGlyphElement extends SvgElement native "*SVGMissingGlyphElement " {
8285 }
8286 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8287 // for details. All rights reserved. Use of this source code is governed by a
8288 // BSD-style license that can be found in the LICENSE file.
8289
8290
8291 @DocsEditable
8292 @DomName('SVGTRefElement')
8293 class _SVGTRefElement extends TextPositioningElement implements UriReference nat ive "*SVGTRefElement" {
8294
8295 @DocsEditable
8296 factory _SVGTRefElement() => _SvgElementFactoryProvider.createSvgElement_tag(" tref");
8297
8298 // From SVGURIReference
8299
8300 @DomName('SVGTRefElement.href')
8301 @DocsEditable
8302 final AnimatedString href;
8303 }
8304 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
8305 // for details. All rights reserved. Use of this source code is governed by a
8306 // BSD-style license that can be found in the LICENSE file.
8307
8308
8309 @DocsEditable
8310 @DomName('SVGVKernElement')
8311 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" {
8312
8313 @DocsEditable
8314 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
8315 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698