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

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

Issue 12095088: "Reverting 17940" (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 10 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 dart.dom.svg; 1 library dart.dom.svg;
2 2
3 import 'dart:async'; 3 import 'dart:async';
4 import 'dart:collection'; 4 import 'dart:collection';
5 import 'dart:html'; 5 import 'dart:html';
6 import 'dart:html_common'; 6 import 'dart:html_common';
7 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa me; 7 import 'dart:_js_helper' show Creates, Returns, JavaScriptIndexingBehavior, JSNa me;
8 import 'dart:_foreign_helper' show JS; 8 import 'dart:_foreign_helper' show JS;
9 // DO NOT EDIT 9 // DO NOT EDIT
10 // Auto-generated dart:svg library. 10 // Auto-generated dart:svg library.
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 @DomName('SVGAElement.href') 143 @DomName('SVGAElement.href')
144 @DocsEditable 144 @DocsEditable
145 final AnimatedString href; 145 final AnimatedString href;
146 } 146 }
147 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 147 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
148 // for details. All rights reserved. Use of this source code is governed by a 148 // for details. All rights reserved. Use of this source code is governed by a
149 // BSD-style license that can be found in the LICENSE file. 149 // BSD-style license that can be found in the LICENSE file.
150 150
151 151
152 @DocsEditable 152 @DocsEditable
153 @DomName('SVGAltGlyphDefElement')
154 class AltGlyphDefElement extends SvgElement native "*SVGAltGlyphDefElement" {
155 }
156 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
157 // for details. All rights reserved. Use of this source code is governed by a
158 // BSD-style license that can be found in the LICENSE file.
159
160
161 @DocsEditable
153 @DomName('SVGAltGlyphElement') 162 @DomName('SVGAltGlyphElement')
154 @SupportedBrowser(SupportedBrowser.CHROME)
155 @SupportedBrowser(SupportedBrowser.FIREFOX)
156 @SupportedBrowser(SupportedBrowser.SAFARI)
157 class AltGlyphElement extends TextPositioningElement implements UriReference nat ive "*SVGAltGlyphElement" { 163 class AltGlyphElement extends TextPositioningElement implements UriReference nat ive "*SVGAltGlyphElement" {
158 164
159 @DocsEditable
160 factory AltGlyphElement() => _SvgElementFactoryProvider.createSvgElement_tag(" altGlyph");
161
162 /// Checks if this type is supported on the current platform.
163 static bool get supported => SvgElement.isTagSupported('altGlyph') && (new Svg Element.tag('altGlyph') is AltGlyphElement);
164
165 @DomName('SVGAltGlyphElement.format') 165 @DomName('SVGAltGlyphElement.format')
166 @DocsEditable 166 @DocsEditable
167 String format; 167 String format;
168 168
169 @DomName('SVGAltGlyphElement.glyphRef') 169 @DomName('SVGAltGlyphElement.glyphRef')
170 @DocsEditable 170 @DocsEditable
171 String glyphRef; 171 String glyphRef;
172 172
173 // From SVGURIReference 173 // From SVGURIReference
174 174
175 @DomName('SVGAltGlyphElement.href') 175 @DomName('SVGAltGlyphElement.href')
176 @DocsEditable 176 @DocsEditable
177 final AnimatedString href; 177 final AnimatedString href;
178 } 178 }
179 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 179 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
180 // for details. All rights reserved. Use of this source code is governed by a 180 // for details. All rights reserved. Use of this source code is governed by a
181 // BSD-style license that can be found in the LICENSE file. 181 // BSD-style license that can be found in the LICENSE file.
182 182
183 183
184 @DocsEditable 184 @DocsEditable
185 @DomName('SVGAltGlyphItemElement')
186 class AltGlyphItemElement extends SvgElement native "*SVGAltGlyphItemElement" {
187 }
188 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
189 // for details. All rights reserved. Use of this source code is governed by a
190 // BSD-style license that can be found in the LICENSE file.
191
192
193 @DocsEditable
185 @DomName('SVGAngle') 194 @DomName('SVGAngle')
186 class Angle native "*SVGAngle" { 195 class Angle native "*SVGAngle" {
187 196
188 static const int SVG_ANGLETYPE_DEG = 2; 197 static const int SVG_ANGLETYPE_DEG = 2;
189 198
190 static const int SVG_ANGLETYPE_GRAD = 4; 199 static const int SVG_ANGLETYPE_GRAD = 4;
191 200
192 static const int SVG_ANGLETYPE_RAD = 3; 201 static const int SVG_ANGLETYPE_RAD = 3;
193 202
194 static const int SVG_ANGLETYPE_UNKNOWN = 0; 203 static const int SVG_ANGLETYPE_UNKNOWN = 0;
(...skipping 23 matching lines...) Expand all
218 @DomName('SVGAngle.newValueSpecifiedUnits') 227 @DomName('SVGAngle.newValueSpecifiedUnits')
219 @DocsEditable 228 @DocsEditable
220 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; 229 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
221 } 230 }
222 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 231 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
223 // for details. All rights reserved. Use of this source code is governed by a 232 // for details. All rights reserved. Use of this source code is governed by a
224 // BSD-style license that can be found in the LICENSE file. 233 // BSD-style license that can be found in the LICENSE file.
225 234
226 235
227 @DocsEditable 236 @DocsEditable
237 @DomName('SVGAnimateColorElement')
238 class AnimateColorElement extends AnimationElement native "*SVGAnimateColorEleme nt" {
239
240 @DocsEditable
241 factory AnimateColorElement() => _SvgElementFactoryProvider.createSvgElement_t ag("animateColor");
242 }
243 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
244 // for details. All rights reserved. Use of this source code is governed by a
245 // BSD-style license that can be found in the LICENSE file.
246
247
248 @DocsEditable
228 @DomName('SVGAnimateElement') 249 @DomName('SVGAnimateElement')
229 @SupportedBrowser(SupportedBrowser.CHROME)
230 @SupportedBrowser(SupportedBrowser.FIREFOX)
231 @SupportedBrowser(SupportedBrowser.SAFARI)
232 class AnimateElement extends AnimationElement native "*SVGAnimateElement" { 250 class AnimateElement extends AnimationElement native "*SVGAnimateElement" {
233 251
234 @DocsEditable 252 @DocsEditable
235 factory AnimateElement() => _SvgElementFactoryProvider.createSvgElement_tag("a nimate"); 253 factory AnimateElement() => _SvgElementFactoryProvider.createSvgElement_tag("a nimate");
236
237 /// Checks if this type is supported on the current platform.
238 static bool get supported => SvgElement.isTagSupported('animate') && (new SvgE lement.tag('animate') is AnimateElement);
239 } 254 }
240 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 255 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
241 // for details. All rights reserved. Use of this source code is governed by a 256 // for details. All rights reserved. Use of this source code is governed by a
242 // BSD-style license that can be found in the LICENSE file. 257 // BSD-style license that can be found in the LICENSE file.
243 258
244 259
245 @DocsEditable 260 @DocsEditable
246 @DomName('SVGAnimateMotionElement') 261 @DomName('SVGAnimateMotionElement')
247 @SupportedBrowser(SupportedBrowser.CHROME)
248 @SupportedBrowser(SupportedBrowser.FIREFOX)
249 @SupportedBrowser(SupportedBrowser.SAFARI)
250 class AnimateMotionElement extends AnimationElement native "*SVGAnimateMotionEle ment" { 262 class AnimateMotionElement extends AnimationElement native "*SVGAnimateMotionEle ment" {
251 263
252 @DocsEditable 264 @DocsEditable
253 factory AnimateMotionElement() => _SvgElementFactoryProvider.createSvgElement_ tag("animateMotion"); 265 factory AnimateMotionElement() => _SvgElementFactoryProvider.createSvgElement_ tag("animateMotion");
254
255 /// Checks if this type is supported on the current platform.
256 static bool get supported => SvgElement.isTagSupported('animateMotion') && (ne w SvgElement.tag('animateMotion') is AnimateMotionElement);
257 } 266 }
258 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 267 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
259 // for details. All rights reserved. Use of this source code is governed by a 268 // for details. All rights reserved. Use of this source code is governed by a
260 // BSD-style license that can be found in the LICENSE file. 269 // BSD-style license that can be found in the LICENSE file.
261 270
262 271
263 @DocsEditable 272 @DocsEditable
264 @DomName('SVGAnimateTransformElement') 273 @DomName('SVGAnimateTransformElement')
265 @SupportedBrowser(SupportedBrowser.CHROME)
266 @SupportedBrowser(SupportedBrowser.FIREFOX)
267 @SupportedBrowser(SupportedBrowser.SAFARI)
268 class AnimateTransformElement extends AnimationElement native "*SVGAnimateTransf ormElement" { 274 class AnimateTransformElement extends AnimationElement native "*SVGAnimateTransf ormElement" {
269 275
270 @DocsEditable 276 @DocsEditable
271 factory AnimateTransformElement() => _SvgElementFactoryProvider.createSvgEleme nt_tag("animateTransform"); 277 factory AnimateTransformElement() => _SvgElementFactoryProvider.createSvgEleme nt_tag("animateTransform");
272
273 /// Checks if this type is supported on the current platform.
274 static bool get supported => SvgElement.isTagSupported('animateTransform') && (new SvgElement.tag('animateTransform') is AnimateTransformElement);
275 } 278 }
276 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 279 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
277 // for details. All rights reserved. Use of this source code is governed by a 280 // for details. All rights reserved. Use of this source code is governed by a
278 // BSD-style license that can be found in the LICENSE file. 281 // BSD-style license that can be found in the LICENSE file.
279 282
280 283
281 @DocsEditable 284 @DocsEditable
282 @DomName('SVGAnimatedAngle') 285 @DomName('SVGAnimatedAngle')
283 class AnimatedAngle native "*SVGAnimatedAngle" { 286 class AnimatedAngle native "*SVGAnimatedAngle" {
284 287
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
761 @DomName('SVGColor.setRGBColorICCColor') 764 @DomName('SVGColor.setRGBColorICCColor')
762 @DocsEditable 765 @DocsEditable
763 void setRgbColorIccColor(String rgbColor, String iccColor) native; 766 void setRgbColorIccColor(String rgbColor, String iccColor) native;
764 } 767 }
765 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 768 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
766 // for details. All rights reserved. Use of this source code is governed by a 769 // for details. All rights reserved. Use of this source code is governed by a
767 // BSD-style license that can be found in the LICENSE file. 770 // BSD-style license that can be found in the LICENSE file.
768 771
769 772
770 @DocsEditable 773 @DocsEditable
774 @DomName('SVGComponentTransferFunctionElement')
775 class ComponentTransferFunctionElement extends SvgElement native "*SVGComponentT ransferFunctionElement" {
776
777 static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
778
779 static const int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
780
781 static const int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
782
783 static const int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
784
785 static const int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
786
787 static const int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
788
789 @DomName('SVGComponentTransferFunctionElement.amplitude')
790 @DocsEditable
791 final AnimatedNumber amplitude;
792
793 @DomName('SVGComponentTransferFunctionElement.exponent')
794 @DocsEditable
795 final AnimatedNumber exponent;
796
797 @DomName('SVGComponentTransferFunctionElement.intercept')
798 @DocsEditable
799 final AnimatedNumber intercept;
800
801 @DomName('SVGComponentTransferFunctionElement.offset')
802 @DocsEditable
803 final AnimatedNumber offset;
804
805 @DomName('SVGComponentTransferFunctionElement.slope')
806 @DocsEditable
807 final AnimatedNumber slope;
808
809 @DomName('SVGComponentTransferFunctionElement.tableValues')
810 @DocsEditable
811 final AnimatedNumberList tableValues;
812
813 @DomName('SVGComponentTransferFunctionElement.type')
814 @DocsEditable
815 final AnimatedEnumeration type;
816 }
817 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
818 // for details. All rights reserved. Use of this source code is governed by a
819 // BSD-style license that can be found in the LICENSE file.
820
821
822 @DocsEditable
823 @DomName('SVGCursorElement')
824 class CursorElement extends SvgElement implements UriReference, Tests, ExternalR esourcesRequired native "*SVGCursorElement" {
825
826 @DocsEditable
827 factory CursorElement() => _SvgElementFactoryProvider.createSvgElement_tag("cu rsor");
828
829 @DomName('SVGCursorElement.x')
830 @DocsEditable
831 final AnimatedLength x;
832
833 @DomName('SVGCursorElement.y')
834 @DocsEditable
835 final AnimatedLength y;
836
837 // From SVGExternalResourcesRequired
838
839 @DomName('SVGCursorElement.externalResourcesRequired')
840 @DocsEditable
841 final AnimatedBoolean externalResourcesRequired;
842
843 // From SVGTests
844
845 @DomName('SVGCursorElement.requiredExtensions')
846 @DocsEditable
847 final StringList requiredExtensions;
848
849 @DomName('SVGCursorElement.requiredFeatures')
850 @DocsEditable
851 final StringList requiredFeatures;
852
853 @DomName('SVGCursorElement.systemLanguage')
854 @DocsEditable
855 final StringList systemLanguage;
856
857 @DomName('SVGCursorElement.hasExtension')
858 @DocsEditable
859 bool hasExtension(String extension) native;
860
861 // From SVGURIReference
862
863 @DomName('SVGCursorElement.href')
864 @DocsEditable
865 final AnimatedString href;
866 }
867 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
868 // for details. All rights reserved. Use of this source code is governed by a
869 // BSD-style license that can be found in the LICENSE file.
870
871
872 @DocsEditable
771 @DomName('SVGDefsElement') 873 @DomName('SVGDefsElement')
772 class DefsElement extends StyledElement implements Transformable, Tests, Externa lResourcesRequired, LangSpace native "*SVGDefsElement" { 874 class DefsElement extends StyledElement implements Transformable, Tests, Externa lResourcesRequired, LangSpace native "*SVGDefsElement" {
773 875
774 @DocsEditable 876 @DocsEditable
775 factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs "); 877 factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs ");
776 878
777 // From SVGExternalResourcesRequired 879 // From SVGExternalResourcesRequired
778 880
779 @DomName('SVGDefsElement.externalResourcesRequired') 881 @DomName('SVGDefsElement.externalResourcesRequired')
780 @DocsEditable 882 @DocsEditable
(...skipping 689 matching lines...) Expand 10 before | Expand all | Expand 10 after
1470 1572
1471 @DomName('SVGEllipseElement.transform') 1573 @DomName('SVGEllipseElement.transform')
1472 @DocsEditable 1574 @DocsEditable
1473 final AnimatedTransformList transform; 1575 final AnimatedTransformList transform;
1474 } 1576 }
1475 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1577 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1476 // for details. All rights reserved. Use of this source code is governed by a 1578 // for details. All rights reserved. Use of this source code is governed by a
1477 // BSD-style license that can be found in the LICENSE file. 1579 // BSD-style license that can be found in the LICENSE file.
1478 1580
1479 1581
1480 @DocsEditable
1481 @DomName('SVGExternalResourcesRequired') 1582 @DomName('SVGExternalResourcesRequired')
1482 class ExternalResourcesRequired native "*SVGExternalResourcesRequired" { 1583 abstract class ExternalResourcesRequired {
1483 1584
1484 /// Checks if this type is supported on the current platform. 1585 AnimatedBoolean externalResourcesRequired;
1485 static bool supported(SvgElement element) => JS('bool', '#.externalResourcesRe quired !== undefined && #.externalResourcesRequired.animVal !== undefined', elem ent, element);
1486
1487 @DomName('SVGExternalResourcesRequired.externalResourcesRequired')
1488 @DocsEditable
1489 final AnimatedBoolean externalResourcesRequired;
1490 } 1586 }
1491 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1587 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1492 // for details. All rights reserved. Use of this source code is governed by a 1588 // for details. All rights reserved. Use of this source code is governed by a
1493 // BSD-style license that can be found in the LICENSE file. 1589 // BSD-style license that can be found in the LICENSE file.
1494 1590
1495 1591
1496 @DocsEditable 1592 @DocsEditable
1497 @DomName('SVGFEBlendElement') 1593 @DomName('SVGFEBlendElement')
1498 @SupportedBrowser(SupportedBrowser.CHROME)
1499 @SupportedBrowser(SupportedBrowser.FIREFOX)
1500 @SupportedBrowser(SupportedBrowser.IE, '10')
1501 @SupportedBrowser(SupportedBrowser.SAFARI)
1502 class FEBlendElement extends StyledElement implements FilterPrimitiveStandardAtt ributes native "*SVGFEBlendElement" { 1594 class FEBlendElement extends StyledElement implements FilterPrimitiveStandardAtt ributes native "*SVGFEBlendElement" {
1503 1595
1504 @DocsEditable
1505 factory FEBlendElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eBlend");
1506
1507 /// Checks if this type is supported on the current platform.
1508 static bool get supported => SvgElement.isTagSupported('feBlend') && (new SvgE lement.tag('feBlend') is FEBlendElement);
1509
1510 static const int SVG_FEBLEND_MODE_DARKEN = 4; 1596 static const int SVG_FEBLEND_MODE_DARKEN = 4;
1511 1597
1512 static const int SVG_FEBLEND_MODE_LIGHTEN = 5; 1598 static const int SVG_FEBLEND_MODE_LIGHTEN = 5;
1513 1599
1514 static const int SVG_FEBLEND_MODE_MULTIPLY = 2; 1600 static const int SVG_FEBLEND_MODE_MULTIPLY = 2;
1515 1601
1516 static const int SVG_FEBLEND_MODE_NORMAL = 1; 1602 static const int SVG_FEBLEND_MODE_NORMAL = 1;
1517 1603
1518 static const int SVG_FEBLEND_MODE_SCREEN = 3; 1604 static const int SVG_FEBLEND_MODE_SCREEN = 3;
1519 1605
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1553 @DocsEditable 1639 @DocsEditable
1554 final AnimatedLength y; 1640 final AnimatedLength y;
1555 } 1641 }
1556 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1642 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1557 // for details. All rights reserved. Use of this source code is governed by a 1643 // for details. All rights reserved. Use of this source code is governed by a
1558 // BSD-style license that can be found in the LICENSE file. 1644 // BSD-style license that can be found in the LICENSE file.
1559 1645
1560 1646
1561 @DocsEditable 1647 @DocsEditable
1562 @DomName('SVGFEColorMatrixElement') 1648 @DomName('SVGFEColorMatrixElement')
1563 @SupportedBrowser(SupportedBrowser.CHROME)
1564 @SupportedBrowser(SupportedBrowser.FIREFOX)
1565 @SupportedBrowser(SupportedBrowser.IE, '10')
1566 @SupportedBrowser(SupportedBrowser.SAFARI)
1567 class FEColorMatrixElement extends StyledElement implements FilterPrimitiveStand ardAttributes native "*SVGFEColorMatrixElement" { 1649 class FEColorMatrixElement extends StyledElement implements FilterPrimitiveStand ardAttributes native "*SVGFEColorMatrixElement" {
1568 1650
1569 @DocsEditable
1570 factory FEColorMatrixElement() => _SvgElementFactoryProvider.createSvgElement_ tag("feColorMatrix");
1571
1572 /// Checks if this type is supported on the current platform.
1573 static bool get supported => SvgElement.isTagSupported('feColorMatrix') && (ne w SvgElement.tag('feColorMatrix') is FEColorMatrixElement);
1574
1575 static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3; 1651 static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
1576 1652
1577 static const int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4; 1653 static const int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
1578 1654
1579 static const int SVG_FECOLORMATRIX_TYPE_MATRIX = 1; 1655 static const int SVG_FECOLORMATRIX_TYPE_MATRIX = 1;
1580 1656
1581 static const int SVG_FECOLORMATRIX_TYPE_SATURATE = 2; 1657 static const int SVG_FECOLORMATRIX_TYPE_SATURATE = 2;
1582 1658
1583 static const int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0; 1659 static const int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0;
1584 1660
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1616 @DocsEditable 1692 @DocsEditable
1617 final AnimatedLength y; 1693 final AnimatedLength y;
1618 } 1694 }
1619 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1695 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1620 // for details. All rights reserved. Use of this source code is governed by a 1696 // for details. All rights reserved. Use of this source code is governed by a
1621 // BSD-style license that can be found in the LICENSE file. 1697 // BSD-style license that can be found in the LICENSE file.
1622 1698
1623 1699
1624 @DocsEditable 1700 @DocsEditable
1625 @DomName('SVGFEComponentTransferElement') 1701 @DomName('SVGFEComponentTransferElement')
1626 @SupportedBrowser(SupportedBrowser.CHROME)
1627 @SupportedBrowser(SupportedBrowser.FIREFOX)
1628 @SupportedBrowser(SupportedBrowser.IE, '10')
1629 @SupportedBrowser(SupportedBrowser.SAFARI)
1630 class FEComponentTransferElement extends StyledElement implements FilterPrimitiv eStandardAttributes native "*SVGFEComponentTransferElement" { 1702 class FEComponentTransferElement extends StyledElement implements FilterPrimitiv eStandardAttributes native "*SVGFEComponentTransferElement" {
1631 1703
1632 @DocsEditable
1633 factory FEComponentTransferElement() => _SvgElementFactoryProvider.createSvgEl ement_tag("feComponentTransfer");
1634
1635 /// Checks if this type is supported on the current platform.
1636 static bool get supported => SvgElement.isTagSupported('feComponentTransfer') && (new SvgElement.tag('feComponentTransfer') is FEComponentTransferElement);
1637
1638 @DomName('SVGFEComponentTransferElement.in1') 1704 @DomName('SVGFEComponentTransferElement.in1')
1639 @DocsEditable 1705 @DocsEditable
1640 final AnimatedString in1; 1706 final AnimatedString in1;
1641 1707
1642 // From SVGFilterPrimitiveStandardAttributes 1708 // From SVGFilterPrimitiveStandardAttributes
1643 1709
1644 @DomName('SVGFEComponentTransferElement.height') 1710 @DomName('SVGFEComponentTransferElement.height')
1645 @DocsEditable 1711 @DocsEditable
1646 final AnimatedLength height; 1712 final AnimatedLength height;
1647 1713
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
1734 @DocsEditable 1800 @DocsEditable
1735 final AnimatedLength y; 1801 final AnimatedLength y;
1736 } 1802 }
1737 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1738 // for details. All rights reserved. Use of this source code is governed by a 1804 // for details. All rights reserved. Use of this source code is governed by a
1739 // BSD-style license that can be found in the LICENSE file. 1805 // BSD-style license that can be found in the LICENSE file.
1740 1806
1741 1807
1742 @DocsEditable 1808 @DocsEditable
1743 @DomName('SVGFEConvolveMatrixElement') 1809 @DomName('SVGFEConvolveMatrixElement')
1744 @SupportedBrowser(SupportedBrowser.CHROME)
1745 @SupportedBrowser(SupportedBrowser.FIREFOX)
1746 @SupportedBrowser(SupportedBrowser.IE, '10')
1747 @SupportedBrowser(SupportedBrowser.SAFARI)
1748 class FEConvolveMatrixElement extends StyledElement implements FilterPrimitiveSt andardAttributes native "*SVGFEConvolveMatrixElement" { 1810 class FEConvolveMatrixElement extends StyledElement implements FilterPrimitiveSt andardAttributes native "*SVGFEConvolveMatrixElement" {
1749 1811
1750 @DocsEditable
1751 factory FEConvolveMatrixElement() => _SvgElementFactoryProvider.createSvgEleme nt_tag("feConvolveMatrix");
1752
1753 /// Checks if this type is supported on the current platform.
1754 static bool get supported => SvgElement.isTagSupported('feConvolveMatrix') && (new SvgElement.tag('feConvolveMatrix') is FEConvolveMatrixElement);
1755
1756 static const int SVG_EDGEMODE_DUPLICATE = 1; 1812 static const int SVG_EDGEMODE_DUPLICATE = 1;
1757 1813
1758 static const int SVG_EDGEMODE_NONE = 3; 1814 static const int SVG_EDGEMODE_NONE = 3;
1759 1815
1760 static const int SVG_EDGEMODE_UNKNOWN = 0; 1816 static const int SVG_EDGEMODE_UNKNOWN = 0;
1761 1817
1762 static const int SVG_EDGEMODE_WRAP = 2; 1818 static const int SVG_EDGEMODE_WRAP = 2;
1763 1819
1764 @DomName('SVGFEConvolveMatrixElement.bias') 1820 @DomName('SVGFEConvolveMatrixElement.bias')
1765 @DocsEditable 1821 @DocsEditable
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
1831 @DocsEditable 1887 @DocsEditable
1832 final AnimatedLength y; 1888 final AnimatedLength y;
1833 } 1889 }
1834 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1890 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1835 // for details. All rights reserved. Use of this source code is governed by a 1891 // for details. All rights reserved. Use of this source code is governed by a
1836 // BSD-style license that can be found in the LICENSE file. 1892 // BSD-style license that can be found in the LICENSE file.
1837 1893
1838 1894
1839 @DocsEditable 1895 @DocsEditable
1840 @DomName('SVGFEDiffuseLightingElement') 1896 @DomName('SVGFEDiffuseLightingElement')
1841 @SupportedBrowser(SupportedBrowser.CHROME)
1842 @SupportedBrowser(SupportedBrowser.FIREFOX)
1843 @SupportedBrowser(SupportedBrowser.IE, '10')
1844 @SupportedBrowser(SupportedBrowser.SAFARI)
1845 class FEDiffuseLightingElement extends StyledElement implements FilterPrimitiveS tandardAttributes native "*SVGFEDiffuseLightingElement" { 1897 class FEDiffuseLightingElement extends StyledElement implements FilterPrimitiveS tandardAttributes native "*SVGFEDiffuseLightingElement" {
1846 1898
1847 @DocsEditable
1848 factory FEDiffuseLightingElement() => _SvgElementFactoryProvider.createSvgElem ent_tag("feDiffuseLighting");
1849
1850 /// Checks if this type is supported on the current platform.
1851 static bool get supported => SvgElement.isTagSupported('feDiffuseLighting') && (new SvgElement.tag('feDiffuseLighting') is FEDiffuseLightingElement);
1852
1853 @DomName('SVGFEDiffuseLightingElement.diffuseConstant') 1899 @DomName('SVGFEDiffuseLightingElement.diffuseConstant')
1854 @DocsEditable 1900 @DocsEditable
1855 final AnimatedNumber diffuseConstant; 1901 final AnimatedNumber diffuseConstant;
1856 1902
1857 @DomName('SVGFEDiffuseLightingElement.in1') 1903 @DomName('SVGFEDiffuseLightingElement.in1')
1858 @DocsEditable 1904 @DocsEditable
1859 final AnimatedString in1; 1905 final AnimatedString in1;
1860 1906
1861 @DomName('SVGFEDiffuseLightingElement.kernelUnitLengthX') 1907 @DomName('SVGFEDiffuseLightingElement.kernelUnitLengthX')
1862 @DocsEditable 1908 @DocsEditable
(...skipping 29 matching lines...) Expand all
1892 @DocsEditable 1938 @DocsEditable
1893 final AnimatedLength y; 1939 final AnimatedLength y;
1894 } 1940 }
1895 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1941 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1896 // for details. All rights reserved. Use of this source code is governed by a 1942 // for details. All rights reserved. Use of this source code is governed by a
1897 // BSD-style license that can be found in the LICENSE file. 1943 // BSD-style license that can be found in the LICENSE file.
1898 1944
1899 1945
1900 @DocsEditable 1946 @DocsEditable
1901 @DomName('SVGFEDisplacementMapElement') 1947 @DomName('SVGFEDisplacementMapElement')
1902 @SupportedBrowser(SupportedBrowser.CHROME)
1903 @SupportedBrowser(SupportedBrowser.FIREFOX)
1904 @SupportedBrowser(SupportedBrowser.IE, '10')
1905 @SupportedBrowser(SupportedBrowser.SAFARI)
1906 class FEDisplacementMapElement extends StyledElement implements FilterPrimitiveS tandardAttributes native "*SVGFEDisplacementMapElement" { 1948 class FEDisplacementMapElement extends StyledElement implements FilterPrimitiveS tandardAttributes native "*SVGFEDisplacementMapElement" {
1907 1949
1908 @DocsEditable
1909 factory FEDisplacementMapElement() => _SvgElementFactoryProvider.createSvgElem ent_tag("feDisplacementMap");
1910
1911 /// Checks if this type is supported on the current platform.
1912 static bool get supported => SvgElement.isTagSupported('feDisplacementMap') && (new SvgElement.tag('feDisplacementMap') is FEDisplacementMapElement);
1913
1914 static const int SVG_CHANNEL_A = 4; 1950 static const int SVG_CHANNEL_A = 4;
1915 1951
1916 static const int SVG_CHANNEL_B = 3; 1952 static const int SVG_CHANNEL_B = 3;
1917 1953
1918 static const int SVG_CHANNEL_G = 2; 1954 static const int SVG_CHANNEL_G = 2;
1919 1955
1920 static const int SVG_CHANNEL_R = 1; 1956 static const int SVG_CHANNEL_R = 1;
1921 1957
1922 static const int SVG_CHANNEL_UNKNOWN = 0; 1958 static const int SVG_CHANNEL_UNKNOWN = 0;
1923 1959
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
1963 @DocsEditable 1999 @DocsEditable
1964 final AnimatedLength y; 2000 final AnimatedLength y;
1965 } 2001 }
1966 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2002 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1967 // for details. All rights reserved. Use of this source code is governed by a 2003 // for details. All rights reserved. Use of this source code is governed by a
1968 // BSD-style license that can be found in the LICENSE file. 2004 // BSD-style license that can be found in the LICENSE file.
1969 2005
1970 2006
1971 @DocsEditable 2007 @DocsEditable
1972 @DomName('SVGFEDistantLightElement') 2008 @DomName('SVGFEDistantLightElement')
1973 @SupportedBrowser(SupportedBrowser.CHROME)
1974 @SupportedBrowser(SupportedBrowser.FIREFOX)
1975 @SupportedBrowser(SupportedBrowser.IE, '10')
1976 @SupportedBrowser(SupportedBrowser.SAFARI)
1977 class FEDistantLightElement extends SvgElement native "*SVGFEDistantLightElement " { 2009 class FEDistantLightElement extends SvgElement native "*SVGFEDistantLightElement " {
1978 2010
1979 @DocsEditable
1980 factory FEDistantLightElement() => _SvgElementFactoryProvider.createSvgElement _tag("feDistantLight");
1981
1982 /// Checks if this type is supported on the current platform.
1983 static bool get supported => SvgElement.isTagSupported('feDistantLight') && (n ew SvgElement.tag('feDistantLight') is FEDistantLightElement);
1984
1985 @DomName('SVGFEDistantLightElement.azimuth') 2011 @DomName('SVGFEDistantLightElement.azimuth')
1986 @DocsEditable 2012 @DocsEditable
1987 final AnimatedNumber azimuth; 2013 final AnimatedNumber azimuth;
1988 2014
1989 @DomName('SVGFEDistantLightElement.elevation') 2015 @DomName('SVGFEDistantLightElement.elevation')
1990 @DocsEditable 2016 @DocsEditable
1991 final AnimatedNumber elevation; 2017 final AnimatedNumber elevation;
1992 } 2018 }
1993 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2019 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1994 // for details. All rights reserved. Use of this source code is governed by a 2020 // for details. All rights reserved. Use of this source code is governed by a
1995 // BSD-style license that can be found in the LICENSE file. 2021 // BSD-style license that can be found in the LICENSE file.
1996 2022
1997 2023
1998 @DocsEditable 2024 @DocsEditable
2025 @DomName('SVGFEDropShadowElement')
2026 class FEDropShadowElement extends StyledElement implements FilterPrimitiveStanda rdAttributes native "*SVGFEDropShadowElement" {
2027
2028 @DomName('SVGFEDropShadowElement.dx')
2029 @DocsEditable
2030 final AnimatedNumber dx;
2031
2032 @DomName('SVGFEDropShadowElement.dy')
2033 @DocsEditable
2034 final AnimatedNumber dy;
2035
2036 @DomName('SVGFEDropShadowElement.in1')
2037 @DocsEditable
2038 final AnimatedString in1;
2039
2040 @DomName('SVGFEDropShadowElement.stdDeviationX')
2041 @DocsEditable
2042 final AnimatedNumber stdDeviationX;
2043
2044 @DomName('SVGFEDropShadowElement.stdDeviationY')
2045 @DocsEditable
2046 final AnimatedNumber stdDeviationY;
2047
2048 @DomName('SVGFEDropShadowElement.setStdDeviation')
2049 @DocsEditable
2050 void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
2051
2052 // From SVGFilterPrimitiveStandardAttributes
2053
2054 @DomName('SVGFEDropShadowElement.height')
2055 @DocsEditable
2056 final AnimatedLength height;
2057
2058 @DomName('SVGFEDropShadowElement.result')
2059 @DocsEditable
2060 final AnimatedString result;
2061
2062 @DomName('SVGFEDropShadowElement.width')
2063 @DocsEditable
2064 final AnimatedLength width;
2065
2066 @DomName('SVGFEDropShadowElement.x')
2067 @DocsEditable
2068 final AnimatedLength x;
2069
2070 @DomName('SVGFEDropShadowElement.y')
2071 @DocsEditable
2072 final AnimatedLength y;
2073 }
2074 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2075 // for details. All rights reserved. Use of this source code is governed by a
2076 // BSD-style license that can be found in the LICENSE file.
2077
2078
2079 @DocsEditable
1999 @DomName('SVGFEFloodElement') 2080 @DomName('SVGFEFloodElement')
2000 @SupportedBrowser(SupportedBrowser.CHROME)
2001 @SupportedBrowser(SupportedBrowser.FIREFOX)
2002 @SupportedBrowser(SupportedBrowser.IE, '10')
2003 @SupportedBrowser(SupportedBrowser.SAFARI)
2004 class FEFloodElement extends StyledElement implements FilterPrimitiveStandardAtt ributes native "*SVGFEFloodElement" { 2081 class FEFloodElement extends StyledElement implements FilterPrimitiveStandardAtt ributes native "*SVGFEFloodElement" {
2005 2082
2006 @DocsEditable
2007 factory FEFloodElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eFlood");
2008
2009 /// Checks if this type is supported on the current platform.
2010 static bool get supported => SvgElement.isTagSupported('feFlood') && (new SvgE lement.tag('feFlood') is FEFloodElement);
2011
2012 // From SVGFilterPrimitiveStandardAttributes 2083 // From SVGFilterPrimitiveStandardAttributes
2013 2084
2014 @DomName('SVGFEFloodElement.height') 2085 @DomName('SVGFEFloodElement.height')
2015 @DocsEditable 2086 @DocsEditable
2016 final AnimatedLength height; 2087 final AnimatedLength height;
2017 2088
2018 @DomName('SVGFEFloodElement.result') 2089 @DomName('SVGFEFloodElement.result')
2019 @DocsEditable 2090 @DocsEditable
2020 final AnimatedString result; 2091 final AnimatedString result;
2021 2092
2022 @DomName('SVGFEFloodElement.width') 2093 @DomName('SVGFEFloodElement.width')
2023 @DocsEditable 2094 @DocsEditable
2024 final AnimatedLength width; 2095 final AnimatedLength width;
2025 2096
2026 @DomName('SVGFEFloodElement.x') 2097 @DomName('SVGFEFloodElement.x')
2027 @DocsEditable 2098 @DocsEditable
2028 final AnimatedLength x; 2099 final AnimatedLength x;
2029 2100
2030 @DomName('SVGFEFloodElement.y') 2101 @DomName('SVGFEFloodElement.y')
2031 @DocsEditable 2102 @DocsEditable
2032 final AnimatedLength y; 2103 final AnimatedLength y;
2033 } 2104 }
2034 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2105 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2035 // for details. All rights reserved. Use of this source code is governed by a 2106 // for details. All rights reserved. Use of this source code is governed by a
2036 // BSD-style license that can be found in the LICENSE file. 2107 // BSD-style license that can be found in the LICENSE file.
2037 2108
2038 2109
2039 @DocsEditable 2110 @DocsEditable
2040 @DomName('SVGFEFuncAElement') 2111 @DomName('SVGFEFuncAElement')
2041 @SupportedBrowser(SupportedBrowser.CHROME) 2112 class FEFuncAElement extends ComponentTransferFunctionElement native "*SVGFEFunc AElement" {
2042 @SupportedBrowser(SupportedBrowser.FIREFOX)
2043 @SupportedBrowser(SupportedBrowser.IE, '10')
2044 @SupportedBrowser(SupportedBrowser.SAFARI)
2045 class FEFuncAElement extends _SVGComponentTransferFunctionElement native "*SVGFE FuncAElement" {
2046
2047 @DocsEditable
2048 factory FEFuncAElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eFuncA");
2049
2050 /// Checks if this type is supported on the current platform.
2051 static bool get supported => SvgElement.isTagSupported('feFuncA') && (new SvgE lement.tag('feFuncA') is FEFuncAElement);
2052 } 2113 }
2053 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2054 // for details. All rights reserved. Use of this source code is governed by a 2115 // for details. All rights reserved. Use of this source code is governed by a
2055 // BSD-style license that can be found in the LICENSE file. 2116 // BSD-style license that can be found in the LICENSE file.
2056 2117
2057 2118
2058 @DocsEditable 2119 @DocsEditable
2059 @DomName('SVGFEFuncBElement') 2120 @DomName('SVGFEFuncBElement')
2060 @SupportedBrowser(SupportedBrowser.CHROME) 2121 class FEFuncBElement extends ComponentTransferFunctionElement native "*SVGFEFunc BElement" {
2061 @SupportedBrowser(SupportedBrowser.FIREFOX)
2062 @SupportedBrowser(SupportedBrowser.IE, '10')
2063 @SupportedBrowser(SupportedBrowser.SAFARI)
2064 class FEFuncBElement extends _SVGComponentTransferFunctionElement native "*SVGFE FuncBElement" {
2065
2066 @DocsEditable
2067 factory FEFuncBElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eFuncB");
2068
2069 /// Checks if this type is supported on the current platform.
2070 static bool get supported => SvgElement.isTagSupported('feFuncB') && (new SvgE lement.tag('feFuncB') is FEFuncBElement);
2071 } 2122 }
2072 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2123 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2073 // for details. All rights reserved. Use of this source code is governed by a 2124 // for details. All rights reserved. Use of this source code is governed by a
2074 // BSD-style license that can be found in the LICENSE file. 2125 // BSD-style license that can be found in the LICENSE file.
2075 2126
2076 2127
2077 @DocsEditable 2128 @DocsEditable
2078 @DomName('SVGFEFuncGElement') 2129 @DomName('SVGFEFuncGElement')
2079 @SupportedBrowser(SupportedBrowser.CHROME) 2130 class FEFuncGElement extends ComponentTransferFunctionElement native "*SVGFEFunc GElement" {
2080 @SupportedBrowser(SupportedBrowser.FIREFOX)
2081 @SupportedBrowser(SupportedBrowser.IE, '10')
2082 @SupportedBrowser(SupportedBrowser.SAFARI)
2083 class FEFuncGElement extends _SVGComponentTransferFunctionElement native "*SVGFE FuncGElement" {
2084
2085 @DocsEditable
2086 factory FEFuncGElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eFuncG");
2087
2088 /// Checks if this type is supported on the current platform.
2089 static bool get supported => SvgElement.isTagSupported('feFuncG') && (new SvgE lement.tag('feFuncG') is FEFuncGElement);
2090 } 2131 }
2091 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2132 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2092 // for details. All rights reserved. Use of this source code is governed by a 2133 // for details. All rights reserved. Use of this source code is governed by a
2093 // BSD-style license that can be found in the LICENSE file. 2134 // BSD-style license that can be found in the LICENSE file.
2094 2135
2095 2136
2096 @DocsEditable 2137 @DocsEditable
2097 @DomName('SVGFEFuncRElement') 2138 @DomName('SVGFEFuncRElement')
2098 @SupportedBrowser(SupportedBrowser.CHROME) 2139 class FEFuncRElement extends ComponentTransferFunctionElement native "*SVGFEFunc RElement" {
2099 @SupportedBrowser(SupportedBrowser.FIREFOX)
2100 @SupportedBrowser(SupportedBrowser.IE, '10')
2101 @SupportedBrowser(SupportedBrowser.SAFARI)
2102 class FEFuncRElement extends _SVGComponentTransferFunctionElement native "*SVGFE FuncRElement" {
2103
2104 @DocsEditable
2105 factory FEFuncRElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eFuncR");
2106
2107 /// Checks if this type is supported on the current platform.
2108 static bool get supported => SvgElement.isTagSupported('feFuncR') && (new SvgE lement.tag('feFuncR') is FEFuncRElement);
2109 } 2140 }
2110 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2141 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2111 // for details. All rights reserved. Use of this source code is governed by a 2142 // for details. All rights reserved. Use of this source code is governed by a
2112 // BSD-style license that can be found in the LICENSE file. 2143 // BSD-style license that can be found in the LICENSE file.
2113 2144
2114 2145
2115 @DocsEditable 2146 @DocsEditable
2116 @DomName('SVGFEGaussianBlurElement') 2147 @DomName('SVGFEGaussianBlurElement')
2117 @SupportedBrowser(SupportedBrowser.CHROME)
2118 @SupportedBrowser(SupportedBrowser.FIREFOX)
2119 @SupportedBrowser(SupportedBrowser.IE, '10')
2120 @SupportedBrowser(SupportedBrowser.SAFARI)
2121 class FEGaussianBlurElement extends StyledElement implements FilterPrimitiveStan dardAttributes native "*SVGFEGaussianBlurElement" { 2148 class FEGaussianBlurElement extends StyledElement implements FilterPrimitiveStan dardAttributes native "*SVGFEGaussianBlurElement" {
2122 2149
2123 @DocsEditable
2124 factory FEGaussianBlurElement() => _SvgElementFactoryProvider.createSvgElement _tag("feGaussianBlur");
2125
2126 /// Checks if this type is supported on the current platform.
2127 static bool get supported => SvgElement.isTagSupported('feGaussianBlur') && (n ew SvgElement.tag('feGaussianBlur') is FEGaussianBlurElement);
2128
2129 @DomName('SVGFEGaussianBlurElement.in1') 2150 @DomName('SVGFEGaussianBlurElement.in1')
2130 @DocsEditable 2151 @DocsEditable
2131 final AnimatedString in1; 2152 final AnimatedString in1;
2132 2153
2133 @DomName('SVGFEGaussianBlurElement.stdDeviationX') 2154 @DomName('SVGFEGaussianBlurElement.stdDeviationX')
2134 @DocsEditable 2155 @DocsEditable
2135 final AnimatedNumber stdDeviationX; 2156 final AnimatedNumber stdDeviationX;
2136 2157
2137 @DomName('SVGFEGaussianBlurElement.stdDeviationY') 2158 @DomName('SVGFEGaussianBlurElement.stdDeviationY')
2138 @DocsEditable 2159 @DocsEditable
(...skipping 25 matching lines...) Expand all
2164 @DocsEditable 2185 @DocsEditable
2165 final AnimatedLength y; 2186 final AnimatedLength y;
2166 } 2187 }
2167 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2188 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2168 // for details. All rights reserved. Use of this source code is governed by a 2189 // for details. All rights reserved. Use of this source code is governed by a
2169 // BSD-style license that can be found in the LICENSE file. 2190 // BSD-style license that can be found in the LICENSE file.
2170 2191
2171 2192
2172 @DocsEditable 2193 @DocsEditable
2173 @DomName('SVGFEImageElement') 2194 @DomName('SVGFEImageElement')
2174 @SupportedBrowser(SupportedBrowser.CHROME)
2175 @SupportedBrowser(SupportedBrowser.FIREFOX)
2176 @SupportedBrowser(SupportedBrowser.IE, '10')
2177 @SupportedBrowser(SupportedBrowser.SAFARI)
2178 class FEImageElement extends StyledElement implements FilterPrimitiveStandardAtt ributes, UriReference, ExternalResourcesRequired, LangSpace native "*SVGFEImageE lement" { 2195 class FEImageElement extends StyledElement implements FilterPrimitiveStandardAtt ributes, UriReference, ExternalResourcesRequired, LangSpace native "*SVGFEImageE lement" {
2179 2196
2180 @DocsEditable
2181 factory FEImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eImage");
2182
2183 /// Checks if this type is supported on the current platform.
2184 static bool get supported => SvgElement.isTagSupported('feImage') && (new SvgE lement.tag('feImage') is FEImageElement);
2185
2186 @DomName('SVGFEImageElement.preserveAspectRatio') 2197 @DomName('SVGFEImageElement.preserveAspectRatio')
2187 @DocsEditable 2198 @DocsEditable
2188 final AnimatedPreserveAspectRatio preserveAspectRatio; 2199 final AnimatedPreserveAspectRatio preserveAspectRatio;
2189 2200
2190 // From SVGExternalResourcesRequired 2201 // From SVGExternalResourcesRequired
2191 2202
2192 @DomName('SVGFEImageElement.externalResourcesRequired') 2203 @DomName('SVGFEImageElement.externalResourcesRequired')
2193 @DocsEditable 2204 @DocsEditable
2194 final AnimatedBoolean externalResourcesRequired; 2205 final AnimatedBoolean externalResourcesRequired;
2195 2206
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
2231 @DocsEditable 2242 @DocsEditable
2232 final AnimatedString href; 2243 final AnimatedString href;
2233 } 2244 }
2234 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2245 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2235 // for details. All rights reserved. Use of this source code is governed by a 2246 // for details. All rights reserved. Use of this source code is governed by a
2236 // BSD-style license that can be found in the LICENSE file. 2247 // BSD-style license that can be found in the LICENSE file.
2237 2248
2238 2249
2239 @DocsEditable 2250 @DocsEditable
2240 @DomName('SVGFEMergeElement') 2251 @DomName('SVGFEMergeElement')
2241 @SupportedBrowser(SupportedBrowser.CHROME)
2242 @SupportedBrowser(SupportedBrowser.FIREFOX)
2243 @SupportedBrowser(SupportedBrowser.IE, '10')
2244 @SupportedBrowser(SupportedBrowser.SAFARI)
2245 class FEMergeElement extends StyledElement implements FilterPrimitiveStandardAtt ributes native "*SVGFEMergeElement" { 2252 class FEMergeElement extends StyledElement implements FilterPrimitiveStandardAtt ributes native "*SVGFEMergeElement" {
2246 2253
2247 @DocsEditable
2248 factory FEMergeElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eMerge");
2249
2250 /// Checks if this type is supported on the current platform.
2251 static bool get supported => SvgElement.isTagSupported('feMerge') && (new SvgE lement.tag('feMerge') is FEMergeElement);
2252
2253 // From SVGFilterPrimitiveStandardAttributes 2254 // From SVGFilterPrimitiveStandardAttributes
2254 2255
2255 @DomName('SVGFEMergeElement.height') 2256 @DomName('SVGFEMergeElement.height')
2256 @DocsEditable 2257 @DocsEditable
2257 final AnimatedLength height; 2258 final AnimatedLength height;
2258 2259
2259 @DomName('SVGFEMergeElement.result') 2260 @DomName('SVGFEMergeElement.result')
2260 @DocsEditable 2261 @DocsEditable
2261 final AnimatedString result; 2262 final AnimatedString result;
2262 2263
2263 @DomName('SVGFEMergeElement.width') 2264 @DomName('SVGFEMergeElement.width')
2264 @DocsEditable 2265 @DocsEditable
2265 final AnimatedLength width; 2266 final AnimatedLength width;
2266 2267
2267 @DomName('SVGFEMergeElement.x') 2268 @DomName('SVGFEMergeElement.x')
2268 @DocsEditable 2269 @DocsEditable
2269 final AnimatedLength x; 2270 final AnimatedLength x;
2270 2271
2271 @DomName('SVGFEMergeElement.y') 2272 @DomName('SVGFEMergeElement.y')
2272 @DocsEditable 2273 @DocsEditable
2273 final AnimatedLength y; 2274 final AnimatedLength y;
2274 } 2275 }
2275 // 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
2276 // 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
2277 // BSD-style license that can be found in the LICENSE file. 2278 // BSD-style license that can be found in the LICENSE file.
2278 2279
2279 2280
2280 @DocsEditable 2281 @DocsEditable
2281 @DomName('SVGFEMergeNodeElement') 2282 @DomName('SVGFEMergeNodeElement')
2282 @SupportedBrowser(SupportedBrowser.CHROME)
2283 @SupportedBrowser(SupportedBrowser.FIREFOX)
2284 @SupportedBrowser(SupportedBrowser.IE, '10')
2285 @SupportedBrowser(SupportedBrowser.SAFARI)
2286 class FEMergeNodeElement extends SvgElement native "*SVGFEMergeNodeElement" { 2283 class FEMergeNodeElement extends SvgElement native "*SVGFEMergeNodeElement" {
2287 2284
2288 @DocsEditable
2289 factory FEMergeNodeElement() => _SvgElementFactoryProvider.createSvgElement_ta g("feMergeNode");
2290
2291 /// Checks if this type is supported on the current platform.
2292 static bool get supported => SvgElement.isTagSupported('feMergeNode') && (new SvgElement.tag('feMergeNode') is FEMergeNodeElement);
2293
2294 @DomName('SVGFEMergeNodeElement.in1') 2285 @DomName('SVGFEMergeNodeElement.in1')
2295 @DocsEditable 2286 @DocsEditable
2296 final AnimatedString in1; 2287 final AnimatedString in1;
2297 } 2288 }
2298 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2289 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2299 // for details. All rights reserved. Use of this source code is governed by a 2290 // for details. All rights reserved. Use of this source code is governed by a
2300 // BSD-style license that can be found in the LICENSE file. 2291 // BSD-style license that can be found in the LICENSE file.
2301 2292
2302 2293
2303 @DocsEditable 2294 @DocsEditable
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
2352 @DocsEditable 2343 @DocsEditable
2353 final AnimatedLength y; 2344 final AnimatedLength y;
2354 } 2345 }
2355 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2346 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2356 // for details. All rights reserved. Use of this source code is governed by a 2347 // for details. All rights reserved. Use of this source code is governed by a
2357 // BSD-style license that can be found in the LICENSE file. 2348 // BSD-style license that can be found in the LICENSE file.
2358 2349
2359 2350
2360 @DocsEditable 2351 @DocsEditable
2361 @DomName('SVGFEOffsetElement') 2352 @DomName('SVGFEOffsetElement')
2362 @SupportedBrowser(SupportedBrowser.CHROME)
2363 @SupportedBrowser(SupportedBrowser.FIREFOX)
2364 @SupportedBrowser(SupportedBrowser.IE, '10')
2365 @SupportedBrowser(SupportedBrowser.SAFARI)
2366 class FEOffsetElement extends StyledElement implements FilterPrimitiveStandardAt tributes native "*SVGFEOffsetElement" { 2353 class FEOffsetElement extends StyledElement implements FilterPrimitiveStandardAt tributes native "*SVGFEOffsetElement" {
2367 2354
2368 @DocsEditable
2369 factory FEOffsetElement() => _SvgElementFactoryProvider.createSvgElement_tag(" feOffset");
2370
2371 /// Checks if this type is supported on the current platform.
2372 static bool get supported => SvgElement.isTagSupported('feOffset') && (new Svg Element.tag('feOffset') is FEOffsetElement);
2373
2374 @DomName('SVGFEOffsetElement.dx') 2355 @DomName('SVGFEOffsetElement.dx')
2375 @DocsEditable 2356 @DocsEditable
2376 final AnimatedNumber dx; 2357 final AnimatedNumber dx;
2377 2358
2378 @DomName('SVGFEOffsetElement.dy') 2359 @DomName('SVGFEOffsetElement.dy')
2379 @DocsEditable 2360 @DocsEditable
2380 final AnimatedNumber dy; 2361 final AnimatedNumber dy;
2381 2362
2382 @DomName('SVGFEOffsetElement.in1') 2363 @DomName('SVGFEOffsetElement.in1')
2383 @DocsEditable 2364 @DocsEditable
(...skipping 21 matching lines...) Expand all
2405 @DocsEditable 2386 @DocsEditable
2406 final AnimatedLength y; 2387 final AnimatedLength y;
2407 } 2388 }
2408 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2389 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2409 // for details. All rights reserved. Use of this source code is governed by a 2390 // for details. All rights reserved. Use of this source code is governed by a
2410 // BSD-style license that can be found in the LICENSE file. 2391 // BSD-style license that can be found in the LICENSE file.
2411 2392
2412 2393
2413 @DocsEditable 2394 @DocsEditable
2414 @DomName('SVGFEPointLightElement') 2395 @DomName('SVGFEPointLightElement')
2415 @SupportedBrowser(SupportedBrowser.CHROME)
2416 @SupportedBrowser(SupportedBrowser.FIREFOX)
2417 @SupportedBrowser(SupportedBrowser.IE, '10')
2418 @SupportedBrowser(SupportedBrowser.SAFARI)
2419 class FEPointLightElement extends SvgElement native "*SVGFEPointLightElement" { 2396 class FEPointLightElement extends SvgElement native "*SVGFEPointLightElement" {
2420 2397
2421 @DocsEditable
2422 factory FEPointLightElement() => _SvgElementFactoryProvider.createSvgElement_t ag("fePointLight");
2423
2424 /// Checks if this type is supported on the current platform.
2425 static bool get supported => SvgElement.isTagSupported('fePointLight') && (new SvgElement.tag('fePointLight') is FEPointLightElement);
2426
2427 @DomName('SVGFEPointLightElement.x') 2398 @DomName('SVGFEPointLightElement.x')
2428 @DocsEditable 2399 @DocsEditable
2429 final AnimatedNumber x; 2400 final AnimatedNumber x;
2430 2401
2431 @DomName('SVGFEPointLightElement.y') 2402 @DomName('SVGFEPointLightElement.y')
2432 @DocsEditable 2403 @DocsEditable
2433 final AnimatedNumber y; 2404 final AnimatedNumber y;
2434 2405
2435 @DomName('SVGFEPointLightElement.z') 2406 @DomName('SVGFEPointLightElement.z')
2436 @DocsEditable 2407 @DocsEditable
2437 final AnimatedNumber z; 2408 final AnimatedNumber z;
2438 } 2409 }
2439 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2410 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2440 // for details. All rights reserved. Use of this source code is governed by a 2411 // for details. All rights reserved. Use of this source code is governed by a
2441 // BSD-style license that can be found in the LICENSE file. 2412 // BSD-style license that can be found in the LICENSE file.
2442 2413
2443 2414
2444 @DocsEditable 2415 @DocsEditable
2445 @DomName('SVGFESpecularLightingElement') 2416 @DomName('SVGFESpecularLightingElement')
2446 @SupportedBrowser(SupportedBrowser.CHROME)
2447 @SupportedBrowser(SupportedBrowser.FIREFOX)
2448 @SupportedBrowser(SupportedBrowser.IE, '10')
2449 @SupportedBrowser(SupportedBrowser.SAFARI)
2450 class FESpecularLightingElement extends StyledElement implements FilterPrimitive StandardAttributes native "*SVGFESpecularLightingElement" { 2417 class FESpecularLightingElement extends StyledElement implements FilterPrimitive StandardAttributes native "*SVGFESpecularLightingElement" {
2451 2418
2452 @DocsEditable
2453 factory FESpecularLightingElement() => _SvgElementFactoryProvider.createSvgEle ment_tag("feSpecularLighting");
2454
2455 /// Checks if this type is supported on the current platform.
2456 static bool get supported => SvgElement.isTagSupported('feSpecularLighting') & & (new SvgElement.tag('feSpecularLighting') is FESpecularLightingElement);
2457
2458 @DomName('SVGFESpecularLightingElement.in1') 2419 @DomName('SVGFESpecularLightingElement.in1')
2459 @DocsEditable 2420 @DocsEditable
2460 final AnimatedString in1; 2421 final AnimatedString in1;
2461 2422
2462 @DomName('SVGFESpecularLightingElement.specularConstant') 2423 @DomName('SVGFESpecularLightingElement.specularConstant')
2463 @DocsEditable 2424 @DocsEditable
2464 final AnimatedNumber specularConstant; 2425 final AnimatedNumber specularConstant;
2465 2426
2466 @DomName('SVGFESpecularLightingElement.specularExponent') 2427 @DomName('SVGFESpecularLightingElement.specularExponent')
2467 @DocsEditable 2428 @DocsEditable
(...skipping 25 matching lines...) Expand all
2493 @DocsEditable 2454 @DocsEditable
2494 final AnimatedLength y; 2455 final AnimatedLength y;
2495 } 2456 }
2496 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2457 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2497 // for details. All rights reserved. Use of this source code is governed by a 2458 // for details. All rights reserved. Use of this source code is governed by a
2498 // BSD-style license that can be found in the LICENSE file. 2459 // BSD-style license that can be found in the LICENSE file.
2499 2460
2500 2461
2501 @DocsEditable 2462 @DocsEditable
2502 @DomName('SVGFESpotLightElement') 2463 @DomName('SVGFESpotLightElement')
2503 @SupportedBrowser(SupportedBrowser.CHROME)
2504 @SupportedBrowser(SupportedBrowser.FIREFOX)
2505 @SupportedBrowser(SupportedBrowser.IE, '10')
2506 @SupportedBrowser(SupportedBrowser.SAFARI)
2507 class FESpotLightElement extends SvgElement native "*SVGFESpotLightElement" { 2464 class FESpotLightElement extends SvgElement native "*SVGFESpotLightElement" {
2508 2465
2509 @DocsEditable
2510 factory FESpotLightElement() => _SvgElementFactoryProvider.createSvgElement_ta g("feSpotLight");
2511
2512 /// Checks if this type is supported on the current platform.
2513 static bool get supported => SvgElement.isTagSupported('feSpotLight') && (new SvgElement.tag('feSpotLight') is FESpotLightElement);
2514
2515 @DomName('SVGFESpotLightElement.limitingConeAngle') 2466 @DomName('SVGFESpotLightElement.limitingConeAngle')
2516 @DocsEditable 2467 @DocsEditable
2517 final AnimatedNumber limitingConeAngle; 2468 final AnimatedNumber limitingConeAngle;
2518 2469
2519 @DomName('SVGFESpotLightElement.pointsAtX') 2470 @DomName('SVGFESpotLightElement.pointsAtX')
2520 @DocsEditable 2471 @DocsEditable
2521 final AnimatedNumber pointsAtX; 2472 final AnimatedNumber pointsAtX;
2522 2473
2523 @DomName('SVGFESpotLightElement.pointsAtY') 2474 @DomName('SVGFESpotLightElement.pointsAtY')
2524 @DocsEditable 2475 @DocsEditable
(...skipping 19 matching lines...) Expand all
2544 @DocsEditable 2495 @DocsEditable
2545 final AnimatedNumber z; 2496 final AnimatedNumber z;
2546 } 2497 }
2547 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2498 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2548 // for details. All rights reserved. Use of this source code is governed by a 2499 // for details. All rights reserved. Use of this source code is governed by a
2549 // BSD-style license that can be found in the LICENSE file. 2500 // BSD-style license that can be found in the LICENSE file.
2550 2501
2551 2502
2552 @DocsEditable 2503 @DocsEditable
2553 @DomName('SVGFETileElement') 2504 @DomName('SVGFETileElement')
2554 @SupportedBrowser(SupportedBrowser.CHROME)
2555 @SupportedBrowser(SupportedBrowser.FIREFOX)
2556 @SupportedBrowser(SupportedBrowser.IE, '10')
2557 @SupportedBrowser(SupportedBrowser.SAFARI)
2558 class FETileElement extends StyledElement implements FilterPrimitiveStandardAttr ibutes native "*SVGFETileElement" { 2505 class FETileElement extends StyledElement implements FilterPrimitiveStandardAttr ibutes native "*SVGFETileElement" {
2559 2506
2560 @DocsEditable
2561 factory FETileElement() => _SvgElementFactoryProvider.createSvgElement_tag("fe Tile");
2562
2563 /// Checks if this type is supported on the current platform.
2564 static bool get supported => SvgElement.isTagSupported('feTile') && (new SvgEl ement.tag('feTile') is FETileElement);
2565
2566 @DomName('SVGFETileElement.in1') 2507 @DomName('SVGFETileElement.in1')
2567 @DocsEditable 2508 @DocsEditable
2568 final AnimatedString in1; 2509 final AnimatedString in1;
2569 2510
2570 // From SVGFilterPrimitiveStandardAttributes 2511 // From SVGFilterPrimitiveStandardAttributes
2571 2512
2572 @DomName('SVGFETileElement.height') 2513 @DomName('SVGFETileElement.height')
2573 @DocsEditable 2514 @DocsEditable
2574 final AnimatedLength height; 2515 final AnimatedLength height;
2575 2516
(...skipping 13 matching lines...) Expand all
2589 @DocsEditable 2530 @DocsEditable
2590 final AnimatedLength y; 2531 final AnimatedLength y;
2591 } 2532 }
2592 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2533 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2593 // for details. All rights reserved. Use of this source code is governed by a 2534 // for details. All rights reserved. Use of this source code is governed by a
2594 // BSD-style license that can be found in the LICENSE file. 2535 // BSD-style license that can be found in the LICENSE file.
2595 2536
2596 2537
2597 @DocsEditable 2538 @DocsEditable
2598 @DomName('SVGFETurbulenceElement') 2539 @DomName('SVGFETurbulenceElement')
2599 @SupportedBrowser(SupportedBrowser.CHROME)
2600 @SupportedBrowser(SupportedBrowser.FIREFOX)
2601 @SupportedBrowser(SupportedBrowser.IE, '10')
2602 @SupportedBrowser(SupportedBrowser.SAFARI)
2603 class FETurbulenceElement extends StyledElement implements FilterPrimitiveStanda rdAttributes native "*SVGFETurbulenceElement" { 2540 class FETurbulenceElement extends StyledElement implements FilterPrimitiveStanda rdAttributes native "*SVGFETurbulenceElement" {
2604 2541
2605 @DocsEditable
2606 factory FETurbulenceElement() => _SvgElementFactoryProvider.createSvgElement_t ag("feTurbulence");
2607
2608 /// Checks if this type is supported on the current platform.
2609 static bool get supported => SvgElement.isTagSupported('feTurbulence') && (new SvgElement.tag('feTurbulence') is FETurbulenceElement);
2610
2611 static const int SVG_STITCHTYPE_NOSTITCH = 2; 2542 static const int SVG_STITCHTYPE_NOSTITCH = 2;
2612 2543
2613 static const int SVG_STITCHTYPE_STITCH = 1; 2544 static const int SVG_STITCHTYPE_STITCH = 1;
2614 2545
2615 static const int SVG_STITCHTYPE_UNKNOWN = 0; 2546 static const int SVG_STITCHTYPE_UNKNOWN = 0;
2616 2547
2617 static const int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1; 2548 static const int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1;
2618 2549
2619 static const int SVG_TURBULENCE_TYPE_TURBULENCE = 2; 2550 static const int SVG_TURBULENCE_TYPE_TURBULENCE = 2;
2620 2551
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
2666 @DocsEditable 2597 @DocsEditable
2667 final AnimatedLength y; 2598 final AnimatedLength y;
2668 } 2599 }
2669 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2600 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2670 // for details. All rights reserved. Use of this source code is governed by a 2601 // for details. All rights reserved. Use of this source code is governed by a
2671 // BSD-style license that can be found in the LICENSE file. 2602 // BSD-style license that can be found in the LICENSE file.
2672 2603
2673 2604
2674 @DocsEditable 2605 @DocsEditable
2675 @DomName('SVGFilterElement') 2606 @DomName('SVGFilterElement')
2676 @SupportedBrowser(SupportedBrowser.CHROME)
2677 @SupportedBrowser(SupportedBrowser.FIREFOX)
2678 @SupportedBrowser(SupportedBrowser.IE, '10')
2679 @SupportedBrowser(SupportedBrowser.SAFARI)
2680 class FilterElement extends StyledElement implements UriReference, ExternalResou rcesRequired, LangSpace native "*SVGFilterElement" { 2607 class FilterElement extends StyledElement implements UriReference, ExternalResou rcesRequired, LangSpace native "*SVGFilterElement" {
2681 2608
2682 @DocsEditable 2609 @DocsEditable
2683 factory FilterElement() => _SvgElementFactoryProvider.createSvgElement_tag("fi lter"); 2610 factory FilterElement() => _SvgElementFactoryProvider.createSvgElement_tag("fi lter");
2684 2611
2685 /// Checks if this type is supported on the current platform.
2686 static bool get supported => SvgElement.isTagSupported('filter') && (new SvgEl ement.tag('filter') is FilterElement);
2687
2688 @DomName('SVGFilterElement.filterResX') 2612 @DomName('SVGFilterElement.filterResX')
2689 @DocsEditable 2613 @DocsEditable
2690 final AnimatedInteger filterResX; 2614 final AnimatedInteger filterResX;
2691 2615
2692 @DomName('SVGFilterElement.filterResY') 2616 @DomName('SVGFilterElement.filterResY')
2693 @DocsEditable 2617 @DocsEditable
2694 final AnimatedInteger filterResY; 2618 final AnimatedInteger filterResY;
2695 2619
2696 @DomName('SVGFilterElement.filterUnits') 2620 @DomName('SVGFilterElement.filterUnits')
2697 @DocsEditable 2621 @DocsEditable
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
2772 AnimatedPreserveAspectRatio preserveAspectRatio; 2696 AnimatedPreserveAspectRatio preserveAspectRatio;
2773 2697
2774 AnimatedRect viewBox; 2698 AnimatedRect viewBox;
2775 } 2699 }
2776 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2700 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2777 // for details. All rights reserved. Use of this source code is governed by a 2701 // for details. All rights reserved. Use of this source code is governed by a
2778 // BSD-style license that can be found in the LICENSE file. 2702 // BSD-style license that can be found in the LICENSE file.
2779 2703
2780 2704
2781 @DocsEditable 2705 @DocsEditable
2706 @DomName('SVGFontElement')
2707 class FontElement extends SvgElement native "*SVGFontElement" {
2708
2709 @DocsEditable
2710 factory FontElement() => _SvgElementFactoryProvider.createSvgElement_tag("font ");
2711 }
2712 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2713 // for details. All rights reserved. Use of this source code is governed by a
2714 // BSD-style license that can be found in the LICENSE file.
2715
2716
2717 @DocsEditable
2718 @DomName('SVGFontFaceElement')
2719 class FontFaceElement extends SvgElement native "*SVGFontFaceElement" {
2720
2721 @DocsEditable
2722 factory FontFaceElement() => _SvgElementFactoryProvider.createSvgElement_tag(" font-face");
2723 }
2724 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2725 // for details. All rights reserved. Use of this source code is governed by a
2726 // BSD-style license that can be found in the LICENSE file.
2727
2728
2729 @DocsEditable
2730 @DomName('SVGFontFaceFormatElement')
2731 class FontFaceFormatElement extends SvgElement native "*SVGFontFaceFormatElement " {
2732
2733 @DocsEditable
2734 factory FontFaceFormatElement() => _SvgElementFactoryProvider.createSvgElement _tag("font-face-format");
2735 }
2736 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2737 // for details. All rights reserved. Use of this source code is governed by a
2738 // BSD-style license that can be found in the LICENSE file.
2739
2740
2741 @DocsEditable
2742 @DomName('SVGFontFaceNameElement')
2743 class FontFaceNameElement extends SvgElement native "*SVGFontFaceNameElement" {
2744
2745 @DocsEditable
2746 factory FontFaceNameElement() => _SvgElementFactoryProvider.createSvgElement_t ag("font-face-name");
2747 }
2748 // 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
2750 // BSD-style license that can be found in the LICENSE file.
2751
2752
2753 @DocsEditable
2754 @DomName('SVGFontFaceSrcElement')
2755 class FontFaceSrcElement extends SvgElement native "*SVGFontFaceSrcElement" {
2756
2757 @DocsEditable
2758 factory FontFaceSrcElement() => _SvgElementFactoryProvider.createSvgElement_ta g("font-face-src");
2759 }
2760 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2761 // for details. All rights reserved. Use of this source code is governed by a
2762 // BSD-style license that can be found in the LICENSE file.
2763
2764
2765 @DocsEditable
2766 @DomName('SVGFontFaceUriElement')
2767 class FontFaceUriElement extends SvgElement native "*SVGFontFaceUriElement" {
2768
2769 @DocsEditable
2770 factory FontFaceUriElement() => _SvgElementFactoryProvider.createSvgElement_ta g("font-face-uri");
2771 }
2772 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2773 // for details. All rights reserved. Use of this source code is governed by a
2774 // BSD-style license that can be found in the LICENSE file.
2775
2776
2777 @DocsEditable
2782 @DomName('SVGForeignObjectElement') 2778 @DomName('SVGForeignObjectElement')
2783 @SupportedBrowser(SupportedBrowser.CHROME)
2784 @SupportedBrowser(SupportedBrowser.FIREFOX)
2785 @SupportedBrowser(SupportedBrowser.SAFARI)
2786 class ForeignObjectElement extends StyledElement implements Transformable, Tests , ExternalResourcesRequired, LangSpace native "*SVGForeignObjectElement" { 2779 class ForeignObjectElement extends StyledElement implements Transformable, Tests , ExternalResourcesRequired, LangSpace native "*SVGForeignObjectElement" {
2787 2780
2788 @DocsEditable 2781 @DocsEditable
2789 factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_ tag("foreignObject"); 2782 factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_ tag("foreignObject");
2790 2783
2791 /// Checks if this type is supported on the current platform.
2792 static bool get supported => SvgElement.isTagSupported('foreignObject') && (ne w SvgElement.tag('foreignObject') is ForeignObjectElement);
2793
2794 @DomName('SVGForeignObjectElement.height') 2784 @DomName('SVGForeignObjectElement.height')
2795 @DocsEditable 2785 @DocsEditable
2796 final AnimatedLength height; 2786 final AnimatedLength height;
2797 2787
2798 @DomName('SVGForeignObjectElement.width') 2788 @DomName('SVGForeignObjectElement.width')
2799 @DocsEditable 2789 @DocsEditable
2800 final AnimatedLength width; 2790 final AnimatedLength width;
2801 2791
2802 @DomName('SVGForeignObjectElement.x') 2792 @DomName('SVGForeignObjectElement.x')
2803 @DocsEditable 2793 @DocsEditable
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
2954 @DomName('SVGGElement.transform') 2944 @DomName('SVGGElement.transform')
2955 @DocsEditable 2945 @DocsEditable
2956 final AnimatedTransformList transform; 2946 final AnimatedTransformList transform;
2957 } 2947 }
2958 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2959 // for details. All rights reserved. Use of this source code is governed by a 2949 // for details. All rights reserved. Use of this source code is governed by a
2960 // BSD-style license that can be found in the LICENSE file. 2950 // BSD-style license that can be found in the LICENSE file.
2961 2951
2962 2952
2963 @DocsEditable 2953 @DocsEditable
2954 @DomName('SVGGlyphElement')
2955 class GlyphElement extends SvgElement native "*SVGGlyphElement" {
2956
2957 @DocsEditable
2958 factory GlyphElement() => _SvgElementFactoryProvider.createSvgElement_tag("gly ph");
2959 }
2960 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2961 // for details. All rights reserved. Use of this source code is governed by a
2962 // BSD-style license that can be found in the LICENSE file.
2963
2964
2965 @DocsEditable
2966 @DomName('SVGGlyphRefElement')
2967 class GlyphRefElement extends StyledElement implements UriReference native "*SVG GlyphRefElement" {
2968
2969 @DomName('SVGGlyphRefElement.dx')
2970 @DocsEditable
2971 num dx;
2972
2973 @DomName('SVGGlyphRefElement.dy')
2974 @DocsEditable
2975 num dy;
2976
2977 @DomName('SVGGlyphRefElement.format')
2978 @DocsEditable
2979 String format;
2980
2981 @DomName('SVGGlyphRefElement.glyphRef')
2982 @DocsEditable
2983 String glyphRef;
2984
2985 @DomName('SVGGlyphRefElement.x')
2986 @DocsEditable
2987 num x;
2988
2989 @DomName('SVGGlyphRefElement.y')
2990 @DocsEditable
2991 num y;
2992
2993 // From SVGURIReference
2994
2995 @DomName('SVGGlyphRefElement.href')
2996 @DocsEditable
2997 final AnimatedString href;
2998 }
2999 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3000 // for details. All rights reserved. Use of this source code is governed by a
3001 // BSD-style license that can be found in the LICENSE file.
3002
3003
3004 @DocsEditable
3005 @DomName('SVGGradientElement')
3006 class GradientElement extends StyledElement implements UriReference, ExternalRes ourcesRequired native "*SVGGradientElement" {
3007
3008 static const int SVG_SPREADMETHOD_PAD = 1;
3009
3010 static const int SVG_SPREADMETHOD_REFLECT = 2;
3011
3012 static const int SVG_SPREADMETHOD_REPEAT = 3;
3013
3014 static const int SVG_SPREADMETHOD_UNKNOWN = 0;
3015
3016 @DomName('SVGGradientElement.gradientTransform')
3017 @DocsEditable
3018 final AnimatedTransformList gradientTransform;
3019
3020 @DomName('SVGGradientElement.gradientUnits')
3021 @DocsEditable
3022 final AnimatedEnumeration gradientUnits;
3023
3024 @DomName('SVGGradientElement.spreadMethod')
3025 @DocsEditable
3026 final AnimatedEnumeration spreadMethod;
3027
3028 // From SVGExternalResourcesRequired
3029
3030 @DomName('SVGGradientElement.externalResourcesRequired')
3031 @DocsEditable
3032 final AnimatedBoolean externalResourcesRequired;
3033
3034 // From SVGURIReference
3035
3036 @DomName('SVGGradientElement.href')
3037 @DocsEditable
3038 final AnimatedString href;
3039 }
3040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3041 // for details. All rights reserved. Use of this source code is governed by a
3042 // BSD-style license that can be found in the LICENSE file.
3043
3044
3045 @DocsEditable
3046 @DomName('SVGHKernElement')
3047 class HKernElement extends SvgElement native "*SVGHKernElement" {
3048
3049 @DocsEditable
3050 factory HKernElement() => _SvgElementFactoryProvider.createSvgElement_tag("hke rn");
3051 }
3052 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3053 // for details. All rights reserved. Use of this source code is governed by a
3054 // BSD-style license that can be found in the LICENSE file.
3055
3056
3057 @DocsEditable
2964 @DomName('SVGImageElement') 3058 @DomName('SVGImageElement')
2965 class ImageElement extends StyledElement implements UriReference, Tests, Transfo rmable, ExternalResourcesRequired, LangSpace native "*SVGImageElement" { 3059 class ImageElement extends StyledElement implements UriReference, Tests, Transfo rmable, ExternalResourcesRequired, LangSpace native "*SVGImageElement" {
2966 3060
2967 @DocsEditable 3061 @DocsEditable
2968 factory ImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("ima ge"); 3062 factory ImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("ima ge");
2969 3063
2970 @DomName('SVGImageElement.height') 3064 @DomName('SVGImageElement.height')
2971 @DocsEditable 3065 @DocsEditable
2972 final AnimatedLength height; 3066 final AnimatedLength height;
2973 3067
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
3059 3153
3060 @DomName('SVGImageElement.href') 3154 @DomName('SVGImageElement.href')
3061 @DocsEditable 3155 @DocsEditable
3062 final AnimatedString href; 3156 final AnimatedString href;
3063 } 3157 }
3064 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3158 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3065 // for details. All rights reserved. Use of this source code is governed by a 3159 // for details. All rights reserved. Use of this source code is governed by a
3066 // BSD-style license that can be found in the LICENSE file. 3160 // BSD-style license that can be found in the LICENSE file.
3067 3161
3068 3162
3069 @DocsEditable
3070 @DomName('SVGLangSpace') 3163 @DomName('SVGLangSpace')
3071 class LangSpace native "*SVGLangSpace" { 3164 abstract class LangSpace {
3072 3165
3073 /// Checks if this type is supported on the current platform.
3074 static bool supported(SvgElement element) => JS('bool', '#.xmlspace !== undefi ned && #.xmllang !== undefined', element, element);
3075
3076 @DomName('SVGLangSpace.xmllang')
3077 @DocsEditable
3078 String xmllang; 3166 String xmllang;
3079 3167
3080 @DomName('SVGLangSpace.xmlspace')
3081 @DocsEditable
3082 String xmlspace; 3168 String xmlspace;
3083 } 3169 }
3084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3170 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3085 // for details. All rights reserved. Use of this source code is governed by a 3171 // for details. All rights reserved. Use of this source code is governed by a
3086 // BSD-style license that can be found in the LICENSE file. 3172 // BSD-style license that can be found in the LICENSE file.
3087 3173
3088 3174
3089 @DocsEditable 3175 @DocsEditable
3090 @DomName('SVGLength') 3176 @DomName('SVGLength')
3091 class Length native "*SVGLength" { 3177 class Length native "*SVGLength" {
(...skipping 361 matching lines...) Expand 10 before | Expand all | Expand 10 after
3453 @DocsEditable 3539 @DocsEditable
3454 final AnimatedTransformList transform; 3540 final AnimatedTransformList transform;
3455 } 3541 }
3456 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3457 // for details. All rights reserved. Use of this source code is governed by a 3543 // for details. All rights reserved. Use of this source code is governed by a
3458 // BSD-style license that can be found in the LICENSE file. 3544 // BSD-style license that can be found in the LICENSE file.
3459 3545
3460 3546
3461 @DocsEditable 3547 @DocsEditable
3462 @DomName('SVGLinearGradientElement') 3548 @DomName('SVGLinearGradientElement')
3463 class LinearGradientElement extends _SVGGradientElement native "*SVGLinearGradie ntElement" { 3549 class LinearGradientElement extends GradientElement native "*SVGLinearGradientEl ement" {
3464 3550
3465 @DocsEditable 3551 @DocsEditable
3466 factory LinearGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("linearGradient"); 3552 factory LinearGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("linearGradient");
3467 3553
3468 @DomName('SVGLinearGradientElement.x1') 3554 @DomName('SVGLinearGradientElement.x1')
3469 @DocsEditable 3555 @DocsEditable
3470 final AnimatedLength x1; 3556 final AnimatedLength x1;
3471 3557
3472 @DomName('SVGLinearGradientElement.x2') 3558 @DomName('SVGLinearGradientElement.x2')
3473 @DocsEditable 3559 @DocsEditable
(...skipping 26 matching lines...) Expand all
3500 Matrix getScreenCTM(); 3586 Matrix getScreenCTM();
3501 3587
3502 Matrix getTransformToElement(SvgElement element); 3588 Matrix getTransformToElement(SvgElement element);
3503 } 3589 }
3504 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3590 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3505 // for details. All rights reserved. Use of this source code is governed by a 3591 // for details. All rights reserved. Use of this source code is governed by a
3506 // BSD-style license that can be found in the LICENSE file. 3592 // BSD-style license that can be found in the LICENSE file.
3507 3593
3508 3594
3509 @DocsEditable 3595 @DocsEditable
3596 @DomName('SVGMPathElement')
3597 class MPathElement extends SvgElement implements UriReference, ExternalResources Required native "*SVGMPathElement" {
3598
3599 @DocsEditable
3600 factory MPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("mpa th");
3601
3602 // From SVGExternalResourcesRequired
3603
3604 @DomName('SVGMPathElement.externalResourcesRequired')
3605 @DocsEditable
3606 final AnimatedBoolean externalResourcesRequired;
3607
3608 // From SVGURIReference
3609
3610 @DomName('SVGMPathElement.href')
3611 @DocsEditable
3612 final AnimatedString href;
3613 }
3614 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3615 // for details. All rights reserved. Use of this source code is governed by a
3616 // BSD-style license that can be found in the LICENSE file.
3617
3618
3619 @DocsEditable
3510 @DomName('SVGMarkerElement') 3620 @DomName('SVGMarkerElement')
3511 class MarkerElement extends StyledElement implements FitToViewBox, ExternalResou rcesRequired, LangSpace native "*SVGMarkerElement" { 3621 class MarkerElement extends StyledElement implements FitToViewBox, ExternalResou rcesRequired, LangSpace native "*SVGMarkerElement" {
3512 3622
3513 @DocsEditable 3623 @DocsEditable
3514 factory MarkerElement() => _SvgElementFactoryProvider.createSvgElement_tag("ma rker"); 3624 factory MarkerElement() => _SvgElementFactoryProvider.createSvgElement_tag("ma rker");
3515 3625
3516 static const int SVG_MARKERUNITS_STROKEWIDTH = 2; 3626 static const int SVG_MARKERUNITS_STROKEWIDTH = 2;
3517 3627
3518 static const int SVG_MARKERUNITS_UNKNOWN = 0; 3628 static const int SVG_MARKERUNITS_UNKNOWN = 0;
3519 3629
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
3742 @DocsEditable 3852 @DocsEditable
3743 @DomName('SVGMetadataElement') 3853 @DomName('SVGMetadataElement')
3744 class MetadataElement extends SvgElement native "*SVGMetadataElement" { 3854 class MetadataElement extends SvgElement native "*SVGMetadataElement" {
3745 } 3855 }
3746 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3856 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3747 // for details. All rights reserved. Use of this source code is governed by a 3857 // for details. All rights reserved. Use of this source code is governed by a
3748 // BSD-style license that can be found in the LICENSE file. 3858 // BSD-style license that can be found in the LICENSE file.
3749 3859
3750 3860
3751 @DocsEditable 3861 @DocsEditable
3862 @DomName('SVGMissingGlyphElement')
3863 class MissingGlyphElement extends StyledElement native "*SVGMissingGlyphElement" {
3864 }
3865 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3866 // for details. All rights reserved. Use of this source code is governed by a
3867 // BSD-style license that can be found in the LICENSE file.
3868
3869
3870 @DocsEditable
3752 @DomName('SVGNumber') 3871 @DomName('SVGNumber')
3753 class Number native "*SVGNumber" { 3872 class Number native "*SVGNumber" {
3754 3873
3755 @DomName('SVGNumber.value') 3874 @DomName('SVGNumber.value')
3756 @DocsEditable 3875 @DocsEditable
3757 num value; 3876 num value;
3758 } 3877 }
3759 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3878 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3760 // for details. All rights reserved. Use of this source code is governed by a 3879 // for details. All rights reserved. Use of this source code is governed by a
3761 // BSD-style license that can be found in the LICENSE file. 3880 // BSD-style license that can be found in the LICENSE file.
(...skipping 1521 matching lines...) Expand 10 before | Expand all | Expand 10 after
5283 @DocsEditable 5402 @DocsEditable
5284 int meetOrSlice; 5403 int meetOrSlice;
5285 } 5404 }
5286 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5405 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5287 // for details. All rights reserved. Use of this source code is governed by a 5406 // for details. All rights reserved. Use of this source code is governed by a
5288 // BSD-style license that can be found in the LICENSE file. 5407 // BSD-style license that can be found in the LICENSE file.
5289 5408
5290 5409
5291 @DocsEditable 5410 @DocsEditable
5292 @DomName('SVGRadialGradientElement') 5411 @DomName('SVGRadialGradientElement')
5293 class RadialGradientElement extends _SVGGradientElement native "*SVGRadialGradie ntElement" { 5412 class RadialGradientElement extends GradientElement native "*SVGRadialGradientEl ement" {
5294 5413
5295 @DocsEditable 5414 @DocsEditable
5296 factory RadialGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("radialGradient"); 5415 factory RadialGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("radialGradient");
5297 5416
5298 @DomName('SVGRadialGradientElement.cx') 5417 @DomName('SVGRadialGradientElement.cx')
5299 @DocsEditable 5418 @DocsEditable
5300 final AnimatedLength cx; 5419 final AnimatedLength cx;
5301 5420
5302 @DomName('SVGRadialGradientElement.cy') 5421 @DomName('SVGRadialGradientElement.cy')
5303 @DocsEditable 5422 @DocsEditable
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
5497 @DocsEditable 5616 @DocsEditable
5498 final AnimatedString href; 5617 final AnimatedString href;
5499 } 5618 }
5500 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5619 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5501 // for details. All rights reserved. Use of this source code is governed by a 5620 // for details. All rights reserved. Use of this source code is governed by a
5502 // BSD-style license that can be found in the LICENSE file. 5621 // BSD-style license that can be found in the LICENSE file.
5503 5622
5504 5623
5505 @DocsEditable 5624 @DocsEditable
5506 @DomName('SVGSetElement') 5625 @DomName('SVGSetElement')
5507 @SupportedBrowser(SupportedBrowser.CHROME)
5508 @SupportedBrowser(SupportedBrowser.FIREFOX)
5509 @SupportedBrowser(SupportedBrowser.SAFARI)
5510 class SetElement extends AnimationElement native "*SVGSetElement" { 5626 class SetElement extends AnimationElement native "*SVGSetElement" {
5511 5627
5512 @DocsEditable 5628 @DocsEditable
5513 factory SetElement() => _SvgElementFactoryProvider.createSvgElement_tag("set") ; 5629 factory SetElement() => _SvgElementFactoryProvider.createSvgElement_tag("set") ;
5514
5515 /// Checks if this type is supported on the current platform.
5516 static bool get supported => SvgElement.isTagSupported('set') && (new SvgEleme nt.tag('set') is SetElement);
5517 } 5630 }
5518 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5631 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5519 // for details. All rights reserved. Use of this source code is governed by a 5632 // for details. All rights reserved. Use of this source code is governed by a
5520 // BSD-style license that can be found in the LICENSE file. 5633 // BSD-style license that can be found in the LICENSE file.
5521 5634
5522 5635
5523 @DocsEditable 5636 @DocsEditable
5524 @DomName('SVGStopElement') 5637 @DomName('SVGStopElement')
5525 class StopElement extends StyledElement native "*SVGStopElement" { 5638 class StopElement extends StyledElement native "*SVGStopElement" {
5526 5639
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
5936 6049
5937 HtmlCollection get $dom_children { 6050 HtmlCollection get $dom_children {
5938 throw new UnsupportedError("Cannot get dom_children on SVG."); 6051 throw new UnsupportedError("Cannot get dom_children on SVG.");
5939 } 6052 }
5940 6053
5941 bool get isContentEditable => false; 6054 bool get isContentEditable => false;
5942 void click() { 6055 void click() {
5943 throw new UnsupportedError("Cannot invoke click SVG."); 6056 throw new UnsupportedError("Cannot invoke click SVG.");
5944 } 6057 }
5945 6058
5946 /**
5947 * Checks to see if the SVG element type is supported by the current platform.
5948 *
5949 * The tag should be a valid SVG element tag name.
5950 */
5951 static bool isTagSupported(String tag) {
5952 var e = new SvgElement.tag(tag);
5953 return e is SvgElement && !(e is UnknownElement);
5954 }
5955 6059
5956 // Shadowing definition. 6060 // Shadowing definition.
5957 String get id => JS("String", "#.id", this); 6061 String get id => JS("String", "#.id", this);
5958 6062
5959 void set id(String value) { 6063 void set id(String value) {
5960 JS("void", "#.id = #", this, value); 6064 JS("void", "#.id = #", this, value);
5961 } 6065 }
5962 6066
5963 @JSName('ownerSVGElement') 6067 @JSName('ownerSVGElement')
5964 @DomName('SVGElement.ownerSVGElement') 6068 @DomName('SVGElement.ownerSVGElement')
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
6381 @DomName('SVGSymbolElement.xmlspace') 6485 @DomName('SVGSymbolElement.xmlspace')
6382 @DocsEditable 6486 @DocsEditable
6383 String xmlspace; 6487 String xmlspace;
6384 } 6488 }
6385 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6489 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6386 // for details. All rights reserved. Use of this source code is governed by a 6490 // for details. All rights reserved. Use of this source code is governed by a
6387 // BSD-style license that can be found in the LICENSE file. 6491 // BSD-style license that can be found in the LICENSE file.
6388 6492
6389 6493
6390 @DocsEditable 6494 @DocsEditable
6495 @DomName('SVGTRefElement')
6496 class TRefElement extends TextPositioningElement implements UriReference native "*SVGTRefElement" {
6497
6498 @DocsEditable
6499 factory TRefElement() => _SvgElementFactoryProvider.createSvgElement_tag("tref ");
6500
6501 // From SVGURIReference
6502
6503 @DomName('SVGTRefElement.href')
6504 @DocsEditable
6505 final AnimatedString href;
6506 }
6507 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6508 // for details. All rights reserved. Use of this source code is governed by a
6509 // BSD-style license that can be found in the LICENSE file.
6510
6511
6512 @DocsEditable
6391 @DomName('SVGTSpanElement') 6513 @DomName('SVGTSpanElement')
6392 class TSpanElement extends TextPositioningElement native "*SVGTSpanElement" { 6514 class TSpanElement extends TextPositioningElement native "*SVGTSpanElement" {
6393 6515
6394 @DocsEditable 6516 @DocsEditable
6395 factory TSpanElement() => _SvgElementFactoryProvider.createSvgElement_tag("tsp an"); 6517 factory TSpanElement() => _SvgElementFactoryProvider.createSvgElement_tag("tsp an");
6396 } 6518 }
6397 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6519 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6398 // for details. All rights reserved. Use of this source code is governed by a 6520 // for details. All rights reserved. Use of this source code is governed by a
6399 // BSD-style license that can be found in the LICENSE file. 6521 // BSD-style license that can be found in the LICENSE file.
6400 6522
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
7086 @DomName('SVGUseElement.href') 7208 @DomName('SVGUseElement.href')
7087 @DocsEditable 7209 @DocsEditable
7088 final AnimatedString href; 7210 final AnimatedString href;
7089 } 7211 }
7090 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7212 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7091 // for details. All rights reserved. Use of this source code is governed by a 7213 // for details. All rights reserved. Use of this source code is governed by a
7092 // BSD-style license that can be found in the LICENSE file. 7214 // BSD-style license that can be found in the LICENSE file.
7093 7215
7094 7216
7095 @DocsEditable 7217 @DocsEditable
7218 @DomName('SVGVKernElement')
7219 class VKernElement extends SvgElement native "*SVGVKernElement" {
7220
7221 @DocsEditable
7222 factory VKernElement() => _SvgElementFactoryProvider.createSvgElement_tag("vke rn");
7223 }
7224 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7225 // for details. All rights reserved. Use of this source code is governed by a
7226 // BSD-style license that can be found in the LICENSE file.
7227
7228
7229 @DocsEditable
7096 @DomName('SVGViewElement') 7230 @DomName('SVGViewElement')
7097 class ViewElement extends SvgElement implements FitToViewBox, ExternalResourcesR equired, ZoomAndPan native "*SVGViewElement" { 7231 class ViewElement extends SvgElement implements FitToViewBox, ExternalResourcesR equired, ZoomAndPan native "*SVGViewElement" {
7098 7232
7099 @DocsEditable 7233 @DocsEditable
7100 factory ViewElement() => _SvgElementFactoryProvider.createSvgElement_tag("view "); 7234 factory ViewElement() => _SvgElementFactoryProvider.createSvgElement_tag("view ");
7101 7235
7102 @DomName('SVGViewElement.viewTarget') 7236 @DomName('SVGViewElement.viewTarget')
7103 @DocsEditable 7237 @DocsEditable
7104 final StringList viewTarget; 7238 final StringList viewTarget;
7105 7239
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
7405 7539
7406 List<ElementInstance> getRange(int start, int rangeLength) => 7540 List<ElementInstance> getRange(int start, int rangeLength) =>
7407 Lists.getRange(this, start, rangeLength, <ElementInstance>[]); 7541 Lists.getRange(this, start, rangeLength, <ElementInstance>[]);
7408 7542
7409 // -- end List<ElementInstance> mixins. 7543 // -- end List<ElementInstance> mixins.
7410 7544
7411 @DomName('SVGElementInstanceList.item') 7545 @DomName('SVGElementInstanceList.item')
7412 @DocsEditable 7546 @DocsEditable
7413 ElementInstance item(int index) native; 7547 ElementInstance item(int index) native;
7414 } 7548 }
7415 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7416 // for details. All rights reserved. Use of this source code is governed by a
7417 // BSD-style license that can be found in the LICENSE file.
7418
7419
7420 @DocsEditable
7421 @DomName('SVGAltGlyphDefElement')
7422 class _SVGAltGlyphDefElement extends SvgElement native "*SVGAltGlyphDefElement" {
7423 }
7424 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7425 // for details. All rights reserved. Use of this source code is governed by a
7426 // BSD-style license that can be found in the LICENSE file.
7427
7428
7429 @DocsEditable
7430 @DomName('SVGAltGlyphItemElement')
7431 class _SVGAltGlyphItemElement extends SvgElement native "*SVGAltGlyphItemElement " {
7432 }
7433 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7434 // for details. All rights reserved. Use of this source code is governed by a
7435 // BSD-style license that can be found in the LICENSE file.
7436
7437
7438 @DocsEditable
7439 @DomName('SVGAnimateColorElement')
7440 class _SVGAnimateColorElement extends AnimationElement native "*SVGAnimateColorE lement" {
7441 }
7442 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7443 // for details. All rights reserved. Use of this source code is governed by a
7444 // BSD-style license that can be found in the LICENSE file.
7445
7446
7447 @DocsEditable
7448 @DomName('SVGComponentTransferFunctionElement')
7449 class _SVGComponentTransferFunctionElement extends SvgElement native "*SVGCompon entTransferFunctionElement" {
7450
7451 static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
7452
7453 static const int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
7454
7455 static const int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
7456
7457 static const int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
7458
7459 static const int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
7460
7461 static const int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
7462
7463 @DomName('SVGComponentTransferFunctionElement.amplitude')
7464 @DocsEditable
7465 final AnimatedNumber amplitude;
7466
7467 @DomName('SVGComponentTransferFunctionElement.exponent')
7468 @DocsEditable
7469 final AnimatedNumber exponent;
7470
7471 @DomName('SVGComponentTransferFunctionElement.intercept')
7472 @DocsEditable
7473 final AnimatedNumber intercept;
7474
7475 @DomName('SVGComponentTransferFunctionElement.offset')
7476 @DocsEditable
7477 final AnimatedNumber offset;
7478
7479 @DomName('SVGComponentTransferFunctionElement.slope')
7480 @DocsEditable
7481 final AnimatedNumber slope;
7482
7483 @DomName('SVGComponentTransferFunctionElement.tableValues')
7484 @DocsEditable
7485 final AnimatedNumberList tableValues;
7486
7487 @DomName('SVGComponentTransferFunctionElement.type')
7488 @DocsEditable
7489 final AnimatedEnumeration type;
7490 }
7491 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7492 // for details. All rights reserved. Use of this source code is governed by a
7493 // BSD-style license that can be found in the LICENSE file.
7494
7495
7496 @DocsEditable
7497 @DomName('SVGCursorElement')
7498 class _SVGCursorElement extends SvgElement implements UriReference, Tests, Exter nalResourcesRequired native "*SVGCursorElement" {
7499
7500 @DocsEditable
7501 factory _SVGCursorElement() => _SvgElementFactoryProvider.createSvgElement_tag ("cursor");
7502
7503 /// Checks if this type is supported on the current platform.
7504 static bool get supported => SvgElement.isTagSupported('cursor') && (new SvgEl ement.tag('cursor') is _SVGCursorElement);
7505
7506 @DomName('SVGCursorElement.x')
7507 @DocsEditable
7508 final AnimatedLength x;
7509
7510 @DomName('SVGCursorElement.y')
7511 @DocsEditable
7512 final AnimatedLength y;
7513
7514 // From SVGExternalResourcesRequired
7515
7516 @DomName('SVGCursorElement.externalResourcesRequired')
7517 @DocsEditable
7518 final AnimatedBoolean externalResourcesRequired;
7519
7520 // From SVGTests
7521
7522 @DomName('SVGCursorElement.requiredExtensions')
7523 @DocsEditable
7524 final StringList requiredExtensions;
7525
7526 @DomName('SVGCursorElement.requiredFeatures')
7527 @DocsEditable
7528 final StringList requiredFeatures;
7529
7530 @DomName('SVGCursorElement.systemLanguage')
7531 @DocsEditable
7532 final StringList systemLanguage;
7533
7534 @DomName('SVGCursorElement.hasExtension')
7535 @DocsEditable
7536 bool hasExtension(String extension) native;
7537
7538 // From SVGURIReference
7539
7540 @DomName('SVGCursorElement.href')
7541 @DocsEditable
7542 final AnimatedString href;
7543 }
7544 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7545 // for details. All rights reserved. Use of this source code is governed by a
7546 // BSD-style license that can be found in the LICENSE file.
7547
7548
7549 @DocsEditable
7550 @DomName('SVGFEDropShadowElement')
7551 class _SVGFEDropShadowElement extends StyledElement implements FilterPrimitiveSt andardAttributes native "*SVGFEDropShadowElement" {
7552
7553 @DomName('SVGFEDropShadowElement.dx')
7554 @DocsEditable
7555 final AnimatedNumber dx;
7556
7557 @DomName('SVGFEDropShadowElement.dy')
7558 @DocsEditable
7559 final AnimatedNumber dy;
7560
7561 @DomName('SVGFEDropShadowElement.in1')
7562 @DocsEditable
7563 final AnimatedString in1;
7564
7565 @DomName('SVGFEDropShadowElement.stdDeviationX')
7566 @DocsEditable
7567 final AnimatedNumber stdDeviationX;
7568
7569 @DomName('SVGFEDropShadowElement.stdDeviationY')
7570 @DocsEditable
7571 final AnimatedNumber stdDeviationY;
7572
7573 @DomName('SVGFEDropShadowElement.setStdDeviation')
7574 @DocsEditable
7575 void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
7576
7577 // From SVGFilterPrimitiveStandardAttributes
7578
7579 @DomName('SVGFEDropShadowElement.height')
7580 @DocsEditable
7581 final AnimatedLength height;
7582
7583 @DomName('SVGFEDropShadowElement.result')
7584 @DocsEditable
7585 final AnimatedString result;
7586
7587 @DomName('SVGFEDropShadowElement.width')
7588 @DocsEditable
7589 final AnimatedLength width;
7590
7591 @DomName('SVGFEDropShadowElement.x')
7592 @DocsEditable
7593 final AnimatedLength x;
7594
7595 @DomName('SVGFEDropShadowElement.y')
7596 @DocsEditable
7597 final AnimatedLength y;
7598 }
7599 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7600 // for details. All rights reserved. Use of this source code is governed by a
7601 // BSD-style license that can be found in the LICENSE file.
7602
7603
7604 @DocsEditable
7605 @DomName('SVGFontElement')
7606 class _SVGFontElement extends SvgElement native "*SVGFontElement" {
7607 }
7608 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7609 // for details. All rights reserved. Use of this source code is governed by a
7610 // BSD-style license that can be found in the LICENSE file.
7611
7612
7613 @DocsEditable
7614 @DomName('SVGFontFaceElement')
7615 class _SVGFontFaceElement extends SvgElement native "*SVGFontFaceElement" {
7616 }
7617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7618 // for details. All rights reserved. Use of this source code is governed by a
7619 // BSD-style license that can be found in the LICENSE file.
7620
7621
7622 @DocsEditable
7623 @DomName('SVGFontFaceFormatElement')
7624 class _SVGFontFaceFormatElement extends SvgElement native "*SVGFontFaceFormatEle ment" {
7625 }
7626 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7627 // for details. All rights reserved. Use of this source code is governed by a
7628 // BSD-style license that can be found in the LICENSE file.
7629
7630
7631 @DocsEditable
7632 @DomName('SVGFontFaceNameElement')
7633 class _SVGFontFaceNameElement extends SvgElement native "*SVGFontFaceNameElement " {
7634 }
7635 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7636 // for details. All rights reserved. Use of this source code is governed by a
7637 // BSD-style license that can be found in the LICENSE file.
7638
7639
7640 @DocsEditable
7641 @DomName('SVGFontFaceSrcElement')
7642 class _SVGFontFaceSrcElement extends SvgElement native "*SVGFontFaceSrcElement" {
7643 }
7644 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7645 // for details. All rights reserved. Use of this source code is governed by a
7646 // BSD-style license that can be found in the LICENSE file.
7647
7648
7649 @DocsEditable
7650 @DomName('SVGFontFaceUriElement')
7651 class _SVGFontFaceUriElement extends SvgElement native "*SVGFontFaceUriElement" {
7652 }
7653 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7654 // for details. All rights reserved. Use of this source code is governed by a
7655 // BSD-style license that can be found in the LICENSE file.
7656
7657
7658 @DocsEditable
7659 @DomName('SVGGlyphElement')
7660 class _SVGGlyphElement extends SvgElement native "*SVGGlyphElement" {
7661
7662 @DocsEditable
7663 factory _SVGGlyphElement() => _SvgElementFactoryProvider.createSvgElement_tag( "glyph");
7664 }
7665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7666 // for details. All rights reserved. Use of this source code is governed by a
7667 // BSD-style license that can be found in the LICENSE file.
7668
7669
7670 @DocsEditable
7671 @DomName('SVGGlyphRefElement')
7672 class _SVGGlyphRefElement extends StyledElement implements UriReference native " *SVGGlyphRefElement" {
7673
7674 @DomName('SVGGlyphRefElement.dx')
7675 @DocsEditable
7676 num dx;
7677
7678 @DomName('SVGGlyphRefElement.dy')
7679 @DocsEditable
7680 num dy;
7681
7682 @DomName('SVGGlyphRefElement.format')
7683 @DocsEditable
7684 String format;
7685
7686 @DomName('SVGGlyphRefElement.glyphRef')
7687 @DocsEditable
7688 String glyphRef;
7689
7690 @DomName('SVGGlyphRefElement.x')
7691 @DocsEditable
7692 num x;
7693
7694 @DomName('SVGGlyphRefElement.y')
7695 @DocsEditable
7696 num y;
7697
7698 // From SVGURIReference
7699
7700 @DomName('SVGGlyphRefElement.href')
7701 @DocsEditable
7702 final AnimatedString href;
7703 }
7704 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7705 // for details. All rights reserved. Use of this source code is governed by a
7706 // BSD-style license that can be found in the LICENSE file.
7707
7708
7709 @DocsEditable
7710 @DomName('SVGGradientElement')
7711 class _SVGGradientElement extends StyledElement implements UriReference, Externa lResourcesRequired native "*SVGGradientElement" {
7712
7713 static const int SVG_SPREADMETHOD_PAD = 1;
7714
7715 static const int SVG_SPREADMETHOD_REFLECT = 2;
7716
7717 static const int SVG_SPREADMETHOD_REPEAT = 3;
7718
7719 static const int SVG_SPREADMETHOD_UNKNOWN = 0;
7720
7721 @DomName('SVGGradientElement.gradientTransform')
7722 @DocsEditable
7723 final AnimatedTransformList gradientTransform;
7724
7725 @DomName('SVGGradientElement.gradientUnits')
7726 @DocsEditable
7727 final AnimatedEnumeration gradientUnits;
7728
7729 @DomName('SVGGradientElement.spreadMethod')
7730 @DocsEditable
7731 final AnimatedEnumeration spreadMethod;
7732
7733 // From SVGExternalResourcesRequired
7734
7735 @DomName('SVGGradientElement.externalResourcesRequired')
7736 @DocsEditable
7737 final AnimatedBoolean externalResourcesRequired;
7738
7739 // From SVGURIReference
7740
7741 @DomName('SVGGradientElement.href')
7742 @DocsEditable
7743 final AnimatedString href;
7744 }
7745 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7746 // for details. All rights reserved. Use of this source code is governed by a
7747 // BSD-style license that can be found in the LICENSE file.
7748
7749
7750 @DocsEditable
7751 @DomName('SVGHKernElement')
7752 class _SVGHKernElement extends SvgElement native "*SVGHKernElement" {
7753
7754 @DocsEditable
7755 factory _SVGHKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "hkern");
7756 }
7757 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7758 // for details. All rights reserved. Use of this source code is governed by a
7759 // BSD-style license that can be found in the LICENSE file.
7760
7761
7762 @DocsEditable
7763 @DomName('SVGMPathElement')
7764 class _SVGMPathElement extends SvgElement implements UriReference, ExternalResou rcesRequired native "*SVGMPathElement" {
7765
7766 @DocsEditable
7767 factory _SVGMPathElement() => _SvgElementFactoryProvider.createSvgElement_tag( "mpath");
7768
7769 // From SVGExternalResourcesRequired
7770
7771 @DomName('SVGMPathElement.externalResourcesRequired')
7772 @DocsEditable
7773 final AnimatedBoolean externalResourcesRequired;
7774
7775 // From SVGURIReference
7776
7777 @DomName('SVGMPathElement.href')
7778 @DocsEditable
7779 final AnimatedString href;
7780 }
7781 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7782 // for details. All rights reserved. Use of this source code is governed by a
7783 // BSD-style license that can be found in the LICENSE file.
7784
7785
7786 @DocsEditable
7787 @DomName('SVGMissingGlyphElement')
7788 class _SVGMissingGlyphElement extends StyledElement native "*SVGMissingGlyphElem ent" {
7789 }
7790 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7791 // for details. All rights reserved. Use of this source code is governed by a
7792 // BSD-style license that can be found in the LICENSE file.
7793
7794
7795 @DocsEditable
7796 @DomName('SVGTRefElement')
7797 class _SVGTRefElement extends TextPositioningElement implements UriReference nat ive "*SVGTRefElement" {
7798
7799 @DocsEditable
7800 factory _SVGTRefElement() => _SvgElementFactoryProvider.createSvgElement_tag(" tref");
7801
7802 // From SVGURIReference
7803
7804 @DomName('SVGTRefElement.href')
7805 @DocsEditable
7806 final AnimatedString href;
7807 }
7808 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7809 // for details. All rights reserved. Use of this source code is governed by a
7810 // BSD-style license that can be found in the LICENSE file.
7811
7812
7813 @DocsEditable
7814 @DomName('SVGVKernElement')
7815 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" {
7816
7817 @DocsEditable
7818 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
7819 }
OLDNEW
« no previous file with comments | « sdk/lib/indexed_db/dartium/indexed_db_dartium.dart ('k') | sdk/lib/svg/dartium/svg_dartium.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698