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

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

Issue 12082122: Add supported checks to the SVG library, and library cleanup. (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
162 @DomName('SVGAltGlyphElement') 153 @DomName('SVGAltGlyphElement')
154 @SupportedBrowser(SupportedBrowser.CHROME)
155 @SupportedBrowser(SupportedBrowser.FIREFOX)
156 @SupportedBrowser(SupportedBrowser.SAFARI)
163 class AltGlyphElement extends TextPositioningElement implements UriReference nat ive "*SVGAltGlyphElement" { 157 class AltGlyphElement extends TextPositioningElement implements UriReference nat ive "*SVGAltGlyphElement" {
164 158
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
194 @DomName('SVGAngle') 185 @DomName('SVGAngle')
195 class Angle native "*SVGAngle" { 186 class Angle native "*SVGAngle" {
196 187
197 static const int SVG_ANGLETYPE_DEG = 2; 188 static const int SVG_ANGLETYPE_DEG = 2;
198 189
199 static const int SVG_ANGLETYPE_GRAD = 4; 190 static const int SVG_ANGLETYPE_GRAD = 4;
200 191
201 static const int SVG_ANGLETYPE_RAD = 3; 192 static const int SVG_ANGLETYPE_RAD = 3;
202 193
203 static const int SVG_ANGLETYPE_UNKNOWN = 0; 194 static const int SVG_ANGLETYPE_UNKNOWN = 0;
(...skipping 23 matching lines...) Expand all
227 @DomName('SVGAngle.newValueSpecifiedUnits') 218 @DomName('SVGAngle.newValueSpecifiedUnits')
228 @DocsEditable 219 @DocsEditable
229 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; 220 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native;
230 } 221 }
231 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 222 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
232 // for details. All rights reserved. Use of this source code is governed by a 223 // for details. All rights reserved. Use of this source code is governed by a
233 // BSD-style license that can be found in the LICENSE file. 224 // BSD-style license that can be found in the LICENSE file.
234 225
235 226
236 @DocsEditable 227 @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
249 @DomName('SVGAnimateElement') 228 @DomName('SVGAnimateElement')
229 @SupportedBrowser(SupportedBrowser.CHROME)
230 @SupportedBrowser(SupportedBrowser.FIREFOX)
231 @SupportedBrowser(SupportedBrowser.SAFARI)
250 class AnimateElement extends AnimationElement native "*SVGAnimateElement" { 232 class AnimateElement extends AnimationElement native "*SVGAnimateElement" {
251 233
252 @DocsEditable 234 @DocsEditable
253 factory AnimateElement() => _SvgElementFactoryProvider.createSvgElement_tag("a nimate"); 235 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);
254 } 239 }
255 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 240 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
256 // for details. All rights reserved. Use of this source code is governed by a 241 // for details. All rights reserved. Use of this source code is governed by a
257 // BSD-style license that can be found in the LICENSE file. 242 // BSD-style license that can be found in the LICENSE file.
258 243
259 244
260 @DocsEditable 245 @DocsEditable
261 @DomName('SVGAnimateMotionElement') 246 @DomName('SVGAnimateMotionElement')
247 @SupportedBrowser(SupportedBrowser.CHROME)
248 @SupportedBrowser(SupportedBrowser.FIREFOX)
249 @SupportedBrowser(SupportedBrowser.SAFARI)
262 class AnimateMotionElement extends AnimationElement native "*SVGAnimateMotionEle ment" { 250 class AnimateMotionElement extends AnimationElement native "*SVGAnimateMotionEle ment" {
263 251
264 @DocsEditable 252 @DocsEditable
265 factory AnimateMotionElement() => _SvgElementFactoryProvider.createSvgElement_ tag("animateMotion"); 253 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);
266 } 257 }
267 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 258 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
268 // for details. All rights reserved. Use of this source code is governed by a 259 // for details. All rights reserved. Use of this source code is governed by a
269 // BSD-style license that can be found in the LICENSE file. 260 // BSD-style license that can be found in the LICENSE file.
270 261
271 262
272 @DocsEditable 263 @DocsEditable
273 @DomName('SVGAnimateTransformElement') 264 @DomName('SVGAnimateTransformElement')
265 @SupportedBrowser(SupportedBrowser.CHROME)
266 @SupportedBrowser(SupportedBrowser.FIREFOX)
267 @SupportedBrowser(SupportedBrowser.SAFARI)
274 class AnimateTransformElement extends AnimationElement native "*SVGAnimateTransf ormElement" { 268 class AnimateTransformElement extends AnimationElement native "*SVGAnimateTransf ormElement" {
275 269
276 @DocsEditable 270 @DocsEditable
277 factory AnimateTransformElement() => _SvgElementFactoryProvider.createSvgEleme nt_tag("animateTransform"); 271 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);
278 } 275 }
279 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 276 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
280 // for details. All rights reserved. Use of this source code is governed by a 277 // for details. All rights reserved. Use of this source code is governed by a
281 // BSD-style license that can be found in the LICENSE file. 278 // BSD-style license that can be found in the LICENSE file.
282 279
283 280
284 @DocsEditable 281 @DocsEditable
285 @DomName('SVGAnimatedAngle') 282 @DomName('SVGAnimatedAngle')
286 class AnimatedAngle native "*SVGAnimatedAngle" { 283 class AnimatedAngle native "*SVGAnimatedAngle" {
287 284
(...skipping 476 matching lines...) Expand 10 before | Expand all | Expand 10 after
764 @DomName('SVGColor.setRGBColorICCColor') 761 @DomName('SVGColor.setRGBColorICCColor')
765 @DocsEditable 762 @DocsEditable
766 void setRgbColorIccColor(String rgbColor, String iccColor) native; 763 void setRgbColorIccColor(String rgbColor, String iccColor) native;
767 } 764 }
768 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 765 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
769 // for details. All rights reserved. Use of this source code is governed by a 766 // for details. All rights reserved. Use of this source code is governed by a
770 // BSD-style license that can be found in the LICENSE file. 767 // BSD-style license that can be found in the LICENSE file.
771 768
772 769
773 @DocsEditable 770 @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
873 @DomName('SVGDefsElement') 771 @DomName('SVGDefsElement')
874 class DefsElement extends StyledElement implements Transformable, Tests, Externa lResourcesRequired, LangSpace native "*SVGDefsElement" { 772 class DefsElement extends StyledElement implements Transformable, Tests, Externa lResourcesRequired, LangSpace native "*SVGDefsElement" {
875 773
876 @DocsEditable 774 @DocsEditable
877 factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs "); 775 factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs ");
878 776
879 // From SVGExternalResourcesRequired 777 // From SVGExternalResourcesRequired
880 778
881 @DomName('SVGDefsElement.externalResourcesRequired') 779 @DomName('SVGDefsElement.externalResourcesRequired')
882 @DocsEditable 780 @DocsEditable
(...skipping 692 matching lines...) Expand 10 before | Expand all | Expand 10 after
1575 final AnimatedTransformList transform; 1473 final AnimatedTransformList transform;
1576 } 1474 }
1577 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1475 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1578 // for details. All rights reserved. Use of this source code is governed by a 1476 // for details. All rights reserved. Use of this source code is governed by a
1579 // BSD-style license that can be found in the LICENSE file. 1477 // BSD-style license that can be found in the LICENSE file.
1580 1478
1581 1479
1582 @DomName('SVGExternalResourcesRequired') 1480 @DomName('SVGExternalResourcesRequired')
1583 abstract class ExternalResourcesRequired { 1481 abstract class ExternalResourcesRequired {
1584 1482
1483 /// Checks if this type is supported on the current platform.
1484 static bool supported(SvgElement element) => JS('bool', '#.externalResourcesRe quired !== undefined && #.externalResourcesRequired.animVal !== undefined', elem ent, element);
1485
1585 AnimatedBoolean externalResourcesRequired; 1486 AnimatedBoolean externalResourcesRequired;
1586 } 1487 }
1587 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1488 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1588 // for details. All rights reserved. Use of this source code is governed by a 1489 // for details. All rights reserved. Use of this source code is governed by a
1589 // BSD-style license that can be found in the LICENSE file. 1490 // BSD-style license that can be found in the LICENSE file.
1590 1491
1591 1492
1592 @DocsEditable 1493 @DocsEditable
1593 @DomName('SVGFEBlendElement') 1494 @DomName('SVGFEBlendElement')
1495 @SupportedBrowser(SupportedBrowser.CHROME)
1496 @SupportedBrowser(SupportedBrowser.FIREFOX)
1497 @SupportedBrowser(SupportedBrowser.IE, '10')
1498 @SupportedBrowser(SupportedBrowser.SAFARI)
1594 class FEBlendElement extends StyledElement implements FilterPrimitiveStandardAtt ributes native "*SVGFEBlendElement" { 1499 class FEBlendElement extends StyledElement implements FilterPrimitiveStandardAtt ributes native "*SVGFEBlendElement" {
1595 1500
1501 @DocsEditable
1502 factory FEBlendElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eBlend");
1503
1504 /// Checks if this type is supported on the current platform.
1505 static bool get supported => SvgElement.isTagSupported('feBlend') && (new SvgE lement.tag('feBlend') is FEBlendElement);
1506
1596 static const int SVG_FEBLEND_MODE_DARKEN = 4; 1507 static const int SVG_FEBLEND_MODE_DARKEN = 4;
1597 1508
1598 static const int SVG_FEBLEND_MODE_LIGHTEN = 5; 1509 static const int SVG_FEBLEND_MODE_LIGHTEN = 5;
1599 1510
1600 static const int SVG_FEBLEND_MODE_MULTIPLY = 2; 1511 static const int SVG_FEBLEND_MODE_MULTIPLY = 2;
1601 1512
1602 static const int SVG_FEBLEND_MODE_NORMAL = 1; 1513 static const int SVG_FEBLEND_MODE_NORMAL = 1;
1603 1514
1604 static const int SVG_FEBLEND_MODE_SCREEN = 3; 1515 static const int SVG_FEBLEND_MODE_SCREEN = 3;
1605 1516
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
1639 @DocsEditable 1550 @DocsEditable
1640 final AnimatedLength y; 1551 final AnimatedLength y;
1641 } 1552 }
1642 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1643 // for details. All rights reserved. Use of this source code is governed by a 1554 // for details. All rights reserved. Use of this source code is governed by a
1644 // BSD-style license that can be found in the LICENSE file. 1555 // BSD-style license that can be found in the LICENSE file.
1645 1556
1646 1557
1647 @DocsEditable 1558 @DocsEditable
1648 @DomName('SVGFEColorMatrixElement') 1559 @DomName('SVGFEColorMatrixElement')
1560 @SupportedBrowser(SupportedBrowser.CHROME)
1561 @SupportedBrowser(SupportedBrowser.FIREFOX)
1562 @SupportedBrowser(SupportedBrowser.IE, '10')
1563 @SupportedBrowser(SupportedBrowser.SAFARI)
1649 class FEColorMatrixElement extends StyledElement implements FilterPrimitiveStand ardAttributes native "*SVGFEColorMatrixElement" { 1564 class FEColorMatrixElement extends StyledElement implements FilterPrimitiveStand ardAttributes native "*SVGFEColorMatrixElement" {
1650 1565
1566 @DocsEditable
1567 factory FEColorMatrixElement() => _SvgElementFactoryProvider.createSvgElement_ tag("feColorMatrix");
1568
1569 /// Checks if this type is supported on the current platform.
1570 static bool get supported => SvgElement.isTagSupported('feColorMatrix') && (ne w SvgElement.tag('feColorMatrix') is FEColorMatrixElement);
1571
1651 static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3; 1572 static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3;
1652 1573
1653 static const int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4; 1574 static const int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4;
1654 1575
1655 static const int SVG_FECOLORMATRIX_TYPE_MATRIX = 1; 1576 static const int SVG_FECOLORMATRIX_TYPE_MATRIX = 1;
1656 1577
1657 static const int SVG_FECOLORMATRIX_TYPE_SATURATE = 2; 1578 static const int SVG_FECOLORMATRIX_TYPE_SATURATE = 2;
1658 1579
1659 static const int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0; 1580 static const int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0;
1660 1581
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
1692 @DocsEditable 1613 @DocsEditable
1693 final AnimatedLength y; 1614 final AnimatedLength y;
1694 } 1615 }
1695 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1696 // for details. All rights reserved. Use of this source code is governed by a 1617 // for details. All rights reserved. Use of this source code is governed by a
1697 // BSD-style license that can be found in the LICENSE file. 1618 // BSD-style license that can be found in the LICENSE file.
1698 1619
1699 1620
1700 @DocsEditable 1621 @DocsEditable
1701 @DomName('SVGFEComponentTransferElement') 1622 @DomName('SVGFEComponentTransferElement')
1623 @SupportedBrowser(SupportedBrowser.CHROME)
1624 @SupportedBrowser(SupportedBrowser.FIREFOX)
1625 @SupportedBrowser(SupportedBrowser.IE, '10')
1626 @SupportedBrowser(SupportedBrowser.SAFARI)
1702 class FEComponentTransferElement extends StyledElement implements FilterPrimitiv eStandardAttributes native "*SVGFEComponentTransferElement" { 1627 class FEComponentTransferElement extends StyledElement implements FilterPrimitiv eStandardAttributes native "*SVGFEComponentTransferElement" {
1703 1628
1629 @DocsEditable
1630 factory FEComponentTransferElement() => _SvgElementFactoryProvider.createSvgEl ement_tag("feComponentTransfer");
1631
1632 /// Checks if this type is supported on the current platform.
1633 static bool get supported => SvgElement.isTagSupported('feComponentTransfer') && (new SvgElement.tag('feComponentTransfer') is FEComponentTransferElement);
1634
1704 @DomName('SVGFEComponentTransferElement.in1') 1635 @DomName('SVGFEComponentTransferElement.in1')
1705 @DocsEditable 1636 @DocsEditable
1706 final AnimatedString in1; 1637 final AnimatedString in1;
1707 1638
1708 // From SVGFilterPrimitiveStandardAttributes 1639 // From SVGFilterPrimitiveStandardAttributes
1709 1640
1710 @DomName('SVGFEComponentTransferElement.height') 1641 @DomName('SVGFEComponentTransferElement.height')
1711 @DocsEditable 1642 @DocsEditable
1712 final AnimatedLength height; 1643 final AnimatedLength height;
1713 1644
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after
1800 @DocsEditable 1731 @DocsEditable
1801 final AnimatedLength y; 1732 final AnimatedLength y;
1802 } 1733 }
1803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1734 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1804 // for details. All rights reserved. Use of this source code is governed by a 1735 // for details. All rights reserved. Use of this source code is governed by a
1805 // BSD-style license that can be found in the LICENSE file. 1736 // BSD-style license that can be found in the LICENSE file.
1806 1737
1807 1738
1808 @DocsEditable 1739 @DocsEditable
1809 @DomName('SVGFEConvolveMatrixElement') 1740 @DomName('SVGFEConvolveMatrixElement')
1741 @SupportedBrowser(SupportedBrowser.CHROME)
1742 @SupportedBrowser(SupportedBrowser.FIREFOX)
1743 @SupportedBrowser(SupportedBrowser.IE, '10')
1744 @SupportedBrowser(SupportedBrowser.SAFARI)
1810 class FEConvolveMatrixElement extends StyledElement implements FilterPrimitiveSt andardAttributes native "*SVGFEConvolveMatrixElement" { 1745 class FEConvolveMatrixElement extends StyledElement implements FilterPrimitiveSt andardAttributes native "*SVGFEConvolveMatrixElement" {
1811 1746
1747 @DocsEditable
1748 factory FEConvolveMatrixElement() => _SvgElementFactoryProvider.createSvgEleme nt_tag("feConvolveMatrix");
1749
1750 /// Checks if this type is supported on the current platform.
1751 static bool get supported => SvgElement.isTagSupported('feConvolveMatrix') && (new SvgElement.tag('feConvolveMatrix') is FEConvolveMatrixElement);
1752
1812 static const int SVG_EDGEMODE_DUPLICATE = 1; 1753 static const int SVG_EDGEMODE_DUPLICATE = 1;
1813 1754
1814 static const int SVG_EDGEMODE_NONE = 3; 1755 static const int SVG_EDGEMODE_NONE = 3;
1815 1756
1816 static const int SVG_EDGEMODE_UNKNOWN = 0; 1757 static const int SVG_EDGEMODE_UNKNOWN = 0;
1817 1758
1818 static const int SVG_EDGEMODE_WRAP = 2; 1759 static const int SVG_EDGEMODE_WRAP = 2;
1819 1760
1820 @DomName('SVGFEConvolveMatrixElement.bias') 1761 @DomName('SVGFEConvolveMatrixElement.bias')
1821 @DocsEditable 1762 @DocsEditable
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
1887 @DocsEditable 1828 @DocsEditable
1888 final AnimatedLength y; 1829 final AnimatedLength y;
1889 } 1830 }
1890 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1831 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1891 // for details. All rights reserved. Use of this source code is governed by a 1832 // for details. All rights reserved. Use of this source code is governed by a
1892 // BSD-style license that can be found in the LICENSE file. 1833 // BSD-style license that can be found in the LICENSE file.
1893 1834
1894 1835
1895 @DocsEditable 1836 @DocsEditable
1896 @DomName('SVGFEDiffuseLightingElement') 1837 @DomName('SVGFEDiffuseLightingElement')
1838 @SupportedBrowser(SupportedBrowser.CHROME)
1839 @SupportedBrowser(SupportedBrowser.FIREFOX)
1840 @SupportedBrowser(SupportedBrowser.IE, '10')
1841 @SupportedBrowser(SupportedBrowser.SAFARI)
1897 class FEDiffuseLightingElement extends StyledElement implements FilterPrimitiveS tandardAttributes native "*SVGFEDiffuseLightingElement" { 1842 class FEDiffuseLightingElement extends StyledElement implements FilterPrimitiveS tandardAttributes native "*SVGFEDiffuseLightingElement" {
1898 1843
1844 @DocsEditable
1845 factory FEDiffuseLightingElement() => _SvgElementFactoryProvider.createSvgElem ent_tag("feDiffuseLighting");
1846
1847 /// Checks if this type is supported on the current platform.
1848 static bool get supported => SvgElement.isTagSupported('feDiffuseLighting') && (new SvgElement.tag('feDiffuseLighting') is FEDiffuseLightingElement);
1849
1899 @DomName('SVGFEDiffuseLightingElement.diffuseConstant') 1850 @DomName('SVGFEDiffuseLightingElement.diffuseConstant')
1900 @DocsEditable 1851 @DocsEditable
1901 final AnimatedNumber diffuseConstant; 1852 final AnimatedNumber diffuseConstant;
1902 1853
1903 @DomName('SVGFEDiffuseLightingElement.in1') 1854 @DomName('SVGFEDiffuseLightingElement.in1')
1904 @DocsEditable 1855 @DocsEditable
1905 final AnimatedString in1; 1856 final AnimatedString in1;
1906 1857
1907 @DomName('SVGFEDiffuseLightingElement.kernelUnitLengthX') 1858 @DomName('SVGFEDiffuseLightingElement.kernelUnitLengthX')
1908 @DocsEditable 1859 @DocsEditable
(...skipping 29 matching lines...) Expand all
1938 @DocsEditable 1889 @DocsEditable
1939 final AnimatedLength y; 1890 final AnimatedLength y;
1940 } 1891 }
1941 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1892 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
1942 // for details. All rights reserved. Use of this source code is governed by a 1893 // for details. All rights reserved. Use of this source code is governed by a
1943 // BSD-style license that can be found in the LICENSE file. 1894 // BSD-style license that can be found in the LICENSE file.
1944 1895
1945 1896
1946 @DocsEditable 1897 @DocsEditable
1947 @DomName('SVGFEDisplacementMapElement') 1898 @DomName('SVGFEDisplacementMapElement')
1899 @SupportedBrowser(SupportedBrowser.CHROME)
1900 @SupportedBrowser(SupportedBrowser.FIREFOX)
1901 @SupportedBrowser(SupportedBrowser.IE, '10')
1902 @SupportedBrowser(SupportedBrowser.SAFARI)
1948 class FEDisplacementMapElement extends StyledElement implements FilterPrimitiveS tandardAttributes native "*SVGFEDisplacementMapElement" { 1903 class FEDisplacementMapElement extends StyledElement implements FilterPrimitiveS tandardAttributes native "*SVGFEDisplacementMapElement" {
1949 1904
1905 @DocsEditable
1906 factory FEDisplacementMapElement() => _SvgElementFactoryProvider.createSvgElem ent_tag("feDisplacementMap");
1907
1908 /// Checks if this type is supported on the current platform.
1909 static bool get supported => SvgElement.isTagSupported('feDisplacementMap') && (new SvgElement.tag('feDisplacementMap') is FEDisplacementMapElement);
1910
1950 static const int SVG_CHANNEL_A = 4; 1911 static const int SVG_CHANNEL_A = 4;
1951 1912
1952 static const int SVG_CHANNEL_B = 3; 1913 static const int SVG_CHANNEL_B = 3;
1953 1914
1954 static const int SVG_CHANNEL_G = 2; 1915 static const int SVG_CHANNEL_G = 2;
1955 1916
1956 static const int SVG_CHANNEL_R = 1; 1917 static const int SVG_CHANNEL_R = 1;
1957 1918
1958 static const int SVG_CHANNEL_UNKNOWN = 0; 1919 static const int SVG_CHANNEL_UNKNOWN = 0;
1959 1920
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
1999 @DocsEditable 1960 @DocsEditable
2000 final AnimatedLength y; 1961 final AnimatedLength y;
2001 } 1962 }
2002 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1963 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2003 // for details. All rights reserved. Use of this source code is governed by a 1964 // for details. All rights reserved. Use of this source code is governed by a
2004 // BSD-style license that can be found in the LICENSE file. 1965 // BSD-style license that can be found in the LICENSE file.
2005 1966
2006 1967
2007 @DocsEditable 1968 @DocsEditable
2008 @DomName('SVGFEDistantLightElement') 1969 @DomName('SVGFEDistantLightElement')
1970 @SupportedBrowser(SupportedBrowser.CHROME)
1971 @SupportedBrowser(SupportedBrowser.FIREFOX)
1972 @SupportedBrowser(SupportedBrowser.IE, '10')
1973 @SupportedBrowser(SupportedBrowser.SAFARI)
2009 class FEDistantLightElement extends SvgElement native "*SVGFEDistantLightElement " { 1974 class FEDistantLightElement extends SvgElement native "*SVGFEDistantLightElement " {
2010 1975
1976 @DocsEditable
1977 factory FEDistantLightElement() => _SvgElementFactoryProvider.createSvgElement _tag("feDistantLight");
1978
1979 /// Checks if this type is supported on the current platform.
1980 static bool get supported => SvgElement.isTagSupported('feDistantLight') && (n ew SvgElement.tag('feDistantLight') is FEDistantLightElement);
1981
2011 @DomName('SVGFEDistantLightElement.azimuth') 1982 @DomName('SVGFEDistantLightElement.azimuth')
2012 @DocsEditable 1983 @DocsEditable
2013 final AnimatedNumber azimuth; 1984 final AnimatedNumber azimuth;
2014 1985
2015 @DomName('SVGFEDistantLightElement.elevation') 1986 @DomName('SVGFEDistantLightElement.elevation')
2016 @DocsEditable 1987 @DocsEditable
2017 final AnimatedNumber elevation; 1988 final AnimatedNumber elevation;
2018 } 1989 }
2019 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1990 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2020 // for details. All rights reserved. Use of this source code is governed by a 1991 // for details. All rights reserved. Use of this source code is governed by a
2021 // BSD-style license that can be found in the LICENSE file. 1992 // BSD-style license that can be found in the LICENSE file.
2022 1993
2023 1994
2024 @DocsEditable 1995 @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
2080 @DomName('SVGFEFloodElement') 1996 @DomName('SVGFEFloodElement')
1997 @SupportedBrowser(SupportedBrowser.CHROME)
1998 @SupportedBrowser(SupportedBrowser.FIREFOX)
1999 @SupportedBrowser(SupportedBrowser.IE, '10')
2000 @SupportedBrowser(SupportedBrowser.SAFARI)
2081 class FEFloodElement extends StyledElement implements FilterPrimitiveStandardAtt ributes native "*SVGFEFloodElement" { 2001 class FEFloodElement extends StyledElement implements FilterPrimitiveStandardAtt ributes native "*SVGFEFloodElement" {
2082 2002
2003 @DocsEditable
2004 factory FEFloodElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eFlood");
2005
2006 /// Checks if this type is supported on the current platform.
2007 static bool get supported => SvgElement.isTagSupported('feFlood') && (new SvgE lement.tag('feFlood') is FEFloodElement);
2008
2083 // From SVGFilterPrimitiveStandardAttributes 2009 // From SVGFilterPrimitiveStandardAttributes
2084 2010
2085 @DomName('SVGFEFloodElement.height') 2011 @DomName('SVGFEFloodElement.height')
2086 @DocsEditable 2012 @DocsEditable
2087 final AnimatedLength height; 2013 final AnimatedLength height;
2088 2014
2089 @DomName('SVGFEFloodElement.result') 2015 @DomName('SVGFEFloodElement.result')
2090 @DocsEditable 2016 @DocsEditable
2091 final AnimatedString result; 2017 final AnimatedString result;
2092 2018
2093 @DomName('SVGFEFloodElement.width') 2019 @DomName('SVGFEFloodElement.width')
2094 @DocsEditable 2020 @DocsEditable
2095 final AnimatedLength width; 2021 final AnimatedLength width;
2096 2022
2097 @DomName('SVGFEFloodElement.x') 2023 @DomName('SVGFEFloodElement.x')
2098 @DocsEditable 2024 @DocsEditable
2099 final AnimatedLength x; 2025 final AnimatedLength x;
2100 2026
2101 @DomName('SVGFEFloodElement.y') 2027 @DomName('SVGFEFloodElement.y')
2102 @DocsEditable 2028 @DocsEditable
2103 final AnimatedLength y; 2029 final AnimatedLength y;
2104 } 2030 }
2105 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2031 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2106 // for details. All rights reserved. Use of this source code is governed by a 2032 // for details. All rights reserved. Use of this source code is governed by a
2107 // BSD-style license that can be found in the LICENSE file. 2033 // BSD-style license that can be found in the LICENSE file.
2108 2034
2109 2035
2110 @DocsEditable 2036 @DocsEditable
2111 @DomName('SVGFEFuncAElement') 2037 @DomName('SVGFEFuncAElement')
2112 class FEFuncAElement extends ComponentTransferFunctionElement native "*SVGFEFunc AElement" { 2038 @SupportedBrowser(SupportedBrowser.CHROME)
2039 @SupportedBrowser(SupportedBrowser.FIREFOX)
2040 @SupportedBrowser(SupportedBrowser.IE, '10')
2041 @SupportedBrowser(SupportedBrowser.SAFARI)
2042 class FEFuncAElement extends _SVGComponentTransferFunctionElement native "*SVGFE FuncAElement" {
2043
2044 @DocsEditable
2045 factory FEFuncAElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eFuncA");
2046
2047 /// Checks if this type is supported on the current platform.
2048 static bool get supported => SvgElement.isTagSupported('feFuncA') && (new SvgE lement.tag('feFuncA') is FEFuncAElement);
2113 } 2049 }
2114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2050 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2115 // for details. All rights reserved. Use of this source code is governed by a 2051 // for details. All rights reserved. Use of this source code is governed by a
2116 // BSD-style license that can be found in the LICENSE file. 2052 // BSD-style license that can be found in the LICENSE file.
2117 2053
2118 2054
2119 @DocsEditable 2055 @DocsEditable
2120 @DomName('SVGFEFuncBElement') 2056 @DomName('SVGFEFuncBElement')
2121 class FEFuncBElement extends ComponentTransferFunctionElement native "*SVGFEFunc BElement" { 2057 @SupportedBrowser(SupportedBrowser.CHROME)
2058 @SupportedBrowser(SupportedBrowser.FIREFOX)
2059 @SupportedBrowser(SupportedBrowser.IE, '10')
2060 @SupportedBrowser(SupportedBrowser.SAFARI)
2061 class FEFuncBElement extends _SVGComponentTransferFunctionElement native "*SVGFE FuncBElement" {
2062
2063 @DocsEditable
2064 factory FEFuncBElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eFuncB");
2065
2066 /// Checks if this type is supported on the current platform.
2067 static bool get supported => SvgElement.isTagSupported('feFuncB') && (new SvgE lement.tag('feFuncB') is FEFuncBElement);
2122 } 2068 }
2123 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2069 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2124 // for details. All rights reserved. Use of this source code is governed by a 2070 // for details. All rights reserved. Use of this source code is governed by a
2125 // BSD-style license that can be found in the LICENSE file. 2071 // BSD-style license that can be found in the LICENSE file.
2126 2072
2127 2073
2128 @DocsEditable 2074 @DocsEditable
2129 @DomName('SVGFEFuncGElement') 2075 @DomName('SVGFEFuncGElement')
2130 class FEFuncGElement extends ComponentTransferFunctionElement native "*SVGFEFunc GElement" { 2076 @SupportedBrowser(SupportedBrowser.CHROME)
2077 @SupportedBrowser(SupportedBrowser.FIREFOX)
2078 @SupportedBrowser(SupportedBrowser.IE, '10')
2079 @SupportedBrowser(SupportedBrowser.SAFARI)
2080 class FEFuncGElement extends _SVGComponentTransferFunctionElement native "*SVGFE FuncGElement" {
2081
2082 @DocsEditable
2083 factory FEFuncGElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eFuncG");
2084
2085 /// Checks if this type is supported on the current platform.
2086 static bool get supported => SvgElement.isTagSupported('feFuncG') && (new SvgE lement.tag('feFuncG') is FEFuncGElement);
2131 } 2087 }
2132 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2088 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2133 // for details. All rights reserved. Use of this source code is governed by a 2089 // for details. All rights reserved. Use of this source code is governed by a
2134 // BSD-style license that can be found in the LICENSE file. 2090 // BSD-style license that can be found in the LICENSE file.
2135 2091
2136 2092
2137 @DocsEditable 2093 @DocsEditable
2138 @DomName('SVGFEFuncRElement') 2094 @DomName('SVGFEFuncRElement')
2139 class FEFuncRElement extends ComponentTransferFunctionElement native "*SVGFEFunc RElement" { 2095 @SupportedBrowser(SupportedBrowser.CHROME)
2096 @SupportedBrowser(SupportedBrowser.FIREFOX)
2097 @SupportedBrowser(SupportedBrowser.IE, '10')
2098 @SupportedBrowser(SupportedBrowser.SAFARI)
2099 class FEFuncRElement extends _SVGComponentTransferFunctionElement native "*SVGFE FuncRElement" {
2100
2101 @DocsEditable
2102 factory FEFuncRElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eFuncR");
2103
2104 /// Checks if this type is supported on the current platform.
2105 static bool get supported => SvgElement.isTagSupported('feFuncR') && (new SvgE lement.tag('feFuncR') is FEFuncRElement);
2140 } 2106 }
2141 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2107 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2142 // for details. All rights reserved. Use of this source code is governed by a 2108 // for details. All rights reserved. Use of this source code is governed by a
2143 // BSD-style license that can be found in the LICENSE file. 2109 // BSD-style license that can be found in the LICENSE file.
2144 2110
2145 2111
2146 @DocsEditable 2112 @DocsEditable
2147 @DomName('SVGFEGaussianBlurElement') 2113 @DomName('SVGFEGaussianBlurElement')
2114 @SupportedBrowser(SupportedBrowser.CHROME)
2115 @SupportedBrowser(SupportedBrowser.FIREFOX)
2116 @SupportedBrowser(SupportedBrowser.IE, '10')
2117 @SupportedBrowser(SupportedBrowser.SAFARI)
2148 class FEGaussianBlurElement extends StyledElement implements FilterPrimitiveStan dardAttributes native "*SVGFEGaussianBlurElement" { 2118 class FEGaussianBlurElement extends StyledElement implements FilterPrimitiveStan dardAttributes native "*SVGFEGaussianBlurElement" {
2149 2119
2120 @DocsEditable
2121 factory FEGaussianBlurElement() => _SvgElementFactoryProvider.createSvgElement _tag("feGaussianBlur");
2122
2123 /// Checks if this type is supported on the current platform.
2124 static bool get supported => SvgElement.isTagSupported('feGaussianBlur') && (n ew SvgElement.tag('feGaussianBlur') is FEGaussianBlurElement);
2125
2150 @DomName('SVGFEGaussianBlurElement.in1') 2126 @DomName('SVGFEGaussianBlurElement.in1')
2151 @DocsEditable 2127 @DocsEditable
2152 final AnimatedString in1; 2128 final AnimatedString in1;
2153 2129
2154 @DomName('SVGFEGaussianBlurElement.stdDeviationX') 2130 @DomName('SVGFEGaussianBlurElement.stdDeviationX')
2155 @DocsEditable 2131 @DocsEditable
2156 final AnimatedNumber stdDeviationX; 2132 final AnimatedNumber stdDeviationX;
2157 2133
2158 @DomName('SVGFEGaussianBlurElement.stdDeviationY') 2134 @DomName('SVGFEGaussianBlurElement.stdDeviationY')
2159 @DocsEditable 2135 @DocsEditable
(...skipping 25 matching lines...) Expand all
2185 @DocsEditable 2161 @DocsEditable
2186 final AnimatedLength y; 2162 final AnimatedLength y;
2187 } 2163 }
2188 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2164 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2189 // for details. All rights reserved. Use of this source code is governed by a 2165 // for details. All rights reserved. Use of this source code is governed by a
2190 // BSD-style license that can be found in the LICENSE file. 2166 // BSD-style license that can be found in the LICENSE file.
2191 2167
2192 2168
2193 @DocsEditable 2169 @DocsEditable
2194 @DomName('SVGFEImageElement') 2170 @DomName('SVGFEImageElement')
2171 @SupportedBrowser(SupportedBrowser.CHROME)
2172 @SupportedBrowser(SupportedBrowser.FIREFOX)
2173 @SupportedBrowser(SupportedBrowser.IE, '10')
2174 @SupportedBrowser(SupportedBrowser.SAFARI)
2195 class FEImageElement extends StyledElement implements FilterPrimitiveStandardAtt ributes, UriReference, ExternalResourcesRequired, LangSpace native "*SVGFEImageE lement" { 2175 class FEImageElement extends StyledElement implements FilterPrimitiveStandardAtt ributes, UriReference, ExternalResourcesRequired, LangSpace native "*SVGFEImageE lement" {
2196 2176
2177 @DocsEditable
2178 factory FEImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eImage");
2179
2180 /// Checks if this type is supported on the current platform.
2181 static bool get supported => SvgElement.isTagSupported('feImage') && (new SvgE lement.tag('feImage') is FEImageElement);
2182
2197 @DomName('SVGFEImageElement.preserveAspectRatio') 2183 @DomName('SVGFEImageElement.preserveAspectRatio')
2198 @DocsEditable 2184 @DocsEditable
2199 final AnimatedPreserveAspectRatio preserveAspectRatio; 2185 final AnimatedPreserveAspectRatio preserveAspectRatio;
2200 2186
2201 // From SVGExternalResourcesRequired 2187 // From SVGExternalResourcesRequired
2202 2188
2203 @DomName('SVGFEImageElement.externalResourcesRequired') 2189 @DomName('SVGFEImageElement.externalResourcesRequired')
2204 @DocsEditable 2190 @DocsEditable
2205 final AnimatedBoolean externalResourcesRequired; 2191 final AnimatedBoolean externalResourcesRequired;
2206 2192
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
2242 @DocsEditable 2228 @DocsEditable
2243 final AnimatedString href; 2229 final AnimatedString href;
2244 } 2230 }
2245 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2231 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2246 // for details. All rights reserved. Use of this source code is governed by a 2232 // for details. All rights reserved. Use of this source code is governed by a
2247 // BSD-style license that can be found in the LICENSE file. 2233 // BSD-style license that can be found in the LICENSE file.
2248 2234
2249 2235
2250 @DocsEditable 2236 @DocsEditable
2251 @DomName('SVGFEMergeElement') 2237 @DomName('SVGFEMergeElement')
2238 @SupportedBrowser(SupportedBrowser.CHROME)
2239 @SupportedBrowser(SupportedBrowser.FIREFOX)
2240 @SupportedBrowser(SupportedBrowser.IE, '10')
2241 @SupportedBrowser(SupportedBrowser.SAFARI)
2252 class FEMergeElement extends StyledElement implements FilterPrimitiveStandardAtt ributes native "*SVGFEMergeElement" { 2242 class FEMergeElement extends StyledElement implements FilterPrimitiveStandardAtt ributes native "*SVGFEMergeElement" {
2253 2243
2244 @DocsEditable
2245 factory FEMergeElement() => _SvgElementFactoryProvider.createSvgElement_tag("f eMerge");
2246
2247 /// Checks if this type is supported on the current platform.
2248 static bool get supported => SvgElement.isTagSupported('feMerge') && (new SvgE lement.tag('feMerge') is FEMergeElement);
2249
2254 // From SVGFilterPrimitiveStandardAttributes 2250 // From SVGFilterPrimitiveStandardAttributes
2255 2251
2256 @DomName('SVGFEMergeElement.height') 2252 @DomName('SVGFEMergeElement.height')
2257 @DocsEditable 2253 @DocsEditable
2258 final AnimatedLength height; 2254 final AnimatedLength height;
2259 2255
2260 @DomName('SVGFEMergeElement.result') 2256 @DomName('SVGFEMergeElement.result')
2261 @DocsEditable 2257 @DocsEditable
2262 final AnimatedString result; 2258 final AnimatedString result;
2263 2259
2264 @DomName('SVGFEMergeElement.width') 2260 @DomName('SVGFEMergeElement.width')
2265 @DocsEditable 2261 @DocsEditable
2266 final AnimatedLength width; 2262 final AnimatedLength width;
2267 2263
2268 @DomName('SVGFEMergeElement.x') 2264 @DomName('SVGFEMergeElement.x')
2269 @DocsEditable 2265 @DocsEditable
2270 final AnimatedLength x; 2266 final AnimatedLength x;
2271 2267
2272 @DomName('SVGFEMergeElement.y') 2268 @DomName('SVGFEMergeElement.y')
2273 @DocsEditable 2269 @DocsEditable
2274 final AnimatedLength y; 2270 final AnimatedLength y;
2275 } 2271 }
2276 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2272 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2277 // for details. All rights reserved. Use of this source code is governed by a 2273 // for details. All rights reserved. Use of this source code is governed by a
2278 // BSD-style license that can be found in the LICENSE file. 2274 // BSD-style license that can be found in the LICENSE file.
2279 2275
2280 2276
2281 @DocsEditable 2277 @DocsEditable
2282 @DomName('SVGFEMergeNodeElement') 2278 @DomName('SVGFEMergeNodeElement')
2279 @SupportedBrowser(SupportedBrowser.CHROME)
2280 @SupportedBrowser(SupportedBrowser.FIREFOX)
2281 @SupportedBrowser(SupportedBrowser.IE, '10')
2282 @SupportedBrowser(SupportedBrowser.SAFARI)
2283 class FEMergeNodeElement extends SvgElement native "*SVGFEMergeNodeElement" { 2283 class FEMergeNodeElement extends SvgElement native "*SVGFEMergeNodeElement" {
2284 2284
2285 @DocsEditable
2286 factory FEMergeNodeElement() => _SvgElementFactoryProvider.createSvgElement_ta g("feMergeNode");
2287
2288 /// Checks if this type is supported on the current platform.
2289 static bool get supported => SvgElement.isTagSupported('feMergeNode') && (new SvgElement.tag('feMergeNode') is FEMergeNodeElement);
2290
2285 @DomName('SVGFEMergeNodeElement.in1') 2291 @DomName('SVGFEMergeNodeElement.in1')
2286 @DocsEditable 2292 @DocsEditable
2287 final AnimatedString in1; 2293 final AnimatedString in1;
2288 } 2294 }
2289 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2295 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2290 // for details. All rights reserved. Use of this source code is governed by a 2296 // for details. All rights reserved. Use of this source code is governed by a
2291 // BSD-style license that can be found in the LICENSE file. 2297 // BSD-style license that can be found in the LICENSE file.
2292 2298
2293 2299
2294 @DocsEditable 2300 @DocsEditable
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
2343 @DocsEditable 2349 @DocsEditable
2344 final AnimatedLength y; 2350 final AnimatedLength y;
2345 } 2351 }
2346 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2352 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2347 // for details. All rights reserved. Use of this source code is governed by a 2353 // for details. All rights reserved. Use of this source code is governed by a
2348 // BSD-style license that can be found in the LICENSE file. 2354 // BSD-style license that can be found in the LICENSE file.
2349 2355
2350 2356
2351 @DocsEditable 2357 @DocsEditable
2352 @DomName('SVGFEOffsetElement') 2358 @DomName('SVGFEOffsetElement')
2359 @SupportedBrowser(SupportedBrowser.CHROME)
2360 @SupportedBrowser(SupportedBrowser.FIREFOX)
2361 @SupportedBrowser(SupportedBrowser.IE, '10')
2362 @SupportedBrowser(SupportedBrowser.SAFARI)
2353 class FEOffsetElement extends StyledElement implements FilterPrimitiveStandardAt tributes native "*SVGFEOffsetElement" { 2363 class FEOffsetElement extends StyledElement implements FilterPrimitiveStandardAt tributes native "*SVGFEOffsetElement" {
2354 2364
2365 @DocsEditable
2366 factory FEOffsetElement() => _SvgElementFactoryProvider.createSvgElement_tag(" feOffset");
2367
2368 /// Checks if this type is supported on the current platform.
2369 static bool get supported => SvgElement.isTagSupported('feOffset') && (new Svg Element.tag('feOffset') is FEOffsetElement);
2370
2355 @DomName('SVGFEOffsetElement.dx') 2371 @DomName('SVGFEOffsetElement.dx')
2356 @DocsEditable 2372 @DocsEditable
2357 final AnimatedNumber dx; 2373 final AnimatedNumber dx;
2358 2374
2359 @DomName('SVGFEOffsetElement.dy') 2375 @DomName('SVGFEOffsetElement.dy')
2360 @DocsEditable 2376 @DocsEditable
2361 final AnimatedNumber dy; 2377 final AnimatedNumber dy;
2362 2378
2363 @DomName('SVGFEOffsetElement.in1') 2379 @DomName('SVGFEOffsetElement.in1')
2364 @DocsEditable 2380 @DocsEditable
(...skipping 21 matching lines...) Expand all
2386 @DocsEditable 2402 @DocsEditable
2387 final AnimatedLength y; 2403 final AnimatedLength y;
2388 } 2404 }
2389 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2405 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2390 // for details. All rights reserved. Use of this source code is governed by a 2406 // for details. All rights reserved. Use of this source code is governed by a
2391 // BSD-style license that can be found in the LICENSE file. 2407 // BSD-style license that can be found in the LICENSE file.
2392 2408
2393 2409
2394 @DocsEditable 2410 @DocsEditable
2395 @DomName('SVGFEPointLightElement') 2411 @DomName('SVGFEPointLightElement')
2412 @SupportedBrowser(SupportedBrowser.CHROME)
2413 @SupportedBrowser(SupportedBrowser.FIREFOX)
2414 @SupportedBrowser(SupportedBrowser.IE, '10')
2415 @SupportedBrowser(SupportedBrowser.SAFARI)
2396 class FEPointLightElement extends SvgElement native "*SVGFEPointLightElement" { 2416 class FEPointLightElement extends SvgElement native "*SVGFEPointLightElement" {
2397 2417
2418 @DocsEditable
2419 factory FEPointLightElement() => _SvgElementFactoryProvider.createSvgElement_t ag("fePointLight");
2420
2421 /// Checks if this type is supported on the current platform.
2422 static bool get supported => SvgElement.isTagSupported('fePointLight') && (new SvgElement.tag('fePointLight') is FEPointLightElement);
2423
2398 @DomName('SVGFEPointLightElement.x') 2424 @DomName('SVGFEPointLightElement.x')
2399 @DocsEditable 2425 @DocsEditable
2400 final AnimatedNumber x; 2426 final AnimatedNumber x;
2401 2427
2402 @DomName('SVGFEPointLightElement.y') 2428 @DomName('SVGFEPointLightElement.y')
2403 @DocsEditable 2429 @DocsEditable
2404 final AnimatedNumber y; 2430 final AnimatedNumber y;
2405 2431
2406 @DomName('SVGFEPointLightElement.z') 2432 @DomName('SVGFEPointLightElement.z')
2407 @DocsEditable 2433 @DocsEditable
2408 final AnimatedNumber z; 2434 final AnimatedNumber z;
2409 } 2435 }
2410 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2436 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2411 // for details. All rights reserved. Use of this source code is governed by a 2437 // for details. All rights reserved. Use of this source code is governed by a
2412 // BSD-style license that can be found in the LICENSE file. 2438 // BSD-style license that can be found in the LICENSE file.
2413 2439
2414 2440
2415 @DocsEditable 2441 @DocsEditable
2416 @DomName('SVGFESpecularLightingElement') 2442 @DomName('SVGFESpecularLightingElement')
2443 @SupportedBrowser(SupportedBrowser.CHROME)
2444 @SupportedBrowser(SupportedBrowser.FIREFOX)
2445 @SupportedBrowser(SupportedBrowser.IE, '10')
2446 @SupportedBrowser(SupportedBrowser.SAFARI)
2417 class FESpecularLightingElement extends StyledElement implements FilterPrimitive StandardAttributes native "*SVGFESpecularLightingElement" { 2447 class FESpecularLightingElement extends StyledElement implements FilterPrimitive StandardAttributes native "*SVGFESpecularLightingElement" {
2418 2448
2449 @DocsEditable
2450 factory FESpecularLightingElement() => _SvgElementFactoryProvider.createSvgEle ment_tag("feSpecularLighting");
2451
2452 /// Checks if this type is supported on the current platform.
2453 static bool get supported => SvgElement.isTagSupported('feSpecularLighting') & & (new SvgElement.tag('feSpecularLighting') is FESpecularLightingElement);
2454
2419 @DomName('SVGFESpecularLightingElement.in1') 2455 @DomName('SVGFESpecularLightingElement.in1')
2420 @DocsEditable 2456 @DocsEditable
2421 final AnimatedString in1; 2457 final AnimatedString in1;
2422 2458
2423 @DomName('SVGFESpecularLightingElement.specularConstant') 2459 @DomName('SVGFESpecularLightingElement.specularConstant')
2424 @DocsEditable 2460 @DocsEditable
2425 final AnimatedNumber specularConstant; 2461 final AnimatedNumber specularConstant;
2426 2462
2427 @DomName('SVGFESpecularLightingElement.specularExponent') 2463 @DomName('SVGFESpecularLightingElement.specularExponent')
2428 @DocsEditable 2464 @DocsEditable
(...skipping 25 matching lines...) Expand all
2454 @DocsEditable 2490 @DocsEditable
2455 final AnimatedLength y; 2491 final AnimatedLength y;
2456 } 2492 }
2457 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2493 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2458 // for details. All rights reserved. Use of this source code is governed by a 2494 // for details. All rights reserved. Use of this source code is governed by a
2459 // BSD-style license that can be found in the LICENSE file. 2495 // BSD-style license that can be found in the LICENSE file.
2460 2496
2461 2497
2462 @DocsEditable 2498 @DocsEditable
2463 @DomName('SVGFESpotLightElement') 2499 @DomName('SVGFESpotLightElement')
2500 @SupportedBrowser(SupportedBrowser.CHROME)
2501 @SupportedBrowser(SupportedBrowser.FIREFOX)
2502 @SupportedBrowser(SupportedBrowser.IE, '10')
2503 @SupportedBrowser(SupportedBrowser.SAFARI)
2464 class FESpotLightElement extends SvgElement native "*SVGFESpotLightElement" { 2504 class FESpotLightElement extends SvgElement native "*SVGFESpotLightElement" {
2465 2505
2506 @DocsEditable
2507 factory FESpotLightElement() => _SvgElementFactoryProvider.createSvgElement_ta g("feSpotLight");
2508
2509 /// Checks if this type is supported on the current platform.
2510 static bool get supported => SvgElement.isTagSupported('feSpotLight') && (new SvgElement.tag('feSpotLight') is FESpotLightElement);
2511
2466 @DomName('SVGFESpotLightElement.limitingConeAngle') 2512 @DomName('SVGFESpotLightElement.limitingConeAngle')
2467 @DocsEditable 2513 @DocsEditable
2468 final AnimatedNumber limitingConeAngle; 2514 final AnimatedNumber limitingConeAngle;
2469 2515
2470 @DomName('SVGFESpotLightElement.pointsAtX') 2516 @DomName('SVGFESpotLightElement.pointsAtX')
2471 @DocsEditable 2517 @DocsEditable
2472 final AnimatedNumber pointsAtX; 2518 final AnimatedNumber pointsAtX;
2473 2519
2474 @DomName('SVGFESpotLightElement.pointsAtY') 2520 @DomName('SVGFESpotLightElement.pointsAtY')
2475 @DocsEditable 2521 @DocsEditable
(...skipping 19 matching lines...) Expand all
2495 @DocsEditable 2541 @DocsEditable
2496 final AnimatedNumber z; 2542 final AnimatedNumber z;
2497 } 2543 }
2498 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2544 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2499 // for details. All rights reserved. Use of this source code is governed by a 2545 // for details. All rights reserved. Use of this source code is governed by a
2500 // BSD-style license that can be found in the LICENSE file. 2546 // BSD-style license that can be found in the LICENSE file.
2501 2547
2502 2548
2503 @DocsEditable 2549 @DocsEditable
2504 @DomName('SVGFETileElement') 2550 @DomName('SVGFETileElement')
2551 @SupportedBrowser(SupportedBrowser.CHROME)
2552 @SupportedBrowser(SupportedBrowser.FIREFOX)
2553 @SupportedBrowser(SupportedBrowser.IE, '10')
2554 @SupportedBrowser(SupportedBrowser.SAFARI)
2505 class FETileElement extends StyledElement implements FilterPrimitiveStandardAttr ibutes native "*SVGFETileElement" { 2555 class FETileElement extends StyledElement implements FilterPrimitiveStandardAttr ibutes native "*SVGFETileElement" {
2506 2556
2557 @DocsEditable
2558 factory FETileElement() => _SvgElementFactoryProvider.createSvgElement_tag("fe Tile");
2559
2560 /// Checks if this type is supported on the current platform.
2561 static bool get supported => SvgElement.isTagSupported('feTile') && (new SvgEl ement.tag('feTile') is FETileElement);
2562
2507 @DomName('SVGFETileElement.in1') 2563 @DomName('SVGFETileElement.in1')
2508 @DocsEditable 2564 @DocsEditable
2509 final AnimatedString in1; 2565 final AnimatedString in1;
2510 2566
2511 // From SVGFilterPrimitiveStandardAttributes 2567 // From SVGFilterPrimitiveStandardAttributes
2512 2568
2513 @DomName('SVGFETileElement.height') 2569 @DomName('SVGFETileElement.height')
2514 @DocsEditable 2570 @DocsEditable
2515 final AnimatedLength height; 2571 final AnimatedLength height;
2516 2572
(...skipping 13 matching lines...) Expand all
2530 @DocsEditable 2586 @DocsEditable
2531 final AnimatedLength y; 2587 final AnimatedLength y;
2532 } 2588 }
2533 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2589 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2534 // for details. All rights reserved. Use of this source code is governed by a 2590 // for details. All rights reserved. Use of this source code is governed by a
2535 // BSD-style license that can be found in the LICENSE file. 2591 // BSD-style license that can be found in the LICENSE file.
2536 2592
2537 2593
2538 @DocsEditable 2594 @DocsEditable
2539 @DomName('SVGFETurbulenceElement') 2595 @DomName('SVGFETurbulenceElement')
2596 @SupportedBrowser(SupportedBrowser.CHROME)
2597 @SupportedBrowser(SupportedBrowser.FIREFOX)
2598 @SupportedBrowser(SupportedBrowser.IE, '10')
2599 @SupportedBrowser(SupportedBrowser.SAFARI)
2540 class FETurbulenceElement extends StyledElement implements FilterPrimitiveStanda rdAttributes native "*SVGFETurbulenceElement" { 2600 class FETurbulenceElement extends StyledElement implements FilterPrimitiveStanda rdAttributes native "*SVGFETurbulenceElement" {
2541 2601
2602 @DocsEditable
2603 factory FETurbulenceElement() => _SvgElementFactoryProvider.createSvgElement_t ag("feTurbulence");
2604
2605 /// Checks if this type is supported on the current platform.
2606 static bool get supported => SvgElement.isTagSupported('feTurbulence') && (new SvgElement.tag('feTurbulence') is FETurbulenceElement);
2607
2542 static const int SVG_STITCHTYPE_NOSTITCH = 2; 2608 static const int SVG_STITCHTYPE_NOSTITCH = 2;
2543 2609
2544 static const int SVG_STITCHTYPE_STITCH = 1; 2610 static const int SVG_STITCHTYPE_STITCH = 1;
2545 2611
2546 static const int SVG_STITCHTYPE_UNKNOWN = 0; 2612 static const int SVG_STITCHTYPE_UNKNOWN = 0;
2547 2613
2548 static const int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1; 2614 static const int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1;
2549 2615
2550 static const int SVG_TURBULENCE_TYPE_TURBULENCE = 2; 2616 static const int SVG_TURBULENCE_TYPE_TURBULENCE = 2;
2551 2617
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
2597 @DocsEditable 2663 @DocsEditable
2598 final AnimatedLength y; 2664 final AnimatedLength y;
2599 } 2665 }
2600 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2601 // for details. All rights reserved. Use of this source code is governed by a 2667 // for details. All rights reserved. Use of this source code is governed by a
2602 // BSD-style license that can be found in the LICENSE file. 2668 // BSD-style license that can be found in the LICENSE file.
2603 2669
2604 2670
2605 @DocsEditable 2671 @DocsEditable
2606 @DomName('SVGFilterElement') 2672 @DomName('SVGFilterElement')
2673 @SupportedBrowser(SupportedBrowser.CHROME)
2674 @SupportedBrowser(SupportedBrowser.FIREFOX)
2675 @SupportedBrowser(SupportedBrowser.IE, '10')
2676 @SupportedBrowser(SupportedBrowser.SAFARI)
2607 class FilterElement extends StyledElement implements UriReference, ExternalResou rcesRequired, LangSpace native "*SVGFilterElement" { 2677 class FilterElement extends StyledElement implements UriReference, ExternalResou rcesRequired, LangSpace native "*SVGFilterElement" {
2608 2678
2609 @DocsEditable 2679 @DocsEditable
2610 factory FilterElement() => _SvgElementFactoryProvider.createSvgElement_tag("fi lter"); 2680 factory FilterElement() => _SvgElementFactoryProvider.createSvgElement_tag("fi lter");
2611 2681
2682 /// Checks if this type is supported on the current platform.
2683 static bool get supported => SvgElement.isTagSupported('filter') && (new SvgEl ement.tag('filter') is FilterElement);
2684
2612 @DomName('SVGFilterElement.filterResX') 2685 @DomName('SVGFilterElement.filterResX')
2613 @DocsEditable 2686 @DocsEditable
2614 final AnimatedInteger filterResX; 2687 final AnimatedInteger filterResX;
2615 2688
2616 @DomName('SVGFilterElement.filterResY') 2689 @DomName('SVGFilterElement.filterResY')
2617 @DocsEditable 2690 @DocsEditable
2618 final AnimatedInteger filterResY; 2691 final AnimatedInteger filterResY;
2619 2692
2620 @DomName('SVGFilterElement.filterUnits') 2693 @DomName('SVGFilterElement.filterUnits')
2621 @DocsEditable 2694 @DocsEditable
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
2696 AnimatedPreserveAspectRatio preserveAspectRatio; 2769 AnimatedPreserveAspectRatio preserveAspectRatio;
2697 2770
2698 AnimatedRect viewBox; 2771 AnimatedRect viewBox;
2699 } 2772 }
2700 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2773 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2701 // for details. All rights reserved. Use of this source code is governed by a 2774 // for details. All rights reserved. Use of this source code is governed by a
2702 // BSD-style license that can be found in the LICENSE file. 2775 // BSD-style license that can be found in the LICENSE file.
2703 2776
2704 2777
2705 @DocsEditable 2778 @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
2778 @DomName('SVGForeignObjectElement') 2779 @DomName('SVGForeignObjectElement')
2780 @SupportedBrowser(SupportedBrowser.CHROME)
2781 @SupportedBrowser(SupportedBrowser.FIREFOX)
2782 @SupportedBrowser(SupportedBrowser.SAFARI)
2779 class ForeignObjectElement extends StyledElement implements Transformable, Tests , ExternalResourcesRequired, LangSpace native "*SVGForeignObjectElement" { 2783 class ForeignObjectElement extends StyledElement implements Transformable, Tests , ExternalResourcesRequired, LangSpace native "*SVGForeignObjectElement" {
2780 2784
2781 @DocsEditable 2785 @DocsEditable
2782 factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_ tag("foreignObject"); 2786 factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_ tag("foreignObject");
2783 2787
2788 /// Checks if this type is supported on the current platform.
2789 static bool get supported => SvgElement.isTagSupported('foreignObject') && (ne w SvgElement.tag('foreignObject') is ForeignObjectElement);
2790
2784 @DomName('SVGForeignObjectElement.height') 2791 @DomName('SVGForeignObjectElement.height')
2785 @DocsEditable 2792 @DocsEditable
2786 final AnimatedLength height; 2793 final AnimatedLength height;
2787 2794
2788 @DomName('SVGForeignObjectElement.width') 2795 @DomName('SVGForeignObjectElement.width')
2789 @DocsEditable 2796 @DocsEditable
2790 final AnimatedLength width; 2797 final AnimatedLength width;
2791 2798
2792 @DomName('SVGForeignObjectElement.x') 2799 @DomName('SVGForeignObjectElement.x')
2793 @DocsEditable 2800 @DocsEditable
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
2944 @DomName('SVGGElement.transform') 2951 @DomName('SVGGElement.transform')
2945 @DocsEditable 2952 @DocsEditable
2946 final AnimatedTransformList transform; 2953 final AnimatedTransformList transform;
2947 } 2954 }
2948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 2955 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
2949 // for details. All rights reserved. Use of this source code is governed by a 2956 // for details. All rights reserved. Use of this source code is governed by a
2950 // BSD-style license that can be found in the LICENSE file. 2957 // BSD-style license that can be found in the LICENSE file.
2951 2958
2952 2959
2953 @DocsEditable 2960 @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
3058 @DomName('SVGImageElement') 2961 @DomName('SVGImageElement')
3059 class ImageElement extends StyledElement implements UriReference, Tests, Transfo rmable, ExternalResourcesRequired, LangSpace native "*SVGImageElement" { 2962 class ImageElement extends StyledElement implements UriReference, Tests, Transfo rmable, ExternalResourcesRequired, LangSpace native "*SVGImageElement" {
3060 2963
3061 @DocsEditable 2964 @DocsEditable
3062 factory ImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("ima ge"); 2965 factory ImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("ima ge");
3063 2966
3064 @DomName('SVGImageElement.height') 2967 @DomName('SVGImageElement.height')
3065 @DocsEditable 2968 @DocsEditable
3066 final AnimatedLength height; 2969 final AnimatedLength height;
3067 2970
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
3156 final AnimatedString href; 3059 final AnimatedString href;
3157 } 3060 }
3158 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3061 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3159 // for details. All rights reserved. Use of this source code is governed by a 3062 // for details. All rights reserved. Use of this source code is governed by a
3160 // BSD-style license that can be found in the LICENSE file. 3063 // BSD-style license that can be found in the LICENSE file.
3161 3064
3162 3065
3163 @DomName('SVGLangSpace') 3066 @DomName('SVGLangSpace')
3164 abstract class LangSpace { 3067 abstract class LangSpace {
3165 3068
3069 /// Checks if this type is supported on the current platform.
3070 static bool supported(SvgElement element) => JS('bool', '#.xmlspace !== undefi ned && #.xmllang !== undefined', element, element);
3071
3166 String xmllang; 3072 String xmllang;
3167 3073
3168 String xmlspace; 3074 String xmlspace;
3169 } 3075 }
3170 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3076 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3171 // for details. All rights reserved. Use of this source code is governed by a 3077 // for details. All rights reserved. Use of this source code is governed by a
3172 // BSD-style license that can be found in the LICENSE file. 3078 // BSD-style license that can be found in the LICENSE file.
3173 3079
3174 3080
3175 @DocsEditable 3081 @DocsEditable
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
3539 @DocsEditable 3445 @DocsEditable
3540 final AnimatedTransformList transform; 3446 final AnimatedTransformList transform;
3541 } 3447 }
3542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3448 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3543 // for details. All rights reserved. Use of this source code is governed by a 3449 // for details. All rights reserved. Use of this source code is governed by a
3544 // BSD-style license that can be found in the LICENSE file. 3450 // BSD-style license that can be found in the LICENSE file.
3545 3451
3546 3452
3547 @DocsEditable 3453 @DocsEditable
3548 @DomName('SVGLinearGradientElement') 3454 @DomName('SVGLinearGradientElement')
3549 class LinearGradientElement extends GradientElement native "*SVGLinearGradientEl ement" { 3455 class LinearGradientElement extends _SVGGradientElement native "*SVGLinearGradie ntElement" {
3550 3456
3551 @DocsEditable 3457 @DocsEditable
3552 factory LinearGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("linearGradient"); 3458 factory LinearGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("linearGradient");
3553 3459
3554 @DomName('SVGLinearGradientElement.x1') 3460 @DomName('SVGLinearGradientElement.x1')
3555 @DocsEditable 3461 @DocsEditable
3556 final AnimatedLength x1; 3462 final AnimatedLength x1;
3557 3463
3558 @DomName('SVGLinearGradientElement.x2') 3464 @DomName('SVGLinearGradientElement.x2')
3559 @DocsEditable 3465 @DocsEditable
(...skipping 26 matching lines...) Expand all
3586 Matrix getScreenCTM(); 3492 Matrix getScreenCTM();
3587 3493
3588 Matrix getTransformToElement(SvgElement element); 3494 Matrix getTransformToElement(SvgElement element);
3589 } 3495 }
3590 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3496 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3591 // for details. All rights reserved. Use of this source code is governed by a 3497 // for details. All rights reserved. Use of this source code is governed by a
3592 // BSD-style license that can be found in the LICENSE file. 3498 // BSD-style license that can be found in the LICENSE file.
3593 3499
3594 3500
3595 @DocsEditable 3501 @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
3620 @DomName('SVGMarkerElement') 3502 @DomName('SVGMarkerElement')
3621 class MarkerElement extends StyledElement implements FitToViewBox, ExternalResou rcesRequired, LangSpace native "*SVGMarkerElement" { 3503 class MarkerElement extends StyledElement implements FitToViewBox, ExternalResou rcesRequired, LangSpace native "*SVGMarkerElement" {
3622 3504
3623 @DocsEditable 3505 @DocsEditable
3624 factory MarkerElement() => _SvgElementFactoryProvider.createSvgElement_tag("ma rker"); 3506 factory MarkerElement() => _SvgElementFactoryProvider.createSvgElement_tag("ma rker");
3625 3507
3626 static const int SVG_MARKERUNITS_STROKEWIDTH = 2; 3508 static const int SVG_MARKERUNITS_STROKEWIDTH = 2;
3627 3509
3628 static const int SVG_MARKERUNITS_UNKNOWN = 0; 3510 static const int SVG_MARKERUNITS_UNKNOWN = 0;
3629 3511
(...skipping 222 matching lines...) Expand 10 before | Expand all | Expand 10 after
3852 @DocsEditable 3734 @DocsEditable
3853 @DomName('SVGMetadataElement') 3735 @DomName('SVGMetadataElement')
3854 class MetadataElement extends SvgElement native "*SVGMetadataElement" { 3736 class MetadataElement extends SvgElement native "*SVGMetadataElement" {
3855 } 3737 }
3856 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3738 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3857 // for details. All rights reserved. Use of this source code is governed by a 3739 // for details. All rights reserved. Use of this source code is governed by a
3858 // BSD-style license that can be found in the LICENSE file. 3740 // BSD-style license that can be found in the LICENSE file.
3859 3741
3860 3742
3861 @DocsEditable 3743 @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
3871 @DomName('SVGNumber') 3744 @DomName('SVGNumber')
3872 class Number native "*SVGNumber" { 3745 class Number native "*SVGNumber" {
3873 3746
3874 @DomName('SVGNumber.value') 3747 @DomName('SVGNumber.value')
3875 @DocsEditable 3748 @DocsEditable
3876 num value; 3749 num value;
3877 } 3750 }
3878 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 3751 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
3879 // for details. All rights reserved. Use of this source code is governed by a 3752 // for details. All rights reserved. Use of this source code is governed by a
3880 // BSD-style license that can be found in the LICENSE file. 3753 // BSD-style license that can be found in the LICENSE file.
(...skipping 1521 matching lines...) Expand 10 before | Expand all | Expand 10 after
5402 @DocsEditable 5275 @DocsEditable
5403 int meetOrSlice; 5276 int meetOrSlice;
5404 } 5277 }
5405 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5278 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5406 // for details. All rights reserved. Use of this source code is governed by a 5279 // for details. All rights reserved. Use of this source code is governed by a
5407 // BSD-style license that can be found in the LICENSE file. 5280 // BSD-style license that can be found in the LICENSE file.
5408 5281
5409 5282
5410 @DocsEditable 5283 @DocsEditable
5411 @DomName('SVGRadialGradientElement') 5284 @DomName('SVGRadialGradientElement')
5412 class RadialGradientElement extends GradientElement native "*SVGRadialGradientEl ement" { 5285 class RadialGradientElement extends _SVGGradientElement native "*SVGRadialGradie ntElement" {
5413 5286
5414 @DocsEditable 5287 @DocsEditable
5415 factory RadialGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("radialGradient"); 5288 factory RadialGradientElement() => _SvgElementFactoryProvider.createSvgElement _tag("radialGradient");
5416 5289
5417 @DomName('SVGRadialGradientElement.cx') 5290 @DomName('SVGRadialGradientElement.cx')
5418 @DocsEditable 5291 @DocsEditable
5419 final AnimatedLength cx; 5292 final AnimatedLength cx;
5420 5293
5421 @DomName('SVGRadialGradientElement.cy') 5294 @DomName('SVGRadialGradientElement.cy')
5422 @DocsEditable 5295 @DocsEditable
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
5616 @DocsEditable 5489 @DocsEditable
5617 final AnimatedString href; 5490 final AnimatedString href;
5618 } 5491 }
5619 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5492 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5620 // for details. All rights reserved. Use of this source code is governed by a 5493 // for details. All rights reserved. Use of this source code is governed by a
5621 // BSD-style license that can be found in the LICENSE file. 5494 // BSD-style license that can be found in the LICENSE file.
5622 5495
5623 5496
5624 @DocsEditable 5497 @DocsEditable
5625 @DomName('SVGSetElement') 5498 @DomName('SVGSetElement')
5499 @SupportedBrowser(SupportedBrowser.CHROME)
5500 @SupportedBrowser(SupportedBrowser.FIREFOX)
5501 @SupportedBrowser(SupportedBrowser.SAFARI)
5626 class SetElement extends AnimationElement native "*SVGSetElement" { 5502 class SetElement extends AnimationElement native "*SVGSetElement" {
5627 5503
5628 @DocsEditable 5504 @DocsEditable
5629 factory SetElement() => _SvgElementFactoryProvider.createSvgElement_tag("set") ; 5505 factory SetElement() => _SvgElementFactoryProvider.createSvgElement_tag("set") ;
5506
5507 /// Checks if this type is supported on the current platform.
5508 static bool get supported => SvgElement.isTagSupported('set') && (new SvgEleme nt.tag('set') is SetElement);
5630 } 5509 }
5631 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 5510 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
5632 // for details. All rights reserved. Use of this source code is governed by a 5511 // for details. All rights reserved. Use of this source code is governed by a
5633 // BSD-style license that can be found in the LICENSE file. 5512 // BSD-style license that can be found in the LICENSE file.
5634 5513
5635 5514
5636 @DocsEditable 5515 @DocsEditable
5637 @DomName('SVGStopElement') 5516 @DomName('SVGStopElement')
5638 class StopElement extends StyledElement native "*SVGStopElement" { 5517 class StopElement extends StyledElement native "*SVGStopElement" {
5639 5518
(...skipping 409 matching lines...) Expand 10 before | Expand all | Expand 10 after
6049 5928
6050 HtmlCollection get $dom_children { 5929 HtmlCollection get $dom_children {
6051 throw new UnsupportedError("Cannot get dom_children on SVG."); 5930 throw new UnsupportedError("Cannot get dom_children on SVG.");
6052 } 5931 }
6053 5932
6054 bool get isContentEditable => false; 5933 bool get isContentEditable => false;
6055 void click() { 5934 void click() {
6056 throw new UnsupportedError("Cannot invoke click SVG."); 5935 throw new UnsupportedError("Cannot invoke click SVG.");
6057 } 5936 }
6058 5937
5938 /**
5939 * Checks to see if the SVG element type is supported by the current platform.
5940 *
5941 * The tag should be a valid SVG element tag name.
5942 */
5943 static bool isTagSupported(String tag) {
5944 var e = new SvgElement.tag(tag);
5945 return e is SvgElement && !(e is UnknownElement);
5946 }
6059 5947
6060 // Shadowing definition. 5948 // Shadowing definition.
6061 String get id => JS("String", "#.id", this); 5949 String get id => JS("String", "#.id", this);
6062 5950
6063 void set id(String value) { 5951 void set id(String value) {
6064 JS("void", "#.id = #", this, value); 5952 JS("void", "#.id = #", this, value);
6065 } 5953 }
6066 5954
6067 @JSName('ownerSVGElement') 5955 @JSName('ownerSVGElement')
6068 @DomName('SVGElement.ownerSVGElement') 5956 @DomName('SVGElement.ownerSVGElement')
(...skipping 416 matching lines...) Expand 10 before | Expand all | Expand 10 after
6485 @DomName('SVGSymbolElement.xmlspace') 6373 @DomName('SVGSymbolElement.xmlspace')
6486 @DocsEditable 6374 @DocsEditable
6487 String xmlspace; 6375 String xmlspace;
6488 } 6376 }
6489 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6377 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6490 // for details. All rights reserved. Use of this source code is governed by a 6378 // for details. All rights reserved. Use of this source code is governed by a
6491 // BSD-style license that can be found in the LICENSE file. 6379 // BSD-style license that can be found in the LICENSE file.
6492 6380
6493 6381
6494 @DocsEditable 6382 @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
6513 @DomName('SVGTSpanElement') 6383 @DomName('SVGTSpanElement')
6514 class TSpanElement extends TextPositioningElement native "*SVGTSpanElement" { 6384 class TSpanElement extends TextPositioningElement native "*SVGTSpanElement" {
6515 6385
6516 @DocsEditable 6386 @DocsEditable
6517 factory TSpanElement() => _SvgElementFactoryProvider.createSvgElement_tag("tsp an"); 6387 factory TSpanElement() => _SvgElementFactoryProvider.createSvgElement_tag("tsp an");
6518 } 6388 }
6519 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 6389 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
6520 // for details. All rights reserved. Use of this source code is governed by a 6390 // for details. All rights reserved. Use of this source code is governed by a
6521 // BSD-style license that can be found in the LICENSE file. 6391 // BSD-style license that can be found in the LICENSE file.
6522 6392
(...skipping 685 matching lines...) Expand 10 before | Expand all | Expand 10 after
7208 @DomName('SVGUseElement.href') 7078 @DomName('SVGUseElement.href')
7209 @DocsEditable 7079 @DocsEditable
7210 final AnimatedString href; 7080 final AnimatedString href;
7211 } 7081 }
7212 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 7082 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7213 // for details. All rights reserved. Use of this source code is governed by a 7083 // for details. All rights reserved. Use of this source code is governed by a
7214 // BSD-style license that can be found in the LICENSE file. 7084 // BSD-style license that can be found in the LICENSE file.
7215 7085
7216 7086
7217 @DocsEditable 7087 @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
7230 @DomName('SVGViewElement') 7088 @DomName('SVGViewElement')
7231 class ViewElement extends SvgElement implements FitToViewBox, ExternalResourcesR equired, ZoomAndPan native "*SVGViewElement" { 7089 class ViewElement extends SvgElement implements FitToViewBox, ExternalResourcesR equired, ZoomAndPan native "*SVGViewElement" {
7232 7090
7233 @DocsEditable 7091 @DocsEditable
7234 factory ViewElement() => _SvgElementFactoryProvider.createSvgElement_tag("view "); 7092 factory ViewElement() => _SvgElementFactoryProvider.createSvgElement_tag("view ");
7235 7093
7236 @DomName('SVGViewElement.viewTarget') 7094 @DomName('SVGViewElement.viewTarget')
7237 @DocsEditable 7095 @DocsEditable
7238 final StringList viewTarget; 7096 final StringList viewTarget;
7239 7097
(...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after
7539 7397
7540 List<ElementInstance> getRange(int start, int rangeLength) => 7398 List<ElementInstance> getRange(int start, int rangeLength) =>
7541 Lists.getRange(this, start, rangeLength, <ElementInstance>[]); 7399 Lists.getRange(this, start, rangeLength, <ElementInstance>[]);
7542 7400
7543 // -- end List<ElementInstance> mixins. 7401 // -- end List<ElementInstance> mixins.
7544 7402
7545 @DomName('SVGElementInstanceList.item') 7403 @DomName('SVGElementInstanceList.item')
7546 @DocsEditable 7404 @DocsEditable
7547 ElementInstance item(int index) native; 7405 ElementInstance item(int index) native;
7548 } 7406 }
7407 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7408 // for details. All rights reserved. Use of this source code is governed by a
7409 // BSD-style license that can be found in the LICENSE file.
7410
7411
7412 @DocsEditable
7413 @DomName('SVGAltGlyphDefElement')
7414 class _SVGAltGlyphDefElement extends SvgElement native "*SVGAltGlyphDefElement" {
7415 }
7416 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7417 // for details. All rights reserved. Use of this source code is governed by a
7418 // BSD-style license that can be found in the LICENSE file.
7419
7420
7421 @DocsEditable
7422 @DomName('SVGAltGlyphItemElement')
7423 class _SVGAltGlyphItemElement extends SvgElement native "*SVGAltGlyphItemElement " {
7424 }
7425 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7426 // for details. All rights reserved. Use of this source code is governed by a
7427 // BSD-style license that can be found in the LICENSE file.
7428
7429
7430 @DocsEditable
7431 @DomName('SVGAnimateColorElement')
7432 class _SVGAnimateColorElement extends AnimationElement native "*SVGAnimateColorE lement" {
7433 }
7434 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7435 // for details. All rights reserved. Use of this source code is governed by a
7436 // BSD-style license that can be found in the LICENSE file.
7437
7438
7439 @DocsEditable
7440 @DomName('SVGComponentTransferFunctionElement')
7441 class _SVGComponentTransferFunctionElement extends SvgElement native "*SVGCompon entTransferFunctionElement" {
7442
7443 static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3;
7444
7445 static const int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5;
7446
7447 static const int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1;
7448
7449 static const int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4;
7450
7451 static const int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2;
7452
7453 static const int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
7454
7455 @DomName('SVGComponentTransferFunctionElement.amplitude')
7456 @DocsEditable
7457 final AnimatedNumber amplitude;
7458
7459 @DomName('SVGComponentTransferFunctionElement.exponent')
7460 @DocsEditable
7461 final AnimatedNumber exponent;
7462
7463 @DomName('SVGComponentTransferFunctionElement.intercept')
7464 @DocsEditable
7465 final AnimatedNumber intercept;
7466
7467 @DomName('SVGComponentTransferFunctionElement.offset')
7468 @DocsEditable
7469 final AnimatedNumber offset;
7470
7471 @DomName('SVGComponentTransferFunctionElement.slope')
7472 @DocsEditable
7473 final AnimatedNumber slope;
7474
7475 @DomName('SVGComponentTransferFunctionElement.tableValues')
7476 @DocsEditable
7477 final AnimatedNumberList tableValues;
7478
7479 @DomName('SVGComponentTransferFunctionElement.type')
7480 @DocsEditable
7481 final AnimatedEnumeration type;
7482 }
7483 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7484 // for details. All rights reserved. Use of this source code is governed by a
7485 // BSD-style license that can be found in the LICENSE file.
7486
7487
7488 @DocsEditable
7489 @DomName('SVGCursorElement')
7490 class _SVGCursorElement extends SvgElement implements UriReference, Tests, Exter nalResourcesRequired native "*SVGCursorElement" {
7491
7492 @DocsEditable
7493 factory _SVGCursorElement() => _SvgElementFactoryProvider.createSvgElement_tag ("cursor");
7494
7495 /// Checks if this type is supported on the current platform.
7496 static bool get supported => SvgElement.isTagSupported('cursor') && (new SvgEl ement.tag('cursor') is _SVGCursorElement);
7497
7498 @DomName('SVGCursorElement.x')
7499 @DocsEditable
7500 final AnimatedLength x;
7501
7502 @DomName('SVGCursorElement.y')
7503 @DocsEditable
7504 final AnimatedLength y;
7505
7506 // From SVGExternalResourcesRequired
7507
7508 @DomName('SVGCursorElement.externalResourcesRequired')
7509 @DocsEditable
7510 final AnimatedBoolean externalResourcesRequired;
7511
7512 // From SVGTests
7513
7514 @DomName('SVGCursorElement.requiredExtensions')
7515 @DocsEditable
7516 final StringList requiredExtensions;
7517
7518 @DomName('SVGCursorElement.requiredFeatures')
7519 @DocsEditable
7520 final StringList requiredFeatures;
7521
7522 @DomName('SVGCursorElement.systemLanguage')
7523 @DocsEditable
7524 final StringList systemLanguage;
7525
7526 @DomName('SVGCursorElement.hasExtension')
7527 @DocsEditable
7528 bool hasExtension(String extension) native;
7529
7530 // From SVGURIReference
7531
7532 @DomName('SVGCursorElement.href')
7533 @DocsEditable
7534 final AnimatedString href;
7535 }
7536 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7537 // for details. All rights reserved. Use of this source code is governed by a
7538 // BSD-style license that can be found in the LICENSE file.
7539
7540
7541 @DocsEditable
7542 @DomName('SVGFEDropShadowElement')
7543 class _SVGFEDropShadowElement extends StyledElement implements FilterPrimitiveSt andardAttributes native "*SVGFEDropShadowElement" {
7544
7545 @DomName('SVGFEDropShadowElement.dx')
7546 @DocsEditable
7547 final AnimatedNumber dx;
7548
7549 @DomName('SVGFEDropShadowElement.dy')
7550 @DocsEditable
7551 final AnimatedNumber dy;
7552
7553 @DomName('SVGFEDropShadowElement.in1')
7554 @DocsEditable
7555 final AnimatedString in1;
7556
7557 @DomName('SVGFEDropShadowElement.stdDeviationX')
7558 @DocsEditable
7559 final AnimatedNumber stdDeviationX;
7560
7561 @DomName('SVGFEDropShadowElement.stdDeviationY')
7562 @DocsEditable
7563 final AnimatedNumber stdDeviationY;
7564
7565 @DomName('SVGFEDropShadowElement.setStdDeviation')
7566 @DocsEditable
7567 void setStdDeviation(num stdDeviationX, num stdDeviationY) native;
7568
7569 // From SVGFilterPrimitiveStandardAttributes
7570
7571 @DomName('SVGFEDropShadowElement.height')
7572 @DocsEditable
7573 final AnimatedLength height;
7574
7575 @DomName('SVGFEDropShadowElement.result')
7576 @DocsEditable
7577 final AnimatedString result;
7578
7579 @DomName('SVGFEDropShadowElement.width')
7580 @DocsEditable
7581 final AnimatedLength width;
7582
7583 @DomName('SVGFEDropShadowElement.x')
7584 @DocsEditable
7585 final AnimatedLength x;
7586
7587 @DomName('SVGFEDropShadowElement.y')
7588 @DocsEditable
7589 final AnimatedLength y;
7590 }
7591 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7592 // for details. All rights reserved. Use of this source code is governed by a
7593 // BSD-style license that can be found in the LICENSE file.
7594
7595
7596 @DocsEditable
7597 @DomName('SVGFontElement')
7598 class _SVGFontElement extends SvgElement native "*SVGFontElement" {
7599 }
7600 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7601 // for details. All rights reserved. Use of this source code is governed by a
7602 // BSD-style license that can be found in the LICENSE file.
7603
7604
7605 @DocsEditable
7606 @DomName('SVGFontFaceElement')
7607 class _SVGFontFaceElement extends SvgElement native "*SVGFontFaceElement" {
7608 }
7609 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7610 // for details. All rights reserved. Use of this source code is governed by a
7611 // BSD-style license that can be found in the LICENSE file.
7612
7613
7614 @DocsEditable
7615 @DomName('SVGFontFaceFormatElement')
7616 class _SVGFontFaceFormatElement extends SvgElement native "*SVGFontFaceFormatEle ment" {
7617 }
7618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7619 // for details. All rights reserved. Use of this source code is governed by a
7620 // BSD-style license that can be found in the LICENSE file.
7621
7622
7623 @DocsEditable
7624 @DomName('SVGFontFaceNameElement')
7625 class _SVGFontFaceNameElement extends SvgElement native "*SVGFontFaceNameElement " {
7626 }
7627 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7628 // for details. All rights reserved. Use of this source code is governed by a
7629 // BSD-style license that can be found in the LICENSE file.
7630
7631
7632 @DocsEditable
7633 @DomName('SVGFontFaceSrcElement')
7634 class _SVGFontFaceSrcElement extends SvgElement native "*SVGFontFaceSrcElement" {
7635 }
7636 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7637 // for details. All rights reserved. Use of this source code is governed by a
7638 // BSD-style license that can be found in the LICENSE file.
7639
7640
7641 @DocsEditable
7642 @DomName('SVGFontFaceUriElement')
7643 class _SVGFontFaceUriElement extends SvgElement native "*SVGFontFaceUriElement" {
7644 }
7645 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7646 // for details. All rights reserved. Use of this source code is governed by a
7647 // BSD-style license that can be found in the LICENSE file.
7648
7649
7650 @DocsEditable
7651 @DomName('SVGGlyphElement')
7652 class _SVGGlyphElement extends SvgElement native "*SVGGlyphElement" {
7653
7654 @DocsEditable
7655 factory _SVGGlyphElement() => _SvgElementFactoryProvider.createSvgElement_tag( "glyph");
7656 }
7657 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7658 // for details. All rights reserved. Use of this source code is governed by a
7659 // BSD-style license that can be found in the LICENSE file.
7660
7661
7662 @DocsEditable
7663 @DomName('SVGGlyphRefElement')
7664 class _SVGGlyphRefElement extends StyledElement implements UriReference native " *SVGGlyphRefElement" {
7665
7666 @DomName('SVGGlyphRefElement.dx')
7667 @DocsEditable
7668 num dx;
7669
7670 @DomName('SVGGlyphRefElement.dy')
7671 @DocsEditable
7672 num dy;
7673
7674 @DomName('SVGGlyphRefElement.format')
7675 @DocsEditable
7676 String format;
7677
7678 @DomName('SVGGlyphRefElement.glyphRef')
7679 @DocsEditable
7680 String glyphRef;
7681
7682 @DomName('SVGGlyphRefElement.x')
7683 @DocsEditable
7684 num x;
7685
7686 @DomName('SVGGlyphRefElement.y')
7687 @DocsEditable
7688 num y;
7689
7690 // From SVGURIReference
7691
7692 @DomName('SVGGlyphRefElement.href')
7693 @DocsEditable
7694 final AnimatedString href;
7695 }
7696 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7697 // for details. All rights reserved. Use of this source code is governed by a
7698 // BSD-style license that can be found in the LICENSE file.
7699
7700
7701 @DocsEditable
7702 @DomName('SVGGradientElement')
7703 class _SVGGradientElement extends StyledElement implements UriReference, Externa lResourcesRequired native "*SVGGradientElement" {
7704
7705 static const int SVG_SPREADMETHOD_PAD = 1;
7706
7707 static const int SVG_SPREADMETHOD_REFLECT = 2;
7708
7709 static const int SVG_SPREADMETHOD_REPEAT = 3;
7710
7711 static const int SVG_SPREADMETHOD_UNKNOWN = 0;
7712
7713 @DomName('SVGGradientElement.gradientTransform')
7714 @DocsEditable
7715 final AnimatedTransformList gradientTransform;
7716
7717 @DomName('SVGGradientElement.gradientUnits')
7718 @DocsEditable
7719 final AnimatedEnumeration gradientUnits;
7720
7721 @DomName('SVGGradientElement.spreadMethod')
7722 @DocsEditable
7723 final AnimatedEnumeration spreadMethod;
7724
7725 // From SVGExternalResourcesRequired
7726
7727 @DomName('SVGGradientElement.externalResourcesRequired')
7728 @DocsEditable
7729 final AnimatedBoolean externalResourcesRequired;
7730
7731 // From SVGURIReference
7732
7733 @DomName('SVGGradientElement.href')
7734 @DocsEditable
7735 final AnimatedString href;
7736 }
7737 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7738 // for details. All rights reserved. Use of this source code is governed by a
7739 // BSD-style license that can be found in the LICENSE file.
7740
7741
7742 @DocsEditable
7743 @DomName('SVGHKernElement')
7744 class _SVGHKernElement extends SvgElement native "*SVGHKernElement" {
7745
7746 @DocsEditable
7747 factory _SVGHKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "hkern");
7748 }
7749 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7750 // for details. All rights reserved. Use of this source code is governed by a
7751 // BSD-style license that can be found in the LICENSE file.
7752
7753
7754 @DocsEditable
7755 @DomName('SVGMPathElement')
7756 class _SVGMPathElement extends SvgElement implements UriReference, ExternalResou rcesRequired native "*SVGMPathElement" {
7757
7758 @DocsEditable
7759 factory _SVGMPathElement() => _SvgElementFactoryProvider.createSvgElement_tag( "mpath");
7760
7761 // From SVGExternalResourcesRequired
7762
7763 @DomName('SVGMPathElement.externalResourcesRequired')
7764 @DocsEditable
7765 final AnimatedBoolean externalResourcesRequired;
7766
7767 // From SVGURIReference
7768
7769 @DomName('SVGMPathElement.href')
7770 @DocsEditable
7771 final AnimatedString href;
7772 }
7773 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7774 // for details. All rights reserved. Use of this source code is governed by a
7775 // BSD-style license that can be found in the LICENSE file.
7776
7777
7778 @DocsEditable
7779 @DomName('SVGMissingGlyphElement')
7780 class _SVGMissingGlyphElement extends StyledElement native "*SVGMissingGlyphElem ent" {
7781 }
7782 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7783 // for details. All rights reserved. Use of this source code is governed by a
7784 // BSD-style license that can be found in the LICENSE file.
7785
7786
7787 @DocsEditable
7788 @DomName('SVGTRefElement')
7789 class _SVGTRefElement extends TextPositioningElement implements UriReference nat ive "*SVGTRefElement" {
7790
7791 @DocsEditable
7792 factory _SVGTRefElement() => _SvgElementFactoryProvider.createSvgElement_tag(" tref");
7793
7794 // From SVGURIReference
7795
7796 @DomName('SVGTRefElement.href')
7797 @DocsEditable
7798 final AnimatedString href;
7799 }
7800 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
7801 // for details. All rights reserved. Use of this source code is governed by a
7802 // BSD-style license that can be found in the LICENSE file.
7803
7804
7805 @DocsEditable
7806 @DomName('SVGVKernElement')
7807 class _SVGVKernElement extends SvgElement native "*SVGVKernElement" {
7808
7809 @DocsEditable
7810 factory _SVGVKernElement() => _SvgElementFactoryProvider.createSvgElement_tag( "vkern");
7811 }
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