| /** |
| * Scalable Vector Graphics: |
| * Two-dimensional vector graphics with support for events and animation. |
| * |
| * For details about the features and syntax of SVG, a W3C standard, |
| * refer to the |
| * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/). |
| */ |
| library dart.dom.svg; |
| |
| import 'dart:async'; |
| import 'dart:collection'; |
| import 'dart:_collection-dev' hide deprecated; |
| import 'dart:html'; |
| import 'dart:html_common'; |
| import 'dart:_js_helper' show Creates, Returns, JSName; |
| import 'dart:_foreign_helper' show JS; |
| import 'dart:_interceptors' show Interceptor; |
| // DO NOT EDIT - unless you are editing documentation as per: |
| // https://code.google.com/p/dart/wiki/ContributingHTMLDocumentation |
| // Auto-generated dart:svg library. |
| |
| |
| |
| |
| |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| class _SvgElementFactoryProvider { |
| static SvgElement createSvgElement_tag(String tag) { |
| final Element temp = |
| document.createElementNS("http://www.w3.org/2000/svg", tag); |
| return temp; |
| } |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAElement') |
| @Unstable() |
| class AElement extends GraphicsElement implements UriReference, ExternalResourcesRequired native "SVGAElement" { |
| // To suppress missing implicit constructor warnings. |
| factory AElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGAElement.SVGAElement') |
| @DocsEditable() |
| factory AElement() => _SvgElementFactoryProvider.createSvgElement_tag("a"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| AElement.created() : super.created(); |
| |
| @DomName('SVGAElement.target') |
| @DocsEditable() |
| final AnimatedString target; |
| |
| // From SVGExternalResourcesRequired |
| |
| @DomName('SVGAElement.externalResourcesRequired') |
| @DocsEditable() |
| final AnimatedBoolean externalResourcesRequired; |
| |
| // From SVGURIReference |
| |
| @DomName('SVGAElement.href') |
| @DocsEditable() |
| final AnimatedString href; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAltGlyphElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class AltGlyphElement extends TextPositioningElement implements UriReference native "SVGAltGlyphElement" { |
| // To suppress missing implicit constructor warnings. |
| factory AltGlyphElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGAltGlyphElement.SVGAltGlyphElement') |
| @DocsEditable() |
| factory AltGlyphElement() => _SvgElementFactoryProvider.createSvgElement_tag("altGlyph"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| AltGlyphElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('altGlyph') && (new SvgElement.tag('altGlyph') is AltGlyphElement); |
| |
| @DomName('SVGAltGlyphElement.format') |
| @DocsEditable() |
| String format; |
| |
| @DomName('SVGAltGlyphElement.glyphRef') |
| @DocsEditable() |
| String glyphRef; |
| |
| // From SVGURIReference |
| |
| @DomName('SVGAltGlyphElement.href') |
| @DocsEditable() |
| final AnimatedString href; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAngle') |
| @Unstable() |
| class Angle extends Interceptor native "SVGAngle" { |
| |
| @DomName('SVGAngle.SVG_ANGLETYPE_DEG') |
| @DocsEditable() |
| static const int SVG_ANGLETYPE_DEG = 2; |
| |
| @DomName('SVGAngle.SVG_ANGLETYPE_GRAD') |
| @DocsEditable() |
| static const int SVG_ANGLETYPE_GRAD = 4; |
| |
| @DomName('SVGAngle.SVG_ANGLETYPE_RAD') |
| @DocsEditable() |
| static const int SVG_ANGLETYPE_RAD = 3; |
| |
| @DomName('SVGAngle.SVG_ANGLETYPE_UNKNOWN') |
| @DocsEditable() |
| static const int SVG_ANGLETYPE_UNKNOWN = 0; |
| |
| @DomName('SVGAngle.SVG_ANGLETYPE_UNSPECIFIED') |
| @DocsEditable() |
| static const int SVG_ANGLETYPE_UNSPECIFIED = 1; |
| |
| @DomName('SVGAngle.unitType') |
| @DocsEditable() |
| final int unitType; |
| |
| @DomName('SVGAngle.value') |
| @DocsEditable() |
| num value; |
| |
| @DomName('SVGAngle.valueAsString') |
| @DocsEditable() |
| String valueAsString; |
| |
| @DomName('SVGAngle.valueInSpecifiedUnits') |
| @DocsEditable() |
| num valueInSpecifiedUnits; |
| |
| @DomName('SVGAngle.convertToSpecifiedUnits') |
| @DocsEditable() |
| void convertToSpecifiedUnits(int unitType) native; |
| |
| @DomName('SVGAngle.newValueSpecifiedUnits') |
| @DocsEditable() |
| void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimateElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class AnimateElement extends AnimationElement native "SVGAnimateElement" { |
| // To suppress missing implicit constructor warnings. |
| factory AnimateElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGAnimateElement.SVGAnimateElement') |
| @DocsEditable() |
| factory AnimateElement() => _SvgElementFactoryProvider.createSvgElement_tag("animate"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| AnimateElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('animate') && (new SvgElement.tag('animate') is AnimateElement); |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimateMotionElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class AnimateMotionElement extends AnimationElement native "SVGAnimateMotionElement" { |
| // To suppress missing implicit constructor warnings. |
| factory AnimateMotionElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGAnimateMotionElement.SVGAnimateMotionElement') |
| @DocsEditable() |
| factory AnimateMotionElement() => _SvgElementFactoryProvider.createSvgElement_tag("animateMotion"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| AnimateMotionElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('animateMotion') && (new SvgElement.tag('animateMotion') is AnimateMotionElement); |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimateTransformElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class AnimateTransformElement extends AnimationElement native "SVGAnimateTransformElement" { |
| // To suppress missing implicit constructor warnings. |
| factory AnimateTransformElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGAnimateTransformElement.SVGAnimateTransformElement') |
| @DocsEditable() |
| factory AnimateTransformElement() => _SvgElementFactoryProvider.createSvgElement_tag("animateTransform"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| AnimateTransformElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('animateTransform') && (new SvgElement.tag('animateTransform') is AnimateTransformElement); |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimatedAngle') |
| @Unstable() |
| class AnimatedAngle extends Interceptor native "SVGAnimatedAngle" { |
| |
| @DomName('SVGAnimatedAngle.animVal') |
| @DocsEditable() |
| final Angle animVal; |
| |
| @DomName('SVGAnimatedAngle.baseVal') |
| @DocsEditable() |
| final Angle baseVal; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimatedBoolean') |
| @Unstable() |
| class AnimatedBoolean extends Interceptor native "SVGAnimatedBoolean" { |
| |
| @DomName('SVGAnimatedBoolean.animVal') |
| @DocsEditable() |
| final bool animVal; |
| |
| @DomName('SVGAnimatedBoolean.baseVal') |
| @DocsEditable() |
| bool baseVal; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimatedEnumeration') |
| @Unstable() |
| class AnimatedEnumeration extends Interceptor native "SVGAnimatedEnumeration" { |
| |
| @DomName('SVGAnimatedEnumeration.animVal') |
| @DocsEditable() |
| final int animVal; |
| |
| @DomName('SVGAnimatedEnumeration.baseVal') |
| @DocsEditable() |
| int baseVal; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimatedInteger') |
| @Unstable() |
| class AnimatedInteger extends Interceptor native "SVGAnimatedInteger" { |
| |
| @DomName('SVGAnimatedInteger.animVal') |
| @DocsEditable() |
| final int animVal; |
| |
| @DomName('SVGAnimatedInteger.baseVal') |
| @DocsEditable() |
| int baseVal; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimatedLength') |
| @Unstable() |
| class AnimatedLength extends Interceptor native "SVGAnimatedLength" { |
| |
| @DomName('SVGAnimatedLength.animVal') |
| @DocsEditable() |
| final Length animVal; |
| |
| @DomName('SVGAnimatedLength.baseVal') |
| @DocsEditable() |
| final Length baseVal; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimatedLengthList') |
| @Unstable() |
| class AnimatedLengthList extends Interceptor native "SVGAnimatedLengthList" { |
| |
| @DomName('SVGAnimatedLengthList.animVal') |
| @DocsEditable() |
| final LengthList animVal; |
| |
| @DomName('SVGAnimatedLengthList.baseVal') |
| @DocsEditable() |
| final LengthList baseVal; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimatedNumber') |
| @Unstable() |
| class AnimatedNumber extends Interceptor native "SVGAnimatedNumber" { |
| |
| @DomName('SVGAnimatedNumber.animVal') |
| @DocsEditable() |
| final double animVal; |
| |
| @DomName('SVGAnimatedNumber.baseVal') |
| @DocsEditable() |
| num baseVal; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimatedNumberList') |
| @Unstable() |
| class AnimatedNumberList extends Interceptor native "SVGAnimatedNumberList" { |
| |
| @DomName('SVGAnimatedNumberList.animVal') |
| @DocsEditable() |
| final NumberList animVal; |
| |
| @DomName('SVGAnimatedNumberList.baseVal') |
| @DocsEditable() |
| final NumberList baseVal; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimatedPreserveAspectRatio') |
| @Unstable() |
| class AnimatedPreserveAspectRatio extends Interceptor native "SVGAnimatedPreserveAspectRatio" { |
| |
| @DomName('SVGAnimatedPreserveAspectRatio.animVal') |
| @DocsEditable() |
| final PreserveAspectRatio animVal; |
| |
| @DomName('SVGAnimatedPreserveAspectRatio.baseVal') |
| @DocsEditable() |
| final PreserveAspectRatio baseVal; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimatedRect') |
| @Unstable() |
| class AnimatedRect extends Interceptor native "SVGAnimatedRect" { |
| |
| @DomName('SVGAnimatedRect.animVal') |
| @DocsEditable() |
| final Rect animVal; |
| |
| @DomName('SVGAnimatedRect.baseVal') |
| @DocsEditable() |
| final Rect baseVal; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimatedString') |
| @Unstable() |
| class AnimatedString extends Interceptor native "SVGAnimatedString" { |
| |
| @DomName('SVGAnimatedString.animVal') |
| @DocsEditable() |
| final String animVal; |
| |
| @DomName('SVGAnimatedString.baseVal') |
| @DocsEditable() |
| String baseVal; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimatedTransformList') |
| @Unstable() |
| class AnimatedTransformList extends Interceptor native "SVGAnimatedTransformList" { |
| |
| @DomName('SVGAnimatedTransformList.animVal') |
| @DocsEditable() |
| final TransformList animVal; |
| |
| @DomName('SVGAnimatedTransformList.baseVal') |
| @DocsEditable() |
| final TransformList baseVal; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGAnimationElement') |
| @Unstable() |
| class AnimationElement extends SvgElement implements ExternalResourcesRequired, Tests native "SVGAnimationElement" { |
| // To suppress missing implicit constructor warnings. |
| factory AnimationElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGAnimationElement.SVGAnimationElement') |
| @DocsEditable() |
| factory AnimationElement() => _SvgElementFactoryProvider.createSvgElement_tag("animation"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| AnimationElement.created() : super.created(); |
| |
| @DomName('SVGAnimationElement.targetElement') |
| @DocsEditable() |
| final SvgElement targetElement; |
| |
| @DomName('SVGAnimationElement.beginElement') |
| @DocsEditable() |
| void beginElement() native; |
| |
| @DomName('SVGAnimationElement.beginElementAt') |
| @DocsEditable() |
| void beginElementAt(num offset) native; |
| |
| @DomName('SVGAnimationElement.endElement') |
| @DocsEditable() |
| void endElement() native; |
| |
| @DomName('SVGAnimationElement.endElementAt') |
| @DocsEditable() |
| void endElementAt(num offset) native; |
| |
| @DomName('SVGAnimationElement.getCurrentTime') |
| @DocsEditable() |
| double getCurrentTime() native; |
| |
| @DomName('SVGAnimationElement.getSimpleDuration') |
| @DocsEditable() |
| double getSimpleDuration() native; |
| |
| @DomName('SVGAnimationElement.getStartTime') |
| @DocsEditable() |
| double getStartTime() native; |
| |
| // From SVGExternalResourcesRequired |
| |
| @DomName('SVGAnimationElement.externalResourcesRequired') |
| @DocsEditable() |
| final AnimatedBoolean externalResourcesRequired; |
| |
| // From SVGTests |
| |
| @DomName('SVGAnimationElement.requiredExtensions') |
| @DocsEditable() |
| final StringList requiredExtensions; |
| |
| @DomName('SVGAnimationElement.requiredFeatures') |
| @DocsEditable() |
| final StringList requiredFeatures; |
| |
| @DomName('SVGAnimationElement.systemLanguage') |
| @DocsEditable() |
| final StringList systemLanguage; |
| |
| @DomName('SVGAnimationElement.hasExtension') |
| @DocsEditable() |
| bool hasExtension(String extension) native; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGCircleElement') |
| @Unstable() |
| class CircleElement extends GraphicsElement implements ExternalResourcesRequired native "SVGCircleElement" { |
| // To suppress missing implicit constructor warnings. |
| factory CircleElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGCircleElement.SVGCircleElement') |
| @DocsEditable() |
| factory CircleElement() => _SvgElementFactoryProvider.createSvgElement_tag("circle"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| CircleElement.created() : super.created(); |
| |
| @DomName('SVGCircleElement.cx') |
| @DocsEditable() |
| final AnimatedLength cx; |
| |
| @DomName('SVGCircleElement.cy') |
| @DocsEditable() |
| final AnimatedLength cy; |
| |
| @DomName('SVGCircleElement.r') |
| @DocsEditable() |
| final AnimatedLength r; |
| |
| // From SVGExternalResourcesRequired |
| |
| @DomName('SVGCircleElement.externalResourcesRequired') |
| @DocsEditable() |
| final AnimatedBoolean externalResourcesRequired; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGClipPathElement') |
| @Unstable() |
| class ClipPathElement extends GraphicsElement implements ExternalResourcesRequired native "SVGClipPathElement" { |
| // To suppress missing implicit constructor warnings. |
| factory ClipPathElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGClipPathElement.SVGClipPathElement') |
| @DocsEditable() |
| factory ClipPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("clipPath"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| ClipPathElement.created() : super.created(); |
| |
| @DomName('SVGClipPathElement.clipPathUnits') |
| @DocsEditable() |
| final AnimatedEnumeration clipPathUnits; |
| |
| // From SVGExternalResourcesRequired |
| |
| @DomName('SVGClipPathElement.externalResourcesRequired') |
| @DocsEditable() |
| final AnimatedBoolean externalResourcesRequired; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGDefsElement') |
| @Unstable() |
| class DefsElement extends GraphicsElement implements ExternalResourcesRequired native "SVGDefsElement" { |
| // To suppress missing implicit constructor warnings. |
| factory DefsElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGDefsElement.SVGDefsElement') |
| @DocsEditable() |
| factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| DefsElement.created() : super.created(); |
| |
| // From SVGExternalResourcesRequired |
| |
| @DomName('SVGDefsElement.externalResourcesRequired') |
| @DocsEditable() |
| final AnimatedBoolean externalResourcesRequired; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGDescElement') |
| @Unstable() |
| class DescElement extends SvgElement native "SVGDescElement" { |
| // To suppress missing implicit constructor warnings. |
| factory DescElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGDescElement.SVGDescElement') |
| @DocsEditable() |
| factory DescElement() => _SvgElementFactoryProvider.createSvgElement_tag("desc"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| DescElement.created() : super.created(); |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGElementInstance') |
| @Unstable() |
| class ElementInstance extends EventTarget native "SVGElementInstance" { |
| // To suppress missing implicit constructor warnings. |
| factory ElementInstance._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGElementInstance.abortEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> abortEvent = const EventStreamProvider<Event>('abort'); |
| |
| @DomName('SVGElementInstance.beforecopyEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> beforeCopyEvent = const EventStreamProvider<Event>('beforecopy'); |
| |
| @DomName('SVGElementInstance.beforecutEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> beforeCutEvent = const EventStreamProvider<Event>('beforecut'); |
| |
| @DomName('SVGElementInstance.beforepasteEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> beforePasteEvent = const EventStreamProvider<Event>('beforepaste'); |
| |
| @DomName('SVGElementInstance.blurEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> blurEvent = const EventStreamProvider<Event>('blur'); |
| |
| @DomName('SVGElementInstance.changeEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> changeEvent = const EventStreamProvider<Event>('change'); |
| |
| @DomName('SVGElementInstance.clickEvent') |
| @DocsEditable() |
| static const EventStreamProvider<MouseEvent> clickEvent = const EventStreamProvider<MouseEvent>('click'); |
| |
| @DomName('SVGElementInstance.contextmenuEvent') |
| @DocsEditable() |
| static const EventStreamProvider<MouseEvent> contextMenuEvent = const EventStreamProvider<MouseEvent>('contextmenu'); |
| |
| @DomName('SVGElementInstance.copyEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> copyEvent = const EventStreamProvider<Event>('copy'); |
| |
| @DomName('SVGElementInstance.cutEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> cutEvent = const EventStreamProvider<Event>('cut'); |
| |
| @DomName('SVGElementInstance.dblclickEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> doubleClickEvent = const EventStreamProvider<Event>('dblclick'); |
| |
| @DomName('SVGElementInstance.dragEvent') |
| @DocsEditable() |
| static const EventStreamProvider<MouseEvent> dragEvent = const EventStreamProvider<MouseEvent>('drag'); |
| |
| @DomName('SVGElementInstance.dragendEvent') |
| @DocsEditable() |
| static const EventStreamProvider<MouseEvent> dragEndEvent = const EventStreamProvider<MouseEvent>('dragend'); |
| |
| @DomName('SVGElementInstance.dragenterEvent') |
| @DocsEditable() |
| static const EventStreamProvider<MouseEvent> dragEnterEvent = const EventStreamProvider<MouseEvent>('dragenter'); |
| |
| @DomName('SVGElementInstance.dragleaveEvent') |
| @DocsEditable() |
| static const EventStreamProvider<MouseEvent> dragLeaveEvent = const EventStreamProvider<MouseEvent>('dragleave'); |
| |
| @DomName('SVGElementInstance.dragoverEvent') |
| @DocsEditable() |
| static const EventStreamProvider<MouseEvent> dragOverEvent = const EventStreamProvider<MouseEvent>('dragover'); |
| |
| @DomName('SVGElementInstance.dragstartEvent') |
| @DocsEditable() |
| static const EventStreamProvider<MouseEvent> dragStartEvent = const EventStreamProvider<MouseEvent>('dragstart'); |
| |
| @DomName('SVGElementInstance.dropEvent') |
| @DocsEditable() |
| static const EventStreamProvider<MouseEvent> dropEvent = const EventStreamProvider<MouseEvent>('drop'); |
| |
| @DomName('SVGElementInstance.errorEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> errorEvent = const EventStreamProvider<Event>('error'); |
| |
| @DomName('SVGElementInstance.focusEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> focusEvent = const EventStreamProvider<Event>('focus'); |
| |
| @DomName('SVGElementInstance.inputEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> inputEvent = const EventStreamProvider<Event>('input'); |
| |
| @DomName('SVGElementInstance.keydownEvent') |
| @DocsEditable() |
| static const EventStreamProvider<KeyboardEvent> keyDownEvent = const EventStreamProvider<KeyboardEvent>('keydown'); |
| |
| @DomName('SVGElementInstance.keypressEvent') |
| @DocsEditable() |
| static const EventStreamProvider<KeyboardEvent> keyPressEvent = const EventStreamProvider<KeyboardEvent>('keypress'); |
| |
| @DomName('SVGElementInstance.keyupEvent') |
| @DocsEditable() |
| static const EventStreamProvider<KeyboardEvent> keyUpEvent = const EventStreamProvider<KeyboardEvent>('keyup'); |
| |
| @DomName('SVGElementInstance.loadEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> loadEvent = const EventStreamProvider<Event>('load'); |
| |
| @DomName('SVGElementInstance.mousedownEvent') |
| @DocsEditable() |
| static const EventStreamProvider<MouseEvent> mouseDownEvent = const EventStreamProvider<MouseEvent>('mousedown'); |
| |
| @DomName('SVGElementInstance.mouseenterEvent') |
| @DocsEditable() |
| @Experimental() // untriaged |
| static const EventStreamProvider<MouseEvent> mouseEnterEvent = const EventStreamProvider<MouseEvent>('mouseenter'); |
| |
| @DomName('SVGElementInstance.mouseleaveEvent') |
| @DocsEditable() |
| @Experimental() // untriaged |
| static const EventStreamProvider<MouseEvent> mouseLeaveEvent = const EventStreamProvider<MouseEvent>('mouseleave'); |
| |
| @DomName('SVGElementInstance.mousemoveEvent') |
| @DocsEditable() |
| static const EventStreamProvider<MouseEvent> mouseMoveEvent = const EventStreamProvider<MouseEvent>('mousemove'); |
| |
| @DomName('SVGElementInstance.mouseoutEvent') |
| @DocsEditable() |
| static const EventStreamProvider<MouseEvent> mouseOutEvent = const EventStreamProvider<MouseEvent>('mouseout'); |
| |
| @DomName('SVGElementInstance.mouseoverEvent') |
| @DocsEditable() |
| static const EventStreamProvider<MouseEvent> mouseOverEvent = const EventStreamProvider<MouseEvent>('mouseover'); |
| |
| @DomName('SVGElementInstance.mouseupEvent') |
| @DocsEditable() |
| static const EventStreamProvider<MouseEvent> mouseUpEvent = const EventStreamProvider<MouseEvent>('mouseup'); |
| |
| @DomName('SVGElementInstance.mousewheelEvent') |
| @DocsEditable() |
| static const EventStreamProvider<WheelEvent> mouseWheelEvent = const EventStreamProvider<WheelEvent>('mousewheel'); |
| |
| @DomName('SVGElementInstance.pasteEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> pasteEvent = const EventStreamProvider<Event>('paste'); |
| |
| @DomName('SVGElementInstance.resetEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> resetEvent = const EventStreamProvider<Event>('reset'); |
| |
| @DomName('SVGElementInstance.resizeEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> resizeEvent = const EventStreamProvider<Event>('resize'); |
| |
| @DomName('SVGElementInstance.scrollEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> scrollEvent = const EventStreamProvider<Event>('scroll'); |
| |
| @DomName('SVGElementInstance.searchEvent') |
| @DocsEditable() |
| // http://www.w3.org/TR/html-markup/input.search.html |
| @Experimental() |
| static const EventStreamProvider<Event> searchEvent = const EventStreamProvider<Event>('search'); |
| |
| @DomName('SVGElementInstance.selectEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> selectEvent = const EventStreamProvider<Event>('select'); |
| |
| @DomName('SVGElementInstance.selectstartEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> selectStartEvent = const EventStreamProvider<Event>('selectstart'); |
| |
| @DomName('SVGElementInstance.submitEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> submitEvent = const EventStreamProvider<Event>('submit'); |
| |
| @DomName('SVGElementInstance.unloadEvent') |
| @DocsEditable() |
| static const EventStreamProvider<Event> unloadEvent = const EventStreamProvider<Event>('unload'); |
| |
| @DomName('SVGElementInstance.childNodes') |
| @DocsEditable() |
| @Returns('_ElementInstanceList') |
| @Creates('_ElementInstanceList') |
| final List<ElementInstance> childNodes; |
| |
| @DomName('SVGElementInstance.correspondingElement') |
| @DocsEditable() |
| final SvgElement correspondingElement; |
| |
| @DomName('SVGElementInstance.correspondingUseElement') |
| @DocsEditable() |
| final UseElement correspondingUseElement; |
| |
| @DomName('SVGElementInstance.firstChild') |
| @DocsEditable() |
| final ElementInstance firstChild; |
| |
| @DomName('SVGElementInstance.lastChild') |
| @DocsEditable() |
| final ElementInstance lastChild; |
| |
| @DomName('SVGElementInstance.nextSibling') |
| @DocsEditable() |
| final ElementInstance nextSibling; |
| |
| @DomName('SVGElementInstance.parentNode') |
| @DocsEditable() |
| final ElementInstance parentNode; |
| |
| @DomName('SVGElementInstance.previousSibling') |
| @DocsEditable() |
| final ElementInstance previousSibling; |
| |
| @DomName('SVGElementInstance.onabort') |
| @DocsEditable() |
| Stream<Event> get onAbort => abortEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onbeforecopy') |
| @DocsEditable() |
| Stream<Event> get onBeforeCopy => beforeCopyEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onbeforecut') |
| @DocsEditable() |
| Stream<Event> get onBeforeCut => beforeCutEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onbeforepaste') |
| @DocsEditable() |
| Stream<Event> get onBeforePaste => beforePasteEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onblur') |
| @DocsEditable() |
| Stream<Event> get onBlur => blurEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onchange') |
| @DocsEditable() |
| Stream<Event> get onChange => changeEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onclick') |
| @DocsEditable() |
| Stream<MouseEvent> get onClick => clickEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.oncontextmenu') |
| @DocsEditable() |
| Stream<MouseEvent> get onContextMenu => contextMenuEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.oncopy') |
| @DocsEditable() |
| Stream<Event> get onCopy => copyEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.oncut') |
| @DocsEditable() |
| Stream<Event> get onCut => cutEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.ondblclick') |
| @DocsEditable() |
| Stream<Event> get onDoubleClick => doubleClickEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.ondrag') |
| @DocsEditable() |
| Stream<MouseEvent> get onDrag => dragEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.ondragend') |
| @DocsEditable() |
| Stream<MouseEvent> get onDragEnd => dragEndEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.ondragenter') |
| @DocsEditable() |
| Stream<MouseEvent> get onDragEnter => dragEnterEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.ondragleave') |
| @DocsEditable() |
| Stream<MouseEvent> get onDragLeave => dragLeaveEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.ondragover') |
| @DocsEditable() |
| Stream<MouseEvent> get onDragOver => dragOverEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.ondragstart') |
| @DocsEditable() |
| Stream<MouseEvent> get onDragStart => dragStartEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.ondrop') |
| @DocsEditable() |
| Stream<MouseEvent> get onDrop => dropEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onerror') |
| @DocsEditable() |
| Stream<Event> get onError => errorEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onfocus') |
| @DocsEditable() |
| Stream<Event> get onFocus => focusEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.oninput') |
| @DocsEditable() |
| Stream<Event> get onInput => inputEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onkeydown') |
| @DocsEditable() |
| Stream<KeyboardEvent> get onKeyDown => keyDownEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onkeypress') |
| @DocsEditable() |
| Stream<KeyboardEvent> get onKeyPress => keyPressEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onkeyup') |
| @DocsEditable() |
| Stream<KeyboardEvent> get onKeyUp => keyUpEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onload') |
| @DocsEditable() |
| Stream<Event> get onLoad => loadEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onmousedown') |
| @DocsEditable() |
| Stream<MouseEvent> get onMouseDown => mouseDownEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onmouseenter') |
| @DocsEditable() |
| @Experimental() // untriaged |
| Stream<MouseEvent> get onMouseEnter => mouseEnterEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onmouseleave') |
| @DocsEditable() |
| @Experimental() // untriaged |
| Stream<MouseEvent> get onMouseLeave => mouseLeaveEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onmousemove') |
| @DocsEditable() |
| Stream<MouseEvent> get onMouseMove => mouseMoveEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onmouseout') |
| @DocsEditable() |
| Stream<MouseEvent> get onMouseOut => mouseOutEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onmouseover') |
| @DocsEditable() |
| Stream<MouseEvent> get onMouseOver => mouseOverEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onmouseup') |
| @DocsEditable() |
| Stream<MouseEvent> get onMouseUp => mouseUpEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onmousewheel') |
| @DocsEditable() |
| Stream<WheelEvent> get onMouseWheel => mouseWheelEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onpaste') |
| @DocsEditable() |
| Stream<Event> get onPaste => pasteEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onreset') |
| @DocsEditable() |
| Stream<Event> get onReset => resetEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onresize') |
| @DocsEditable() |
| Stream<Event> get onResize => resizeEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onscroll') |
| @DocsEditable() |
| Stream<Event> get onScroll => scrollEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onsearch') |
| @DocsEditable() |
| // http://www.w3.org/TR/html-markup/input.search.html |
| @Experimental() |
| Stream<Event> get onSearch => searchEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onselect') |
| @DocsEditable() |
| Stream<Event> get onSelect => selectEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onselectstart') |
| @DocsEditable() |
| Stream<Event> get onSelectStart => selectStartEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onsubmit') |
| @DocsEditable() |
| Stream<Event> get onSubmit => submitEvent.forTarget(this); |
| |
| @DomName('SVGElementInstance.onunload') |
| @DocsEditable() |
| Stream<Event> get onUnload => unloadEvent.forTarget(this); |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGEllipseElement') |
| @Unstable() |
| class EllipseElement extends GraphicsElement implements ExternalResourcesRequired native "SVGEllipseElement" { |
| // To suppress missing implicit constructor warnings. |
| factory EllipseElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGEllipseElement.SVGEllipseElement') |
| @DocsEditable() |
| factory EllipseElement() => _SvgElementFactoryProvider.createSvgElement_tag("ellipse"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| EllipseElement.created() : super.created(); |
| |
| @DomName('SVGEllipseElement.cx') |
| @DocsEditable() |
| final AnimatedLength cx; |
| |
| @DomName('SVGEllipseElement.cy') |
| @DocsEditable() |
| final AnimatedLength cy; |
| |
| @DomName('SVGEllipseElement.rx') |
| @DocsEditable() |
| final AnimatedLength rx; |
| |
| @DomName('SVGEllipseElement.ry') |
| @DocsEditable() |
| final AnimatedLength ry; |
| |
| // From SVGExternalResourcesRequired |
| |
| @DomName('SVGEllipseElement.externalResourcesRequired') |
| @DocsEditable() |
| final AnimatedBoolean externalResourcesRequired; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGExternalResourcesRequired') |
| @Unstable() |
| abstract class ExternalResourcesRequired extends Interceptor { |
| |
| /// Checks if this type is supported on the current platform. |
| static bool supported(SvgElement element) => JS('bool', '#.externalResourcesRequired !== undefined && #.externalResourcesRequired.animVal !== undefined', element, element); |
| |
| AnimatedBoolean externalResourcesRequired; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEBlendElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEBlendElement extends SvgElement implements FilterPrimitiveStandardAttributes native "SVGFEBlendElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEBlendElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEBlendElement.SVGFEBlendElement') |
| @DocsEditable() |
| factory FEBlendElement() => _SvgElementFactoryProvider.createSvgElement_tag("feBlend"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEBlendElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feBlend') && (new SvgElement.tag('feBlend') is FEBlendElement); |
| |
| @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN') |
| @DocsEditable() |
| static const int SVG_FEBLEND_MODE_DARKEN = 4; |
| |
| @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN') |
| @DocsEditable() |
| static const int SVG_FEBLEND_MODE_LIGHTEN = 5; |
| |
| @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_MULTIPLY') |
| @DocsEditable() |
| static const int SVG_FEBLEND_MODE_MULTIPLY = 2; |
| |
| @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL') |
| @DocsEditable() |
| static const int SVG_FEBLEND_MODE_NORMAL = 1; |
| |
| @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_SCREEN') |
| @DocsEditable() |
| static const int SVG_FEBLEND_MODE_SCREEN = 3; |
| |
| @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_UNKNOWN') |
| @DocsEditable() |
| static const int SVG_FEBLEND_MODE_UNKNOWN = 0; |
| |
| @DomName('SVGFEBlendElement.in1') |
| @DocsEditable() |
| final AnimatedString in1; |
| |
| @DomName('SVGFEBlendElement.in2') |
| @DocsEditable() |
| final AnimatedString in2; |
| |
| @DomName('SVGFEBlendElement.mode') |
| @DocsEditable() |
| final AnimatedEnumeration mode; |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFEBlendElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFEBlendElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFEBlendElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFEBlendElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFEBlendElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEColorMatrixElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEColorMatrixElement extends SvgElement implements FilterPrimitiveStandardAttributes native "SVGFEColorMatrixElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEColorMatrixElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEColorMatrixElement.SVGFEColorMatrixElement') |
| @DocsEditable() |
| factory FEColorMatrixElement() => _SvgElementFactoryProvider.createSvgElement_tag("feColorMatrix"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEColorMatrixElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feColorMatrix') && (new SvgElement.tag('feColorMatrix') is FEColorMatrixElement); |
| |
| @DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_HUEROTATE') |
| @DocsEditable() |
| static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3; |
| |
| @DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA') |
| @DocsEditable() |
| static const int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4; |
| |
| @DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_MATRIX') |
| @DocsEditable() |
| static const int SVG_FECOLORMATRIX_TYPE_MATRIX = 1; |
| |
| @DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE') |
| @DocsEditable() |
| static const int SVG_FECOLORMATRIX_TYPE_SATURATE = 2; |
| |
| @DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_UNKNOWN') |
| @DocsEditable() |
| static const int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0; |
| |
| @DomName('SVGFEColorMatrixElement.in1') |
| @DocsEditable() |
| final AnimatedString in1; |
| |
| @DomName('SVGFEColorMatrixElement.type') |
| @DocsEditable() |
| final AnimatedEnumeration type; |
| |
| @DomName('SVGFEColorMatrixElement.values') |
| @DocsEditable() |
| final AnimatedNumberList values; |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFEColorMatrixElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFEColorMatrixElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFEColorMatrixElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFEColorMatrixElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFEColorMatrixElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEComponentTransferElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEComponentTransferElement extends SvgElement implements FilterPrimitiveStandardAttributes native "SVGFEComponentTransferElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEComponentTransferElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEComponentTransferElement.SVGFEComponentTransferElement') |
| @DocsEditable() |
| factory FEComponentTransferElement() => _SvgElementFactoryProvider.createSvgElement_tag("feComponentTransfer"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEComponentTransferElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feComponentTransfer') && (new SvgElement.tag('feComponentTransfer') is FEComponentTransferElement); |
| |
| @DomName('SVGFEComponentTransferElement.in1') |
| @DocsEditable() |
| final AnimatedString in1; |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFEComponentTransferElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFEComponentTransferElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFEComponentTransferElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFEComponentTransferElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFEComponentTransferElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFECompositeElement') |
| @Unstable() |
| class FECompositeElement extends SvgElement implements FilterPrimitiveStandardAttributes native "SVGFECompositeElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FECompositeElement._() { throw new UnsupportedError("Not supported"); } |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FECompositeElement.created() : super.created(); |
| |
| @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ARITHMETIC') |
| @DocsEditable() |
| static const int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6; |
| |
| @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ATOP') |
| @DocsEditable() |
| static const int SVG_FECOMPOSITE_OPERATOR_ATOP = 4; |
| |
| @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_IN') |
| @DocsEditable() |
| static const int SVG_FECOMPOSITE_OPERATOR_IN = 2; |
| |
| @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OUT') |
| @DocsEditable() |
| static const int SVG_FECOMPOSITE_OPERATOR_OUT = 3; |
| |
| @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER') |
| @DocsEditable() |
| static const int SVG_FECOMPOSITE_OPERATOR_OVER = 1; |
| |
| @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_UNKNOWN') |
| @DocsEditable() |
| static const int SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0; |
| |
| @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_XOR') |
| @DocsEditable() |
| static const int SVG_FECOMPOSITE_OPERATOR_XOR = 5; |
| |
| @DomName('SVGFECompositeElement.in1') |
| @DocsEditable() |
| final AnimatedString in1; |
| |
| @DomName('SVGFECompositeElement.in2') |
| @DocsEditable() |
| final AnimatedString in2; |
| |
| @DomName('SVGFECompositeElement.k1') |
| @DocsEditable() |
| final AnimatedNumber k1; |
| |
| @DomName('SVGFECompositeElement.k2') |
| @DocsEditable() |
| final AnimatedNumber k2; |
| |
| @DomName('SVGFECompositeElement.k3') |
| @DocsEditable() |
| final AnimatedNumber k3; |
| |
| @DomName('SVGFECompositeElement.k4') |
| @DocsEditable() |
| final AnimatedNumber k4; |
| |
| @DomName('SVGFECompositeElement.operator') |
| @DocsEditable() |
| final AnimatedEnumeration operator; |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFECompositeElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFECompositeElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFECompositeElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFECompositeElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFECompositeElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEConvolveMatrixElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEConvolveMatrixElement extends SvgElement implements FilterPrimitiveStandardAttributes native "SVGFEConvolveMatrixElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEConvolveMatrixElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEConvolveMatrixElement.SVGFEConvolveMatrixElement') |
| @DocsEditable() |
| factory FEConvolveMatrixElement() => _SvgElementFactoryProvider.createSvgElement_tag("feConvolveMatrix"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEConvolveMatrixElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feConvolveMatrix') && (new SvgElement.tag('feConvolveMatrix') is FEConvolveMatrixElement); |
| |
| @DomName('SVGFEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE') |
| @DocsEditable() |
| static const int SVG_EDGEMODE_DUPLICATE = 1; |
| |
| @DomName('SVGFEConvolveMatrixElement.SVG_EDGEMODE_NONE') |
| @DocsEditable() |
| static const int SVG_EDGEMODE_NONE = 3; |
| |
| @DomName('SVGFEConvolveMatrixElement.SVG_EDGEMODE_UNKNOWN') |
| @DocsEditable() |
| static const int SVG_EDGEMODE_UNKNOWN = 0; |
| |
| @DomName('SVGFEConvolveMatrixElement.SVG_EDGEMODE_WRAP') |
| @DocsEditable() |
| static const int SVG_EDGEMODE_WRAP = 2; |
| |
| @DomName('SVGFEConvolveMatrixElement.bias') |
| @DocsEditable() |
| final AnimatedNumber bias; |
| |
| @DomName('SVGFEConvolveMatrixElement.divisor') |
| @DocsEditable() |
| final AnimatedNumber divisor; |
| |
| @DomName('SVGFEConvolveMatrixElement.edgeMode') |
| @DocsEditable() |
| final AnimatedEnumeration edgeMode; |
| |
| @DomName('SVGFEConvolveMatrixElement.in1') |
| @DocsEditable() |
| final AnimatedString in1; |
| |
| @DomName('SVGFEConvolveMatrixElement.kernelMatrix') |
| @DocsEditable() |
| final AnimatedNumberList kernelMatrix; |
| |
| @DomName('SVGFEConvolveMatrixElement.kernelUnitLengthX') |
| @DocsEditable() |
| final AnimatedNumber kernelUnitLengthX; |
| |
| @DomName('SVGFEConvolveMatrixElement.kernelUnitLengthY') |
| @DocsEditable() |
| final AnimatedNumber kernelUnitLengthY; |
| |
| @DomName('SVGFEConvolveMatrixElement.orderX') |
| @DocsEditable() |
| final AnimatedInteger orderX; |
| |
| @DomName('SVGFEConvolveMatrixElement.orderY') |
| @DocsEditable() |
| final AnimatedInteger orderY; |
| |
| @DomName('SVGFEConvolveMatrixElement.preserveAlpha') |
| @DocsEditable() |
| final AnimatedBoolean preserveAlpha; |
| |
| @DomName('SVGFEConvolveMatrixElement.targetX') |
| @DocsEditable() |
| final AnimatedInteger targetX; |
| |
| @DomName('SVGFEConvolveMatrixElement.targetY') |
| @DocsEditable() |
| final AnimatedInteger targetY; |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFEConvolveMatrixElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFEConvolveMatrixElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFEConvolveMatrixElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFEConvolveMatrixElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFEConvolveMatrixElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEDiffuseLightingElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEDiffuseLightingElement extends SvgElement implements FilterPrimitiveStandardAttributes native "SVGFEDiffuseLightingElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEDiffuseLightingElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEDiffuseLightingElement.SVGFEDiffuseLightingElement') |
| @DocsEditable() |
| factory FEDiffuseLightingElement() => _SvgElementFactoryProvider.createSvgElement_tag("feDiffuseLighting"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEDiffuseLightingElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feDiffuseLighting') && (new SvgElement.tag('feDiffuseLighting') is FEDiffuseLightingElement); |
| |
| @DomName('SVGFEDiffuseLightingElement.diffuseConstant') |
| @DocsEditable() |
| final AnimatedNumber diffuseConstant; |
| |
| @DomName('SVGFEDiffuseLightingElement.in1') |
| @DocsEditable() |
| final AnimatedString in1; |
| |
| @DomName('SVGFEDiffuseLightingElement.kernelUnitLengthX') |
| @DocsEditable() |
| final AnimatedNumber kernelUnitLengthX; |
| |
| @DomName('SVGFEDiffuseLightingElement.kernelUnitLengthY') |
| @DocsEditable() |
| final AnimatedNumber kernelUnitLengthY; |
| |
| @DomName('SVGFEDiffuseLightingElement.surfaceScale') |
| @DocsEditable() |
| final AnimatedNumber surfaceScale; |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFEDiffuseLightingElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFEDiffuseLightingElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFEDiffuseLightingElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFEDiffuseLightingElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFEDiffuseLightingElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEDisplacementMapElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEDisplacementMapElement extends SvgElement implements FilterPrimitiveStandardAttributes native "SVGFEDisplacementMapElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEDisplacementMapElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEDisplacementMapElement.SVGFEDisplacementMapElement') |
| @DocsEditable() |
| factory FEDisplacementMapElement() => _SvgElementFactoryProvider.createSvgElement_tag("feDisplacementMap"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEDisplacementMapElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feDisplacementMap') && (new SvgElement.tag('feDisplacementMap') is FEDisplacementMapElement); |
| |
| @DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_A') |
| @DocsEditable() |
| static const int SVG_CHANNEL_A = 4; |
| |
| @DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_B') |
| @DocsEditable() |
| static const int SVG_CHANNEL_B = 3; |
| |
| @DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_G') |
| @DocsEditable() |
| static const int SVG_CHANNEL_G = 2; |
| |
| @DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_R') |
| @DocsEditable() |
| static const int SVG_CHANNEL_R = 1; |
| |
| @DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_UNKNOWN') |
| @DocsEditable() |
| static const int SVG_CHANNEL_UNKNOWN = 0; |
| |
| @DomName('SVGFEDisplacementMapElement.in1') |
| @DocsEditable() |
| final AnimatedString in1; |
| |
| @DomName('SVGFEDisplacementMapElement.in2') |
| @DocsEditable() |
| final AnimatedString in2; |
| |
| @DomName('SVGFEDisplacementMapElement.scale') |
| @DocsEditable() |
| final AnimatedNumber scale; |
| |
| @DomName('SVGFEDisplacementMapElement.xChannelSelector') |
| @DocsEditable() |
| final AnimatedEnumeration xChannelSelector; |
| |
| @DomName('SVGFEDisplacementMapElement.yChannelSelector') |
| @DocsEditable() |
| final AnimatedEnumeration yChannelSelector; |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFEDisplacementMapElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFEDisplacementMapElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFEDisplacementMapElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFEDisplacementMapElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFEDisplacementMapElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEDistantLightElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEDistantLightElement extends SvgElement native "SVGFEDistantLightElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEDistantLightElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEDistantLightElement.SVGFEDistantLightElement') |
| @DocsEditable() |
| factory FEDistantLightElement() => _SvgElementFactoryProvider.createSvgElement_tag("feDistantLight"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEDistantLightElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feDistantLight') && (new SvgElement.tag('feDistantLight') is FEDistantLightElement); |
| |
| @DomName('SVGFEDistantLightElement.azimuth') |
| @DocsEditable() |
| final AnimatedNumber azimuth; |
| |
| @DomName('SVGFEDistantLightElement.elevation') |
| @DocsEditable() |
| final AnimatedNumber elevation; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEFloodElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEFloodElement extends SvgElement implements FilterPrimitiveStandardAttributes native "SVGFEFloodElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEFloodElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEFloodElement.SVGFEFloodElement') |
| @DocsEditable() |
| factory FEFloodElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFlood"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEFloodElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feFlood') && (new SvgElement.tag('feFlood') is FEFloodElement); |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFEFloodElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFEFloodElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFEFloodElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFEFloodElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFEFloodElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEFuncAElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEFuncAElement extends _SVGComponentTransferFunctionElement native "SVGFEFuncAElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEFuncAElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEFuncAElement.SVGFEFuncAElement') |
| @DocsEditable() |
| factory FEFuncAElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncA"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEFuncAElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feFuncA') && (new SvgElement.tag('feFuncA') is FEFuncAElement); |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEFuncBElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEFuncBElement extends _SVGComponentTransferFunctionElement native "SVGFEFuncBElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEFuncBElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEFuncBElement.SVGFEFuncBElement') |
| @DocsEditable() |
| factory FEFuncBElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncB"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEFuncBElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feFuncB') && (new SvgElement.tag('feFuncB') is FEFuncBElement); |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEFuncGElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEFuncGElement extends _SVGComponentTransferFunctionElement native "SVGFEFuncGElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEFuncGElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEFuncGElement.SVGFEFuncGElement') |
| @DocsEditable() |
| factory FEFuncGElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncG"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEFuncGElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feFuncG') && (new SvgElement.tag('feFuncG') is FEFuncGElement); |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEFuncRElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEFuncRElement extends _SVGComponentTransferFunctionElement native "SVGFEFuncRElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEFuncRElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEFuncRElement.SVGFEFuncRElement') |
| @DocsEditable() |
| factory FEFuncRElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncR"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEFuncRElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feFuncR') && (new SvgElement.tag('feFuncR') is FEFuncRElement); |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEGaussianBlurElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEGaussianBlurElement extends SvgElement implements FilterPrimitiveStandardAttributes native "SVGFEGaussianBlurElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEGaussianBlurElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEGaussianBlurElement.SVGFEGaussianBlurElement') |
| @DocsEditable() |
| factory FEGaussianBlurElement() => _SvgElementFactoryProvider.createSvgElement_tag("feGaussianBlur"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEGaussianBlurElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feGaussianBlur') && (new SvgElement.tag('feGaussianBlur') is FEGaussianBlurElement); |
| |
| @DomName('SVGFEGaussianBlurElement.in1') |
| @DocsEditable() |
| final AnimatedString in1; |
| |
| @DomName('SVGFEGaussianBlurElement.stdDeviationX') |
| @DocsEditable() |
| final AnimatedNumber stdDeviationX; |
| |
| @DomName('SVGFEGaussianBlurElement.stdDeviationY') |
| @DocsEditable() |
| final AnimatedNumber stdDeviationY; |
| |
| @DomName('SVGFEGaussianBlurElement.setStdDeviation') |
| @DocsEditable() |
| void setStdDeviation(num stdDeviationX, num stdDeviationY) native; |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFEGaussianBlurElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFEGaussianBlurElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFEGaussianBlurElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFEGaussianBlurElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFEGaussianBlurElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEImageElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEImageElement extends SvgElement implements FilterPrimitiveStandardAttributes, UriReference, ExternalResourcesRequired native "SVGFEImageElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEImageElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEImageElement.SVGFEImageElement') |
| @DocsEditable() |
| factory FEImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("feImage"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEImageElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feImage') && (new SvgElement.tag('feImage') is FEImageElement); |
| |
| @DomName('SVGFEImageElement.preserveAspectRatio') |
| @DocsEditable() |
| final AnimatedPreserveAspectRatio preserveAspectRatio; |
| |
| // From SVGExternalResourcesRequired |
| |
| @DomName('SVGFEImageElement.externalResourcesRequired') |
| @DocsEditable() |
| final AnimatedBoolean externalResourcesRequired; |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFEImageElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFEImageElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFEImageElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFEImageElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFEImageElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| |
| // From SVGURIReference |
| |
| @DomName('SVGFEImageElement.href') |
| @DocsEditable() |
| final AnimatedString href; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEMergeElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEMergeElement extends SvgElement implements FilterPrimitiveStandardAttributes native "SVGFEMergeElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEMergeElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEMergeElement.SVGFEMergeElement') |
| @DocsEditable() |
| factory FEMergeElement() => _SvgElementFactoryProvider.createSvgElement_tag("feMerge"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEMergeElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feMerge') && (new SvgElement.tag('feMerge') is FEMergeElement); |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFEMergeElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFEMergeElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFEMergeElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFEMergeElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFEMergeElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEMergeNodeElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEMergeNodeElement extends SvgElement native "SVGFEMergeNodeElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEMergeNodeElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEMergeNodeElement.SVGFEMergeNodeElement') |
| @DocsEditable() |
| factory FEMergeNodeElement() => _SvgElementFactoryProvider.createSvgElement_tag("feMergeNode"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEMergeNodeElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feMergeNode') && (new SvgElement.tag('feMergeNode') is FEMergeNodeElement); |
| |
| @DomName('SVGFEMergeNodeElement.in1') |
| @DocsEditable() |
| final AnimatedString in1; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEMorphologyElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEMorphologyElement extends SvgElement implements FilterPrimitiveStandardAttributes native "SVGFEMorphologyElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEMorphologyElement._() { throw new UnsupportedError("Not supported"); } |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEMorphologyElement.created() : super.created(); |
| |
| @DomName('SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE') |
| @DocsEditable() |
| static const int SVG_MORPHOLOGY_OPERATOR_DILATE = 2; |
| |
| @DomName('SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE') |
| @DocsEditable() |
| static const int SVG_MORPHOLOGY_OPERATOR_ERODE = 1; |
| |
| @DomName('SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_UNKNOWN') |
| @DocsEditable() |
| static const int SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0; |
| |
| @DomName('SVGFEMorphologyElement.in1') |
| @DocsEditable() |
| final AnimatedString in1; |
| |
| @DomName('SVGFEMorphologyElement.operator') |
| @DocsEditable() |
| final AnimatedEnumeration operator; |
| |
| @DomName('SVGFEMorphologyElement.radiusX') |
| @DocsEditable() |
| final AnimatedNumber radiusX; |
| |
| @DomName('SVGFEMorphologyElement.radiusY') |
| @DocsEditable() |
| final AnimatedNumber radiusY; |
| |
| @DomName('SVGFEMorphologyElement.setRadius') |
| @DocsEditable() |
| void setRadius(num radiusX, num radiusY) native; |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFEMorphologyElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFEMorphologyElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFEMorphologyElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFEMorphologyElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFEMorphologyElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEOffsetElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEOffsetElement extends SvgElement implements FilterPrimitiveStandardAttributes native "SVGFEOffsetElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEOffsetElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEOffsetElement.SVGFEOffsetElement') |
| @DocsEditable() |
| factory FEOffsetElement() => _SvgElementFactoryProvider.createSvgElement_tag("feOffset"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEOffsetElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feOffset') && (new SvgElement.tag('feOffset') is FEOffsetElement); |
| |
| @DomName('SVGFEOffsetElement.dx') |
| @DocsEditable() |
| final AnimatedNumber dx; |
| |
| @DomName('SVGFEOffsetElement.dy') |
| @DocsEditable() |
| final AnimatedNumber dy; |
| |
| @DomName('SVGFEOffsetElement.in1') |
| @DocsEditable() |
| final AnimatedString in1; |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFEOffsetElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFEOffsetElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFEOffsetElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFEOffsetElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFEOffsetElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFEPointLightElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FEPointLightElement extends SvgElement native "SVGFEPointLightElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FEPointLightElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFEPointLightElement.SVGFEPointLightElement') |
| @DocsEditable() |
| factory FEPointLightElement() => _SvgElementFactoryProvider.createSvgElement_tag("fePointLight"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FEPointLightElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('fePointLight') && (new SvgElement.tag('fePointLight') is FEPointLightElement); |
| |
| @DomName('SVGFEPointLightElement.x') |
| @DocsEditable() |
| final AnimatedNumber x; |
| |
| @DomName('SVGFEPointLightElement.y') |
| @DocsEditable() |
| final AnimatedNumber y; |
| |
| @DomName('SVGFEPointLightElement.z') |
| @DocsEditable() |
| final AnimatedNumber z; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFESpecularLightingElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FESpecularLightingElement extends SvgElement implements FilterPrimitiveStandardAttributes native "SVGFESpecularLightingElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FESpecularLightingElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFESpecularLightingElement.SVGFESpecularLightingElement') |
| @DocsEditable() |
| factory FESpecularLightingElement() => _SvgElementFactoryProvider.createSvgElement_tag("feSpecularLighting"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FESpecularLightingElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feSpecularLighting') && (new SvgElement.tag('feSpecularLighting') is FESpecularLightingElement); |
| |
| @DomName('SVGFESpecularLightingElement.in1') |
| @DocsEditable() |
| final AnimatedString in1; |
| |
| @DomName('SVGFESpecularLightingElement.specularConstant') |
| @DocsEditable() |
| final AnimatedNumber specularConstant; |
| |
| @DomName('SVGFESpecularLightingElement.specularExponent') |
| @DocsEditable() |
| final AnimatedNumber specularExponent; |
| |
| @DomName('SVGFESpecularLightingElement.surfaceScale') |
| @DocsEditable() |
| final AnimatedNumber surfaceScale; |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFESpecularLightingElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFESpecularLightingElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFESpecularLightingElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFESpecularLightingElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFESpecularLightingElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFESpotLightElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FESpotLightElement extends SvgElement native "SVGFESpotLightElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FESpotLightElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFESpotLightElement.SVGFESpotLightElement') |
| @DocsEditable() |
| factory FESpotLightElement() => _SvgElementFactoryProvider.createSvgElement_tag("feSpotLight"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FESpotLightElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feSpotLight') && (new SvgElement.tag('feSpotLight') is FESpotLightElement); |
| |
| @DomName('SVGFESpotLightElement.limitingConeAngle') |
| @DocsEditable() |
| final AnimatedNumber limitingConeAngle; |
| |
| @DomName('SVGFESpotLightElement.pointsAtX') |
| @DocsEditable() |
| final AnimatedNumber pointsAtX; |
| |
| @DomName('SVGFESpotLightElement.pointsAtY') |
| @DocsEditable() |
| final AnimatedNumber pointsAtY; |
| |
| @DomName('SVGFESpotLightElement.pointsAtZ') |
| @DocsEditable() |
| final AnimatedNumber pointsAtZ; |
| |
| @DomName('SVGFESpotLightElement.specularExponent') |
| @DocsEditable() |
| final AnimatedNumber specularExponent; |
| |
| @DomName('SVGFESpotLightElement.x') |
| @DocsEditable() |
| final AnimatedNumber x; |
| |
| @DomName('SVGFESpotLightElement.y') |
| @DocsEditable() |
| final AnimatedNumber y; |
| |
| @DomName('SVGFESpotLightElement.z') |
| @DocsEditable() |
| final AnimatedNumber z; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFETileElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FETileElement extends SvgElement implements FilterPrimitiveStandardAttributes native "SVGFETileElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FETileElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFETileElement.SVGFETileElement') |
| @DocsEditable() |
| factory FETileElement() => _SvgElementFactoryProvider.createSvgElement_tag("feTile"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FETileElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feTile') && (new SvgElement.tag('feTile') is FETileElement); |
| |
| @DomName('SVGFETileElement.in1') |
| @DocsEditable() |
| final AnimatedString in1; |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFETileElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFETileElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFETileElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFETileElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFETileElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFETurbulenceElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FETurbulenceElement extends SvgElement implements FilterPrimitiveStandardAttributes native "SVGFETurbulenceElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FETurbulenceElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFETurbulenceElement.SVGFETurbulenceElement') |
| @DocsEditable() |
| factory FETurbulenceElement() => _SvgElementFactoryProvider.createSvgElement_tag("feTurbulence"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FETurbulenceElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('feTurbulence') && (new SvgElement.tag('feTurbulence') is FETurbulenceElement); |
| |
| @DomName('SVGFETurbulenceElement.SVG_STITCHTYPE_NOSTITCH') |
| @DocsEditable() |
| static const int SVG_STITCHTYPE_NOSTITCH = 2; |
| |
| @DomName('SVGFETurbulenceElement.SVG_STITCHTYPE_STITCH') |
| @DocsEditable() |
| static const int SVG_STITCHTYPE_STITCH = 1; |
| |
| @DomName('SVGFETurbulenceElement.SVG_STITCHTYPE_UNKNOWN') |
| @DocsEditable() |
| static const int SVG_STITCHTYPE_UNKNOWN = 0; |
| |
| @DomName('SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_FRACTALNOISE') |
| @DocsEditable() |
| static const int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1; |
| |
| @DomName('SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_TURBULENCE') |
| @DocsEditable() |
| static const int SVG_TURBULENCE_TYPE_TURBULENCE = 2; |
| |
| @DomName('SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_UNKNOWN') |
| @DocsEditable() |
| static const int SVG_TURBULENCE_TYPE_UNKNOWN = 0; |
| |
| @DomName('SVGFETurbulenceElement.baseFrequencyX') |
| @DocsEditable() |
| final AnimatedNumber baseFrequencyX; |
| |
| @DomName('SVGFETurbulenceElement.baseFrequencyY') |
| @DocsEditable() |
| final AnimatedNumber baseFrequencyY; |
| |
| @DomName('SVGFETurbulenceElement.numOctaves') |
| @DocsEditable() |
| final AnimatedInteger numOctaves; |
| |
| @DomName('SVGFETurbulenceElement.seed') |
| @DocsEditable() |
| final AnimatedNumber seed; |
| |
| @DomName('SVGFETurbulenceElement.stitchTiles') |
| @DocsEditable() |
| final AnimatedEnumeration stitchTiles; |
| |
| @DomName('SVGFETurbulenceElement.type') |
| @DocsEditable() |
| final AnimatedEnumeration type; |
| |
| // From SVGFilterPrimitiveStandardAttributes |
| |
| @DomName('SVGFETurbulenceElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFETurbulenceElement.result') |
| @DocsEditable() |
| final AnimatedString result; |
| |
| @DomName('SVGFETurbulenceElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFETurbulenceElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFETurbulenceElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFilterElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.IE, '10') |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class FilterElement extends SvgElement implements UriReference, ExternalResourcesRequired native "SVGFilterElement" { |
| // To suppress missing implicit constructor warnings. |
| factory FilterElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGFilterElement.SVGFilterElement') |
| @DocsEditable() |
| factory FilterElement() => _SvgElementFactoryProvider.createSvgElement_tag("filter"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| FilterElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('filter') && (new SvgElement.tag('filter') is FilterElement); |
| |
| @DomName('SVGFilterElement.filterResX') |
| @DocsEditable() |
| final AnimatedInteger filterResX; |
| |
| @DomName('SVGFilterElement.filterResY') |
| @DocsEditable() |
| final AnimatedInteger filterResY; |
| |
| @DomName('SVGFilterElement.filterUnits') |
| @DocsEditable() |
| final AnimatedEnumeration filterUnits; |
| |
| @DomName('SVGFilterElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGFilterElement.primitiveUnits') |
| @DocsEditable() |
| final AnimatedEnumeration primitiveUnits; |
| |
| @DomName('SVGFilterElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGFilterElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGFilterElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| |
| @DomName('SVGFilterElement.setFilterRes') |
| @DocsEditable() |
| void setFilterRes(int filterResX, int filterResY) native; |
| |
| // From SVGExternalResourcesRequired |
| |
| @DomName('SVGFilterElement.externalResourcesRequired') |
| @DocsEditable() |
| final AnimatedBoolean externalResourcesRequired; |
| |
| // From SVGURIReference |
| |
| @DomName('SVGFilterElement.href') |
| @DocsEditable() |
| final AnimatedString href; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFilterPrimitiveStandardAttributes') |
| @Unstable() |
| abstract class FilterPrimitiveStandardAttributes extends Interceptor { |
| |
| AnimatedLength height; |
| |
| AnimatedString result; |
| |
| AnimatedLength width; |
| |
| AnimatedLength x; |
| |
| AnimatedLength y; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGFitToViewBox') |
| @Unstable() |
| abstract class FitToViewBox extends Interceptor { |
| |
| AnimatedPreserveAspectRatio preserveAspectRatio; |
| |
| AnimatedRect viewBox; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGForeignObjectElement') |
| @SupportedBrowser(SupportedBrowser.CHROME) |
| @SupportedBrowser(SupportedBrowser.FIREFOX) |
| @SupportedBrowser(SupportedBrowser.SAFARI) |
| @Unstable() |
| class ForeignObjectElement extends GraphicsElement implements ExternalResourcesRequired native "SVGForeignObjectElement" { |
| // To suppress missing implicit constructor warnings. |
| factory ForeignObjectElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGForeignObjectElement.SVGForeignObjectElement') |
| @DocsEditable() |
| factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_tag("foreignObject"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| ForeignObjectElement.created() : super.created(); |
| |
| /// Checks if this type is supported on the current platform. |
| static bool get supported => SvgElement.isTagSupported('foreignObject') && (new SvgElement.tag('foreignObject') is ForeignObjectElement); |
| |
| @DomName('SVGForeignObjectElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGForeignObjectElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGForeignObjectElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGForeignObjectElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| |
| // From SVGExternalResourcesRequired |
| |
| @DomName('SVGForeignObjectElement.externalResourcesRequired') |
| @DocsEditable() |
| final AnimatedBoolean externalResourcesRequired; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGGElement') |
| @Unstable() |
| class GElement extends GraphicsElement implements ExternalResourcesRequired native "SVGGElement" { |
| // To suppress missing implicit constructor warnings. |
| factory GElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGGElement.SVGGElement') |
| @DocsEditable() |
| factory GElement() => _SvgElementFactoryProvider.createSvgElement_tag("g"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| GElement.created() : super.created(); |
| |
| // From SVGExternalResourcesRequired |
| |
| @DomName('SVGGElement.externalResourcesRequired') |
| @DocsEditable() |
| final AnimatedBoolean externalResourcesRequired; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGGraphicsElement') |
| @Experimental() // untriaged |
| class GraphicsElement extends SvgElement implements Tests native "SVGGraphicsElement" { |
| // To suppress missing implicit constructor warnings. |
| factory GraphicsElement._() { throw new UnsupportedError("Not supported"); } |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| GraphicsElement.created() : super.created(); |
| |
| @DomName('SVGGraphicsElement.farthestViewportElement') |
| @DocsEditable() |
| @Experimental() // untriaged |
| final SvgElement farthestViewportElement; |
| |
| @DomName('SVGGraphicsElement.nearestViewportElement') |
| @DocsEditable() |
| @Experimental() // untriaged |
| final SvgElement nearestViewportElement; |
| |
| @DomName('SVGGraphicsElement.transform') |
| @DocsEditable() |
| @Experimental() // untriaged |
| final AnimatedTransformList transform; |
| |
| @DomName('SVGGraphicsElement.getBBox') |
| @DocsEditable() |
| @Experimental() // untriaged |
| Rect getBBox() native; |
| |
| @JSName('getCTM') |
| @DomName('SVGGraphicsElement.getCTM') |
| @DocsEditable() |
| @Experimental() // untriaged |
| Matrix getCtm() native; |
| |
| @JSName('getScreenCTM') |
| @DomName('SVGGraphicsElement.getScreenCTM') |
| @DocsEditable() |
| @Experimental() // untriaged |
| Matrix getScreenCtm() native; |
| |
| @DomName('SVGGraphicsElement.getTransformToElement') |
| @DocsEditable() |
| @Experimental() // untriaged |
| Matrix getTransformToElement(SvgElement element) native; |
| |
| // From SVGTests |
| |
| @DomName('SVGGraphicsElement.requiredExtensions') |
| @DocsEditable() |
| @Experimental() // untriaged |
| final StringList requiredExtensions; |
| |
| @DomName('SVGGraphicsElement.requiredFeatures') |
| @DocsEditable() |
| @Experimental() // untriaged |
| final StringList requiredFeatures; |
| |
| @DomName('SVGGraphicsElement.systemLanguage') |
| @DocsEditable() |
| @Experimental() // untriaged |
| final StringList systemLanguage; |
| |
| @DomName('SVGGraphicsElement.hasExtension') |
| @DocsEditable() |
| @Experimental() // untriaged |
| bool hasExtension(String extension) native; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGImageElement') |
| @Unstable() |
| class ImageElement extends GraphicsElement implements UriReference, ExternalResourcesRequired native "SVGImageElement" { |
| // To suppress missing implicit constructor warnings. |
| factory ImageElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGImageElement.SVGImageElement') |
| @DocsEditable() |
| factory ImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("image"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| ImageElement.created() : super.created(); |
| |
| @DomName('SVGImageElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGImageElement.preserveAspectRatio') |
| @DocsEditable() |
| final AnimatedPreserveAspectRatio preserveAspectRatio; |
| |
| @DomName('SVGImageElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGImageElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGImageElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| |
| // From SVGExternalResourcesRequired |
| |
| @DomName('SVGImageElement.externalResourcesRequired') |
| @DocsEditable() |
| final AnimatedBoolean externalResourcesRequired; |
| |
| // From SVGURIReference |
| |
| @DomName('SVGImageElement.href') |
| @DocsEditable() |
| final AnimatedString href; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGLength') |
| @Unstable() |
| class Length extends Interceptor native "SVGLength" { |
| |
| @DomName('SVGLength.SVG_LENGTHTYPE_CM') |
| @DocsEditable() |
| static const int SVG_LENGTHTYPE_CM = 6; |
| |
| @DomName('SVGLength.SVG_LENGTHTYPE_EMS') |
| @DocsEditable() |
| static const int SVG_LENGTHTYPE_EMS = 3; |
| |
| @DomName('SVGLength.SVG_LENGTHTYPE_EXS') |
| @DocsEditable() |
| static const int SVG_LENGTHTYPE_EXS = 4; |
| |
| @DomName('SVGLength.SVG_LENGTHTYPE_IN') |
| @DocsEditable() |
| static const int SVG_LENGTHTYPE_IN = 8; |
| |
| @DomName('SVGLength.SVG_LENGTHTYPE_MM') |
| @DocsEditable() |
| static const int SVG_LENGTHTYPE_MM = 7; |
| |
| @DomName('SVGLength.SVG_LENGTHTYPE_NUMBER') |
| @DocsEditable() |
| static const int SVG_LENGTHTYPE_NUMBER = 1; |
| |
| @DomName('SVGLength.SVG_LENGTHTYPE_PC') |
| @DocsEditable() |
| static const int SVG_LENGTHTYPE_PC = 10; |
| |
| @DomName('SVGLength.SVG_LENGTHTYPE_PERCENTAGE') |
| @DocsEditable() |
| static const int SVG_LENGTHTYPE_PERCENTAGE = 2; |
| |
| @DomName('SVGLength.SVG_LENGTHTYPE_PT') |
| @DocsEditable() |
| static const int SVG_LENGTHTYPE_PT = 9; |
| |
| @DomName('SVGLength.SVG_LENGTHTYPE_PX') |
| @DocsEditable() |
| static const int SVG_LENGTHTYPE_PX = 5; |
| |
| @DomName('SVGLength.SVG_LENGTHTYPE_UNKNOWN') |
| @DocsEditable() |
| static const int SVG_LENGTHTYPE_UNKNOWN = 0; |
| |
| @DomName('SVGLength.unitType') |
| @DocsEditable() |
| final int unitType; |
| |
| @DomName('SVGLength.value') |
| @DocsEditable() |
| num value; |
| |
| @DomName('SVGLength.valueAsString') |
| @DocsEditable() |
| String valueAsString; |
| |
| @DomName('SVGLength.valueInSpecifiedUnits') |
| @DocsEditable() |
| num valueInSpecifiedUnits; |
| |
| @DomName('SVGLength.convertToSpecifiedUnits') |
| @DocsEditable() |
| void convertToSpecifiedUnits(int unitType) native; |
| |
| @DomName('SVGLength.newValueSpecifiedUnits') |
| @DocsEditable() |
| void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGLengthList') |
| @Unstable() |
| class LengthList extends Interceptor with ListMixin<Length>, ImmutableListMixin<Length> implements List<Length> native "SVGLengthList" { |
| |
| @DomName('SVGLengthList.numberOfItems') |
| @DocsEditable() |
| final int numberOfItems; |
| |
| Length operator[](int index) { |
| if (JS("bool", "# >>> 0 !== # || # >= #", index, |
| index, index, length)) |
| throw new RangeError.range(index, 0, length); |
| return this.getItem(index); |
| } |
| void operator[]=(int index, Length value) { |
| throw new UnsupportedError("Cannot assign element of immutable List."); |
| } |
| // -- start List<Length> mixins. |
| // Length is the element type. |
| |
| // SVG Collections expose numberOfItems rather than length. |
| int get length => numberOfItems; |
| |
| void set length(int value) { |
| throw new UnsupportedError("Cannot resize immutable List."); |
| } |
| |
| Length get first { |
| if (this.length > 0) { |
| return JS('Length', '#[0]', this); |
| } |
| throw new StateError("No elements"); |
| } |
| |
| Length get last { |
| int len = this.length; |
| if (len > 0) { |
| return JS('Length', '#[#]', this, len - 1); |
| } |
| throw new StateError("No elements"); |
| } |
| |
| Length get single { |
| int len = this.length; |
| if (len == 1) { |
| return JS('Length', '#[0]', this); |
| } |
| if (len == 0) throw new StateError("No elements"); |
| throw new StateError("More than one element"); |
| } |
| |
| Length elementAt(int index) => this[index]; |
| // -- end List<Length> mixins. |
| |
| @DomName('SVGLengthList.appendItem') |
| @DocsEditable() |
| Length appendItem(Length item) native; |
| |
| @DomName('SVGLengthList.clear') |
| @DocsEditable() |
| void clear() native; |
| |
| @DomName('SVGLengthList.getItem') |
| @DocsEditable() |
| Length getItem(int index) native; |
| |
| @DomName('SVGLengthList.initialize') |
| @DocsEditable() |
| Length initialize(Length item) native; |
| |
| @DomName('SVGLengthList.insertItemBefore') |
| @DocsEditable() |
| Length insertItemBefore(Length item, int index) native; |
| |
| @DomName('SVGLengthList.removeItem') |
| @DocsEditable() |
| Length removeItem(int index) native; |
| |
| @DomName('SVGLengthList.replaceItem') |
| @DocsEditable() |
| Length replaceItem(Length item, int index) native; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGLineElement') |
| @Unstable() |
| class LineElement extends GraphicsElement implements ExternalResourcesRequired native "SVGLineElement" { |
| // To suppress missing implicit constructor warnings. |
| factory LineElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGLineElement.SVGLineElement') |
| @DocsEditable() |
| factory LineElement() => _SvgElementFactoryProvider.createSvgElement_tag("line"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| LineElement.created() : super.created(); |
| |
| @DomName('SVGLineElement.x1') |
| @DocsEditable() |
| final AnimatedLength x1; |
| |
| @DomName('SVGLineElement.x2') |
| @DocsEditable() |
| final AnimatedLength x2; |
| |
| @DomName('SVGLineElement.y1') |
| @DocsEditable() |
| final AnimatedLength y1; |
| |
| @DomName('SVGLineElement.y2') |
| @DocsEditable() |
| final AnimatedLength y2; |
| |
| // From SVGExternalResourcesRequired |
| |
| @DomName('SVGLineElement.externalResourcesRequired') |
| @DocsEditable() |
| final AnimatedBoolean externalResourcesRequired; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGLinearGradientElement') |
| @Unstable() |
| class LinearGradientElement extends _GradientElement native "SVGLinearGradientElement" { |
| // To suppress missing implicit constructor warnings. |
| factory LinearGradientElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGLinearGradientElement.SVGLinearGradientElement') |
| @DocsEditable() |
| factory LinearGradientElement() => _SvgElementFactoryProvider.createSvgElement_tag("linearGradient"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| LinearGradientElement.created() : super.created(); |
| |
| @DomName('SVGLinearGradientElement.x1') |
| @DocsEditable() |
| final AnimatedLength x1; |
| |
| @DomName('SVGLinearGradientElement.x2') |
| @DocsEditable() |
| final AnimatedLength x2; |
| |
| @DomName('SVGLinearGradientElement.y1') |
| @DocsEditable() |
| final AnimatedLength y1; |
| |
| @DomName('SVGLinearGradientElement.y2') |
| @DocsEditable() |
| final AnimatedLength y2; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGMarkerElement') |
| @Unstable() |
| class MarkerElement extends SvgElement implements FitToViewBox, ExternalResourcesRequired native "SVGMarkerElement" { |
| // To suppress missing implicit constructor warnings. |
| factory MarkerElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGMarkerElement.SVGMarkerElement') |
| @DocsEditable() |
| factory MarkerElement() => _SvgElementFactoryProvider.createSvgElement_tag("marker"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| MarkerElement.created() : super.created(); |
| |
| @DomName('SVGMarkerElement.SVG_MARKERUNITS_STROKEWIDTH') |
| @DocsEditable() |
| static const int SVG_MARKERUNITS_STROKEWIDTH = 2; |
| |
| @DomName('SVGMarkerElement.SVG_MARKERUNITS_UNKNOWN') |
| @DocsEditable() |
| static const int SVG_MARKERUNITS_UNKNOWN = 0; |
| |
| @DomName('SVGMarkerElement.SVG_MARKERUNITS_USERSPACEONUSE') |
| @DocsEditable() |
| static const int SVG_MARKERUNITS_USERSPACEONUSE = 1; |
| |
| @DomName('SVGMarkerElement.SVG_MARKER_ORIENT_ANGLE') |
| @DocsEditable() |
| static const int SVG_MARKER_ORIENT_ANGLE = 2; |
| |
| @DomName('SVGMarkerElement.SVG_MARKER_ORIENT_AUTO') |
| @DocsEditable() |
| static const int SVG_MARKER_ORIENT_AUTO = 1; |
| |
| @DomName('SVGMarkerElement.SVG_MARKER_ORIENT_UNKNOWN') |
| @DocsEditable() |
| static const int SVG_MARKER_ORIENT_UNKNOWN = 0; |
| |
| @DomName('SVGMarkerElement.markerHeight') |
| @DocsEditable() |
| final AnimatedLength markerHeight; |
| |
| @DomName('SVGMarkerElement.markerUnits') |
| @DocsEditable() |
| final AnimatedEnumeration markerUnits; |
| |
| @DomName('SVGMarkerElement.markerWidth') |
| @DocsEditable() |
| final AnimatedLength markerWidth; |
| |
| @DomName('SVGMarkerElement.orientAngle') |
| @DocsEditable() |
| final AnimatedAngle orientAngle; |
| |
| @DomName('SVGMarkerElement.orientType') |
| @DocsEditable() |
| final AnimatedEnumeration orientType; |
| |
| @DomName('SVGMarkerElement.refX') |
| @DocsEditable() |
| final AnimatedLength refX; |
| |
| @DomName('SVGMarkerElement.refY') |
| @DocsEditable() |
| final AnimatedLength refY; |
| |
| @DomName('SVGMarkerElement.setOrientToAngle') |
| @DocsEditable() |
| void setOrientToAngle(Angle angle) native; |
| |
| @DomName('SVGMarkerElement.setOrientToAuto') |
| @DocsEditable() |
| void setOrientToAuto() native; |
| |
| // From SVGExternalResourcesRequired |
| |
| @DomName('SVGMarkerElement.externalResourcesRequired') |
| @DocsEditable() |
| final AnimatedBoolean externalResourcesRequired; |
| |
| // From SVGFitToViewBox |
| |
| @DomName('SVGMarkerElement.preserveAspectRatio') |
| @DocsEditable() |
| final AnimatedPreserveAspectRatio preserveAspectRatio; |
| |
| @DomName('SVGMarkerElement.viewBox') |
| @DocsEditable() |
| final AnimatedRect viewBox; |
| } |
| // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| // for details. All rights reserved. Use of this source code is governed by a |
| // BSD-style license that can be found in the LICENSE file. |
| |
| |
| @DocsEditable() |
| @DomName('SVGMaskElement') |
| @Unstable() |
| class MaskElement extends SvgElement implements ExternalResourcesRequired, Tests native "SVGMaskElement" { |
| // To suppress missing implicit constructor warnings. |
| factory MaskElement._() { throw new UnsupportedError("Not supported"); } |
| |
| @DomName('SVGMaskElement.SVGMaskElement') |
| @DocsEditable() |
| factory MaskElement() => _SvgElementFactoryProvider.createSvgElement_tag("mask"); |
| /** |
| * Constructor instantiated by the DOM when a custom element has been created. |
| * |
| * This can only be called by subclasses from their created constructor. |
| */ |
| MaskElement.created() : super.created(); |
| |
| @DomName('SVGMaskElement.height') |
| @DocsEditable() |
| final AnimatedLength height; |
| |
| @DomName('SVGMaskElement.maskContentUnits') |
| @DocsEditable() |
| final AnimatedEnumeration maskContentUnits; |
| |
| @DomName('SVGMaskElement.maskUnits') |
| @DocsEditable() |
| final AnimatedEnumeration maskUnits; |
| |
| @DomName('SVGMaskElement.width') |
| @DocsEditable() |
| final AnimatedLength width; |
| |
| @DomName('SVGMaskElement.x') |
| @DocsEditable() |
| final AnimatedLength x; |
| |
| @DomName('SVGMaskElement.y') |
| @DocsEditable() |
| final AnimatedLength y; |
| |
| // From SVGExternalResourcesRequired |
| |
| @DomName('SVGMaskElement.externalResourcesRequired') |
| @DocsEditable() |
| final AnimatedBoolean externalResourcesRequired; |
| |
| // From SVGTests |
| |
| @DomName('SVGMaskElement.requiredExtensions') |
| @DocsEditable() |
| final StringList requiredExtensions; |
| |
| @DomName('SVGMaskElement.requiredFeatures') |
| @DocsEditable() |
| final StringList requiredFeatures; |
| |
| @DomName('SVGMaskElement.systemLanguage') |
| @DocsEditable() |
| final StringList systemLanguage; |
| |
| @DomName('SVGMaskElement.hasExtension') |
| @DocsEditable() |
| bool hasExtension |