blob: bc4bfd569fc52c545882c234f542655a292efb56 [file] [log] [blame]
/**
* 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:_internal';
import 'dart:html';
import 'dart:html_common';
import 'dart:_js_helper' show Creates, Returns, JSName, Native;
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()
@Native("SVGAElement")
class AElement extends GraphicsElement implements UriReference {
// 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 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('SVGAngle')
@Unstable()
@Native("SVGAngle")
class Angle extends Interceptor {
// To suppress missing implicit constructor warnings.
factory Angle._() {
throw new UnsupportedError("Not supported");
}
@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()
@Native("SVGAnimateElement")
class AnimateElement extends AnimationElement {
// 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()
@Native("SVGAnimateMotionElement")
class AnimateMotionElement extends AnimationElement {
// 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()
@Native("SVGAnimateTransformElement")
class AnimateTransformElement extends AnimationElement {
// 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()
@Native("SVGAnimatedAngle")
class AnimatedAngle extends Interceptor {
// To suppress missing implicit constructor warnings.
factory AnimatedAngle._() {
throw new UnsupportedError("Not supported");
}
@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()
@Native("SVGAnimatedBoolean")
class AnimatedBoolean extends Interceptor {
// To suppress missing implicit constructor warnings.
factory AnimatedBoolean._() {
throw new UnsupportedError("Not supported");
}
@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()
@Native("SVGAnimatedEnumeration")
class AnimatedEnumeration extends Interceptor {
// To suppress missing implicit constructor warnings.
factory AnimatedEnumeration._() {
throw new UnsupportedError("Not supported");
}
@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()
@Native("SVGAnimatedInteger")
class AnimatedInteger extends Interceptor {
// To suppress missing implicit constructor warnings.
factory AnimatedInteger._() {
throw new UnsupportedError("Not supported");
}
@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()
@Native("SVGAnimatedLength")
class AnimatedLength extends Interceptor {
// To suppress missing implicit constructor warnings.
factory AnimatedLength._() {
throw new UnsupportedError("Not supported");
}
@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()
@Native("SVGAnimatedLengthList")
class AnimatedLengthList extends Interceptor {
// To suppress missing implicit constructor warnings.
factory AnimatedLengthList._() {
throw new UnsupportedError("Not supported");
}
@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()
@Native("SVGAnimatedNumber")
class AnimatedNumber extends Interceptor {
// To suppress missing implicit constructor warnings.
factory AnimatedNumber._() {
throw new UnsupportedError("Not supported");
}
@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()
@Native("SVGAnimatedNumberList")
class AnimatedNumberList extends Interceptor {
// To suppress missing implicit constructor warnings.
factory AnimatedNumberList._() {
throw new UnsupportedError("Not supported");
}
@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()
@Native("SVGAnimatedPreserveAspectRatio")
class AnimatedPreserveAspectRatio extends Interceptor {
// To suppress missing implicit constructor warnings.
factory AnimatedPreserveAspectRatio._() {
throw new UnsupportedError("Not supported");
}
@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()
@Native("SVGAnimatedRect")
class AnimatedRect extends Interceptor {
// To suppress missing implicit constructor warnings.
factory AnimatedRect._() {
throw new UnsupportedError("Not supported");
}
@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()
@Native("SVGAnimatedString")
class AnimatedString extends Interceptor {
// To suppress missing implicit constructor warnings.
factory AnimatedString._() {
throw new UnsupportedError("Not supported");
}
@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()
@Native("SVGAnimatedTransformList")
class AnimatedTransformList extends Interceptor {
// To suppress missing implicit constructor warnings.
factory AnimatedTransformList._() {
throw new UnsupportedError("Not supported");
}
@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()
@Native("SVGAnimationElement")
class AnimationElement extends SvgElement implements Tests {
// 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 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()
@Native("SVGCircleElement")
class CircleElement extends GeometryElement {
// 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;
}
// 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()
@Native("SVGClipPathElement")
class ClipPathElement extends GraphicsElement {
// 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;
}
// 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()
@Native("SVGDefsElement")
class DefsElement extends GraphicsElement {
// 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();
}
// 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()
@Native("SVGDescElement")
class DescElement extends SvgElement {
// 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('SVGDiscardElement')
@Experimental() // untriaged
@Native("SVGDiscardElement")
class DiscardElement extends SvgElement {
// To suppress missing implicit constructor warnings.
factory DiscardElement._() {
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.
*/
DiscardElement.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('SVGEllipseElement')
@Unstable()
@Native("SVGEllipseElement")
class EllipseElement extends GeometryElement {
// 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;
}
// 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()
@Native("SVGFEBlendElement")
class FEBlendElement extends SvgElement
implements FilterPrimitiveStandardAttributes {
// 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()
@Native("SVGFEColorMatrixElement")
class FEColorMatrixElement extends SvgElement
implements FilterPrimitiveStandardAttributes {
// 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()
@Native("SVGFEComponentTransferElement")
class FEComponentTransferElement extends SvgElement
implements FilterPrimitiveStandardAttributes {
// 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()
@Native("SVGFECompositeElement")
class FECompositeElement extends SvgElement
implements FilterPrimitiveStandardAttributes {
// 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()
@Native("SVGFEConvolveMatrixElement")
class FEConvolveMatrixElement extends SvgElement
implements FilterPrimitiveStandardAttributes {
// 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()
@Native("SVGFEDiffuseLightingElement")
class FEDiffuseLightingElement extends SvgElement
implements FilterPrimitiveStandardAttributes {
// 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()
@Native("SVGFEDisplacementMapElement")
class FEDisplacementMapElement extends SvgElement
implements FilterPrimitiveStandardAttributes {
// 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()
@Native("SVGFEDistantLightElement")
class FEDistantLightElement extends SvgElement {
// 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()
@Native("SVGFEFloodElement")
class FEFloodElement extends SvgElement
implements FilterPrimitiveStandardAttributes {
// 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()
@Native("SVGFEFuncAElement")
class FEFuncAElement extends _SVGComponentTransferFunctionElement {
// 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()
@Native("SVGFEFuncBElement")
class FEFuncBElement extends _SVGComponentTransferFunctionElement {
// 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()
@Native("SVGFEFuncGElement")
class FEFuncGElement extends _SVGComponentTransferFunctionElement {
// 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()
@Native("SVGFEFuncRElement")
class FEFuncRElement extends _SVGComponentTransferFunctionElement {
// 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()
@Native("SVGFEGaussianBlurElement")
class FEGaussianBlurElement extends SvgElement
implements FilterPrimitiveStandardAttributes {
// 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()
@Native("SVGFEImageElement")
class FEImageElement extends SvgElement
implements FilterPrimitiveStandardAttributes, UriReference {
// 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 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()
@Native("SVGFEMergeElement")
class FEMergeElement extends SvgElement
implements FilterPrimitiveStandardAttributes {
// 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()
@Native("SVGFEMergeNodeElement")
class FEMergeNodeElement extends SvgElement {
// 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()
@Native("SVGFEMorphologyElement")
class FEMorphologyElement extends SvgElement
implements FilterPrimitiveStandardAttributes {
// 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;
// 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()
@Native("SVGFEOffsetElement")
class FEOffsetElement extends SvgElement
implements FilterPrimitiveStandardAttributes {
// 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()
@Native("SVGFEPointLightElement")
class FEPointLightElement extends SvgElement {
// 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()
@Native("SVGFESpecularLightingElement")
class FESpecularLightingElement extends SvgElement
implements FilterPrimitiveStandardAttributes {
// 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.kernelUnitLengthX')
@DocsEditable()
@Experimental() // untriaged
final AnimatedNumber kernelUnitLengthX;
@DomName('SVGFESpecularLightingElement.kernelUnitLengthY')
@DocsEditable()
@Experimental() // untriaged
final AnimatedNumber kernelUnitLengthY;
@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()
@Native("SVGFESpotLightElement")
class FESpotLightElement extends SvgElement {
// 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()
@Native("SVGFETileElement")
class FETileElement extends SvgElement
implements FilterPrimitiveStandardAttributes {
// 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()
@Native("SVGFETurbulenceElement")
class FETurbulenceElement extends SvgElement
implements FilterPrimitiveStandardAttributes {
// 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()
@Native("SVGFilterElement")
class FilterElement extends SvgElement implements UriReference {
// 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.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;
// 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 {
// To suppress missing implicit constructor warnings.
factory FilterPrimitiveStandardAttributes._() {
throw new UnsupportedError("Not supported");
}
final AnimatedLength height;
final AnimatedString result;
final AnimatedLength width;
final AnimatedLength x;
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('SVGFitToViewBox')
@Unstable()
abstract class FitToViewBox extends Interceptor {
// To suppress missing implicit constructor warnings.
factory FitToViewBox._() {
throw new UnsupportedError("Not supported");
}
final AnimatedPreserveAspectRatio preserveAspectRatio;
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('SVGForeignObjectElement')
@SupportedBrowser(SupportedBrowser.CHROME)
@SupportedBrowser(SupportedBrowser.FIREFOX)
@SupportedBrowser(SupportedBrowser.SAFARI)
@Unstable()
@Native("SVGForeignObjectElement")
class ForeignObjectElement extends GraphicsElement {
// 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;
}
// 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()
@Native("SVGGElement")
class GElement extends GraphicsElement {
// 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();
}
// 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('SVGGeometryElement')
@Experimental() // untriaged
@Native("SVGGeometryElement")
class GeometryElement extends GraphicsElement {
// To suppress missing implicit constructor warnings.
factory GeometryElement._() {
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.
*/
GeometryElement.created() : super.created();
@DomName('SVGGeometryElement.isPointInFill')
@DocsEditable()
@Experimental() // untriaged
bool isPointInFill(Point point) native ;
@DomName('SVGGeometryElement.isPointInStroke')
@DocsEditable()
@Experimental() // untriaged
bool isPointInStroke(Point point) 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('SVGGraphicsElement')
@Experimental() // untriaged
@Native("SVGGraphicsElement")
class GraphicsElement extends SvgElement implements Tests {
// 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()
@Native("SVGImageElement")
class ImageElement extends GraphicsElement implements UriReference {
// 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 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()
@Native("SVGLength")
class Length extends Interceptor {
// To suppress missing implicit constructor warnings.
factory Length._() {
throw new UnsupportedError("Not supported");
}
@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()
@Native("SVGLengthList")
class LengthList extends Interceptor
with ListMixin<Length>, ImmutableListMixin<Length>
implements List<Length> {
// To suppress missing implicit constructor warnings.
factory LengthList._() {
throw new UnsupportedError("Not supported");
}
@DomName('SVGLengthList.length')
@DocsEditable()
@Experimental() // untriaged
int get length => JS("int", "#.length", this);
@DomName('SVGLengthList.numberOfItems')
@DocsEditable()
final int numberOfItems;
Length operator [](int index) {
if (JS("bool", "# >>> 0 !== # || # >= #", index, index, index, length))
throw new RangeError.index(index, this);
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.
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.__setter__')
@DocsEditable()
@Experimental() // untriaged
void __setter__(int index, Length newItem) native ;
@DomName('SVGLengthList.appendItem')
@DocsEditable()
Length appendItem(Length newItem) native ;
@DomName('SVGLengthList.clear')
@DocsEditable()
void clear() native ;
@DomName('SVGLengthList.getItem')
@DocsEditable()
Length getItem(int index) native ;
@DomName('SVGLengthList.initialize')
@DocsEditable()
Length initialize(Length newItem) native ;
@DomName('SVGLengthList.insertItemBefore')
@DocsEditable()
Length insertItemBefore(Length newItem, int index) native ;
@DomName('SVGLengthList.removeItem')
@DocsEditable()
Length removeItem(int index) native ;
@DomName('SVGLengthList.replaceItem')
@DocsEditable()
Length replaceItem(Length newItem, 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()
@Native("SVGLineElement")
class LineElement extends GeometryElement {
// 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;
}
// 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()
@Native("SVGLinearGradientElement")
class LinearGradientElement extends _GradientElement {
// 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()
@Native("SVGMarkerElement")
class MarkerElement extends SvgElement implements FitToViewBox {
// 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 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()
@Native("SVGMaskElement")
class MaskElement extends SvgElement implements Tests {
// To suppress missing implicit constructor warnings.