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

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

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

Powered by Google App Engine
This is Rietveld 408576698