Index: sdk/lib/svg/dart2js/svg_dart2js.dart |
diff --git a/sdk/lib/svg/dart2js/svg_dart2js.dart b/sdk/lib/svg/dart2js/svg_dart2js.dart |
index 558ffbd928f538c6a806aa04765c90d723d58e58..bc4bfd569fc52c545882c234f542655a292efb56 100644 |
--- a/sdk/lib/svg/dart2js/svg_dart2js.dart |
+++ b/sdk/lib/svg/dart2js/svg_dart2js.dart |
@@ -20,19 +20,14 @@ import 'dart:_interceptors' show Interceptor; |
// 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); |
+ document.createElementNS("http://www.w3.org/2000/svg", tag); |
return temp; |
} |
} |
@@ -40,14 +35,15 @@ class _SvgElementFactoryProvider { |
// 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"); } |
+ factory AElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAElement.SVGAElement') |
@DocsEditable() |
@@ -73,14 +69,15 @@ class AElement extends GraphicsElement implements UriReference { |
// 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"); } |
+ factory Angle._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAngle.SVG_ANGLETYPE_DEG') |
@DocsEditable() |
@@ -120,17 +117,16 @@ class Angle extends Interceptor { |
@DomName('SVGAngle.convertToSpecifiedUnits') |
@DocsEditable() |
- void convertToSpecifiedUnits(int unitType) native; |
+ void convertToSpecifiedUnits(int unitType) native ; |
@DomName('SVGAngle.newValueSpecifiedUnits') |
@DocsEditable() |
- void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; |
+ 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) |
@@ -140,11 +136,14 @@ class Angle extends Interceptor { |
@Native("SVGAnimateElement") |
class AnimateElement extends AnimationElement { |
// To suppress missing implicit constructor warnings. |
- factory AnimateElement._() { throw new UnsupportedError("Not supported"); } |
+ factory AnimateElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimateElement.SVGAnimateElement') |
@DocsEditable() |
- factory AnimateElement() => _SvgElementFactoryProvider.createSvgElement_tag("animate"); |
+ factory AnimateElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("animate"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -153,13 +152,14 @@ class AnimateElement extends AnimationElement { |
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); |
+ 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) |
@@ -169,11 +169,14 @@ class AnimateElement extends AnimationElement { |
@Native("SVGAnimateMotionElement") |
class AnimateMotionElement extends AnimationElement { |
// To suppress missing implicit constructor warnings. |
- factory AnimateMotionElement._() { throw new UnsupportedError("Not supported"); } |
+ factory AnimateMotionElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimateMotionElement.SVGAnimateMotionElement') |
@DocsEditable() |
- factory AnimateMotionElement() => _SvgElementFactoryProvider.createSvgElement_tag("animateMotion"); |
+ factory AnimateMotionElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("animateMotion"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -182,13 +185,14 @@ class AnimateMotionElement extends AnimationElement { |
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); |
+ 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) |
@@ -198,11 +202,14 @@ class AnimateMotionElement extends AnimationElement { |
@Native("SVGAnimateTransformElement") |
class AnimateTransformElement extends AnimationElement { |
// To suppress missing implicit constructor warnings. |
- factory AnimateTransformElement._() { throw new UnsupportedError("Not supported"); } |
+ factory AnimateTransformElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimateTransformElement.SVGAnimateTransformElement') |
@DocsEditable() |
- factory AnimateTransformElement() => _SvgElementFactoryProvider.createSvgElement_tag("animateTransform"); |
+ factory AnimateTransformElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("animateTransform"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -211,20 +218,23 @@ class AnimateTransformElement extends AnimationElement { |
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); |
+ 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"); } |
+ factory AnimatedAngle._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimatedAngle.animVal') |
@DocsEditable() |
@@ -238,14 +248,15 @@ class AnimatedAngle extends Interceptor { |
// 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"); } |
+ factory AnimatedBoolean._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimatedBoolean.animVal') |
@DocsEditable() |
@@ -259,14 +270,15 @@ class AnimatedBoolean extends Interceptor { |
// 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"); } |
+ factory AnimatedEnumeration._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimatedEnumeration.animVal') |
@DocsEditable() |
@@ -280,14 +292,15 @@ class AnimatedEnumeration extends Interceptor { |
// 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"); } |
+ factory AnimatedInteger._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimatedInteger.animVal') |
@DocsEditable() |
@@ -301,14 +314,15 @@ class AnimatedInteger extends Interceptor { |
// 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"); } |
+ factory AnimatedLength._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimatedLength.animVal') |
@DocsEditable() |
@@ -322,14 +336,15 @@ class AnimatedLength extends Interceptor { |
// 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"); } |
+ factory AnimatedLengthList._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimatedLengthList.animVal') |
@DocsEditable() |
@@ -343,14 +358,15 @@ class AnimatedLengthList extends Interceptor { |
// 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"); } |
+ factory AnimatedNumber._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimatedNumber.animVal') |
@DocsEditable() |
@@ -364,14 +380,15 @@ class AnimatedNumber extends Interceptor { |
// 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"); } |
+ factory AnimatedNumberList._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimatedNumberList.animVal') |
@DocsEditable() |
@@ -385,14 +402,15 @@ class AnimatedNumberList extends Interceptor { |
// 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"); } |
+ factory AnimatedPreserveAspectRatio._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimatedPreserveAspectRatio.animVal') |
@DocsEditable() |
@@ -406,14 +424,15 @@ class AnimatedPreserveAspectRatio extends Interceptor { |
// 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"); } |
+ factory AnimatedRect._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimatedRect.animVal') |
@DocsEditable() |
@@ -427,14 +446,15 @@ class AnimatedRect extends Interceptor { |
// 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"); } |
+ factory AnimatedString._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimatedString.animVal') |
@DocsEditable() |
@@ -448,14 +468,15 @@ class AnimatedString extends Interceptor { |
// 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"); } |
+ factory AnimatedTransformList._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimatedTransformList.animVal') |
@DocsEditable() |
@@ -469,18 +490,20 @@ class AnimatedTransformList extends Interceptor { |
// 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"); } |
+ factory AnimationElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGAnimationElement.SVGAnimationElement') |
@DocsEditable() |
- factory AnimationElement() => _SvgElementFactoryProvider.createSvgElement_tag("animation"); |
+ factory AnimationElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("animation"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -494,31 +517,31 @@ class AnimationElement extends SvgElement implements Tests { |
@DomName('SVGAnimationElement.beginElement') |
@DocsEditable() |
- void beginElement() native; |
+ void beginElement() native ; |
@DomName('SVGAnimationElement.beginElementAt') |
@DocsEditable() |
- void beginElementAt(num offset) native; |
+ void beginElementAt(num offset) native ; |
@DomName('SVGAnimationElement.endElement') |
@DocsEditable() |
- void endElement() native; |
+ void endElement() native ; |
@DomName('SVGAnimationElement.endElementAt') |
@DocsEditable() |
- void endElementAt(num offset) native; |
+ void endElementAt(num offset) native ; |
@DomName('SVGAnimationElement.getCurrentTime') |
@DocsEditable() |
- double getCurrentTime() native; |
+ double getCurrentTime() native ; |
@DomName('SVGAnimationElement.getSimpleDuration') |
@DocsEditable() |
- double getSimpleDuration() native; |
+ double getSimpleDuration() native ; |
@DomName('SVGAnimationElement.getStartTime') |
@DocsEditable() |
- double getStartTime() native; |
+ double getStartTime() native ; |
// From SVGTests |
@@ -536,24 +559,26 @@ class AnimationElement extends SvgElement implements Tests { |
@DomName('SVGAnimationElement.hasExtension') |
@DocsEditable() |
- bool hasExtension(String extension) native; |
+ 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"); } |
+ factory CircleElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGCircleElement.SVGCircleElement') |
@DocsEditable() |
- factory CircleElement() => _SvgElementFactoryProvider.createSvgElement_tag("circle"); |
+ factory CircleElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("circle"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -577,18 +602,20 @@ class CircleElement extends GeometryElement { |
// 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"); } |
+ factory ClipPathElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGClipPathElement.SVGClipPathElement') |
@DocsEditable() |
- factory ClipPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("clipPath"); |
+ factory ClipPathElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("clipPath"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -604,18 +631,20 @@ class ClipPathElement extends GraphicsElement { |
// 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"); } |
+ factory DefsElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGDefsElement.SVGDefsElement') |
@DocsEditable() |
- factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs"); |
+ factory DefsElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("defs"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -627,18 +656,20 @@ class DefsElement extends GraphicsElement { |
// 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"); } |
+ factory DescElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGDescElement.SVGDescElement') |
@DocsEditable() |
- factory DescElement() => _SvgElementFactoryProvider.createSvgElement_tag("desc"); |
+ factory DescElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("desc"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -650,14 +681,15 @@ class DescElement extends SvgElement { |
// 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"); } |
+ factory DiscardElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -669,18 +701,20 @@ class DiscardElement extends SvgElement { |
// 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"); } |
+ factory EllipseElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGEllipseElement.SVGEllipseElement') |
@DocsEditable() |
- factory EllipseElement() => _SvgElementFactoryProvider.createSvgElement_tag("ellipse"); |
+ factory EllipseElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("ellipse"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -708,7 +742,6 @@ class EllipseElement extends GeometryElement { |
// 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) |
@@ -717,13 +750,17 @@ class EllipseElement extends GeometryElement { |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Unstable() |
@Native("SVGFEBlendElement") |
-class FEBlendElement extends SvgElement implements FilterPrimitiveStandardAttributes { |
+class FEBlendElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory FEBlendElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEBlendElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEBlendElement.SVGFEBlendElement') |
@DocsEditable() |
- factory FEBlendElement() => _SvgElementFactoryProvider.createSvgElement_tag("feBlend"); |
+ factory FEBlendElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feBlend"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -732,7 +769,9 @@ class FEBlendElement extends SvgElement implements FilterPrimitiveStandardAttrib |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feBlend') && |
+ (new SvgElement.tag('feBlend') is FEBlendElement); |
@DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN') |
@DocsEditable() |
@@ -796,7 +835,6 @@ class FEBlendElement extends SvgElement implements FilterPrimitiveStandardAttrib |
// 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) |
@@ -805,13 +843,17 @@ class FEBlendElement extends SvgElement implements FilterPrimitiveStandardAttrib |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Unstable() |
@Native("SVGFEColorMatrixElement") |
-class FEColorMatrixElement extends SvgElement implements FilterPrimitiveStandardAttributes { |
+class FEColorMatrixElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory FEColorMatrixElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEColorMatrixElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEColorMatrixElement.SVGFEColorMatrixElement') |
@DocsEditable() |
- factory FEColorMatrixElement() => _SvgElementFactoryProvider.createSvgElement_tag("feColorMatrix"); |
+ factory FEColorMatrixElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feColorMatrix"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -820,7 +862,9 @@ class FEColorMatrixElement extends SvgElement implements FilterPrimitiveStandard |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feColorMatrix') && |
+ (new SvgElement.tag('feColorMatrix') is FEColorMatrixElement); |
@DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_HUEROTATE') |
@DocsEditable() |
@@ -880,7 +924,6 @@ class FEColorMatrixElement extends SvgElement implements FilterPrimitiveStandard |
// 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) |
@@ -889,13 +932,17 @@ class FEColorMatrixElement extends SvgElement implements FilterPrimitiveStandard |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Unstable() |
@Native("SVGFEComponentTransferElement") |
-class FEComponentTransferElement extends SvgElement implements FilterPrimitiveStandardAttributes { |
+class FEComponentTransferElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory FEComponentTransferElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEComponentTransferElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEComponentTransferElement.SVGFEComponentTransferElement') |
@DocsEditable() |
- factory FEComponentTransferElement() => _SvgElementFactoryProvider.createSvgElement_tag("feComponentTransfer"); |
+ factory FEComponentTransferElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feComponentTransfer"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -904,7 +951,9 @@ class FEComponentTransferElement extends SvgElement implements FilterPrimitiveSt |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feComponentTransfer') && |
+ (new SvgElement.tag('feComponentTransfer') is FEComponentTransferElement); |
@DomName('SVGFEComponentTransferElement.in1') |
@DocsEditable() |
@@ -936,14 +985,16 @@ class FEComponentTransferElement extends SvgElement implements FilterPrimitiveSt |
// 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 { |
+class FECompositeElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory FECompositeElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FECompositeElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1033,7 +1084,6 @@ class FECompositeElement extends SvgElement implements FilterPrimitiveStandardAt |
// 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) |
@@ -1042,13 +1092,17 @@ class FECompositeElement extends SvgElement implements FilterPrimitiveStandardAt |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Unstable() |
@Native("SVGFEConvolveMatrixElement") |
-class FEConvolveMatrixElement extends SvgElement implements FilterPrimitiveStandardAttributes { |
+class FEConvolveMatrixElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory FEConvolveMatrixElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEConvolveMatrixElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEConvolveMatrixElement.SVGFEConvolveMatrixElement') |
@DocsEditable() |
- factory FEConvolveMatrixElement() => _SvgElementFactoryProvider.createSvgElement_tag("feConvolveMatrix"); |
+ factory FEConvolveMatrixElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feConvolveMatrix"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1057,7 +1111,9 @@ class FEConvolveMatrixElement extends SvgElement implements FilterPrimitiveStand |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feConvolveMatrix') && |
+ (new SvgElement.tag('feConvolveMatrix') is FEConvolveMatrixElement); |
@DomName('SVGFEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE') |
@DocsEditable() |
@@ -1149,7 +1205,6 @@ class FEConvolveMatrixElement extends SvgElement implements FilterPrimitiveStand |
// 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) |
@@ -1158,13 +1213,17 @@ class FEConvolveMatrixElement extends SvgElement implements FilterPrimitiveStand |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Unstable() |
@Native("SVGFEDiffuseLightingElement") |
-class FEDiffuseLightingElement extends SvgElement implements FilterPrimitiveStandardAttributes { |
+class FEDiffuseLightingElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory FEDiffuseLightingElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEDiffuseLightingElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEDiffuseLightingElement.SVGFEDiffuseLightingElement') |
@DocsEditable() |
- factory FEDiffuseLightingElement() => _SvgElementFactoryProvider.createSvgElement_tag("feDiffuseLighting"); |
+ factory FEDiffuseLightingElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feDiffuseLighting"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1173,7 +1232,9 @@ class FEDiffuseLightingElement extends SvgElement implements FilterPrimitiveStan |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feDiffuseLighting') && |
+ (new SvgElement.tag('feDiffuseLighting') is FEDiffuseLightingElement); |
@DomName('SVGFEDiffuseLightingElement.diffuseConstant') |
@DocsEditable() |
@@ -1221,7 +1282,6 @@ class FEDiffuseLightingElement extends SvgElement implements FilterPrimitiveStan |
// 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) |
@@ -1230,13 +1290,17 @@ class FEDiffuseLightingElement extends SvgElement implements FilterPrimitiveStan |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Unstable() |
@Native("SVGFEDisplacementMapElement") |
-class FEDisplacementMapElement extends SvgElement implements FilterPrimitiveStandardAttributes { |
+class FEDisplacementMapElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory FEDisplacementMapElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEDisplacementMapElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEDisplacementMapElement.SVGFEDisplacementMapElement') |
@DocsEditable() |
- factory FEDisplacementMapElement() => _SvgElementFactoryProvider.createSvgElement_tag("feDisplacementMap"); |
+ factory FEDisplacementMapElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feDisplacementMap"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1245,7 +1309,9 @@ class FEDisplacementMapElement extends SvgElement implements FilterPrimitiveStan |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feDisplacementMap') && |
+ (new SvgElement.tag('feDisplacementMap') is FEDisplacementMapElement); |
@DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_A') |
@DocsEditable() |
@@ -1313,7 +1379,6 @@ class FEDisplacementMapElement extends SvgElement implements FilterPrimitiveStan |
// 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) |
@@ -1324,11 +1389,14 @@ class FEDisplacementMapElement extends SvgElement implements FilterPrimitiveStan |
@Native("SVGFEDistantLightElement") |
class FEDistantLightElement extends SvgElement { |
// To suppress missing implicit constructor warnings. |
- factory FEDistantLightElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEDistantLightElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEDistantLightElement.SVGFEDistantLightElement') |
@DocsEditable() |
- factory FEDistantLightElement() => _SvgElementFactoryProvider.createSvgElement_tag("feDistantLight"); |
+ factory FEDistantLightElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feDistantLight"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1337,7 +1405,9 @@ class FEDistantLightElement extends SvgElement { |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feDistantLight') && |
+ (new SvgElement.tag('feDistantLight') is FEDistantLightElement); |
@DomName('SVGFEDistantLightElement.azimuth') |
@DocsEditable() |
@@ -1351,7 +1421,6 @@ class FEDistantLightElement extends SvgElement { |
// 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) |
@@ -1360,13 +1429,17 @@ class FEDistantLightElement extends SvgElement { |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Unstable() |
@Native("SVGFEFloodElement") |
-class FEFloodElement extends SvgElement implements FilterPrimitiveStandardAttributes { |
+class FEFloodElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory FEFloodElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEFloodElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEFloodElement.SVGFEFloodElement') |
@DocsEditable() |
- factory FEFloodElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFlood"); |
+ factory FEFloodElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feFlood"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1375,7 +1448,9 @@ class FEFloodElement extends SvgElement implements FilterPrimitiveStandardAttrib |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feFlood') && |
+ (new SvgElement.tag('feFlood') is FEFloodElement); |
// From SVGFilterPrimitiveStandardAttributes |
@@ -1403,7 +1478,6 @@ class FEFloodElement extends SvgElement implements FilterPrimitiveStandardAttrib |
// 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) |
@@ -1414,11 +1488,14 @@ class FEFloodElement extends SvgElement implements FilterPrimitiveStandardAttrib |
@Native("SVGFEFuncAElement") |
class FEFuncAElement extends _SVGComponentTransferFunctionElement { |
// To suppress missing implicit constructor warnings. |
- factory FEFuncAElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEFuncAElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEFuncAElement.SVGFEFuncAElement') |
@DocsEditable() |
- factory FEFuncAElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncA"); |
+ factory FEFuncAElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feFuncA"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1427,13 +1504,14 @@ class FEFuncAElement extends _SVGComponentTransferFunctionElement { |
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); |
+ 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) |
@@ -1444,11 +1522,14 @@ class FEFuncAElement extends _SVGComponentTransferFunctionElement { |
@Native("SVGFEFuncBElement") |
class FEFuncBElement extends _SVGComponentTransferFunctionElement { |
// To suppress missing implicit constructor warnings. |
- factory FEFuncBElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEFuncBElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEFuncBElement.SVGFEFuncBElement') |
@DocsEditable() |
- factory FEFuncBElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncB"); |
+ factory FEFuncBElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feFuncB"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1457,13 +1538,14 @@ class FEFuncBElement extends _SVGComponentTransferFunctionElement { |
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); |
+ 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) |
@@ -1474,11 +1556,14 @@ class FEFuncBElement extends _SVGComponentTransferFunctionElement { |
@Native("SVGFEFuncGElement") |
class FEFuncGElement extends _SVGComponentTransferFunctionElement { |
// To suppress missing implicit constructor warnings. |
- factory FEFuncGElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEFuncGElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEFuncGElement.SVGFEFuncGElement') |
@DocsEditable() |
- factory FEFuncGElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncG"); |
+ factory FEFuncGElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feFuncG"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1487,13 +1572,14 @@ class FEFuncGElement extends _SVGComponentTransferFunctionElement { |
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); |
+ 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) |
@@ -1504,11 +1590,14 @@ class FEFuncGElement extends _SVGComponentTransferFunctionElement { |
@Native("SVGFEFuncRElement") |
class FEFuncRElement extends _SVGComponentTransferFunctionElement { |
// To suppress missing implicit constructor warnings. |
- factory FEFuncRElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEFuncRElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEFuncRElement.SVGFEFuncRElement') |
@DocsEditable() |
- factory FEFuncRElement() => _SvgElementFactoryProvider.createSvgElement_tag("feFuncR"); |
+ factory FEFuncRElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feFuncR"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1517,13 +1606,14 @@ class FEFuncRElement extends _SVGComponentTransferFunctionElement { |
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); |
+ 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) |
@@ -1532,13 +1622,17 @@ class FEFuncRElement extends _SVGComponentTransferFunctionElement { |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Unstable() |
@Native("SVGFEGaussianBlurElement") |
-class FEGaussianBlurElement extends SvgElement implements FilterPrimitiveStandardAttributes { |
+class FEGaussianBlurElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory FEGaussianBlurElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEGaussianBlurElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEGaussianBlurElement.SVGFEGaussianBlurElement') |
@DocsEditable() |
- factory FEGaussianBlurElement() => _SvgElementFactoryProvider.createSvgElement_tag("feGaussianBlur"); |
+ factory FEGaussianBlurElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feGaussianBlur"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1547,7 +1641,9 @@ class FEGaussianBlurElement extends SvgElement implements FilterPrimitiveStandar |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feGaussianBlur') && |
+ (new SvgElement.tag('feGaussianBlur') is FEGaussianBlurElement); |
@DomName('SVGFEGaussianBlurElement.in1') |
@DocsEditable() |
@@ -1563,7 +1659,7 @@ class FEGaussianBlurElement extends SvgElement implements FilterPrimitiveStandar |
@DomName('SVGFEGaussianBlurElement.setStdDeviation') |
@DocsEditable() |
- void setStdDeviation(num stdDeviationX, num stdDeviationY) native; |
+ void setStdDeviation(num stdDeviationX, num stdDeviationY) native ; |
// From SVGFilterPrimitiveStandardAttributes |
@@ -1591,7 +1687,6 @@ class FEGaussianBlurElement extends SvgElement implements FilterPrimitiveStandar |
// 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) |
@@ -1600,13 +1695,17 @@ class FEGaussianBlurElement extends SvgElement implements FilterPrimitiveStandar |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Unstable() |
@Native("SVGFEImageElement") |
-class FEImageElement extends SvgElement implements FilterPrimitiveStandardAttributes, UriReference { |
+class FEImageElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes, UriReference { |
// To suppress missing implicit constructor warnings. |
- factory FEImageElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEImageElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEImageElement.SVGFEImageElement') |
@DocsEditable() |
- factory FEImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("feImage"); |
+ factory FEImageElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feImage"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1615,7 +1714,9 @@ class FEImageElement extends SvgElement implements FilterPrimitiveStandardAttrib |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feImage') && |
+ (new SvgElement.tag('feImage') is FEImageElement); |
@DomName('SVGFEImageElement.preserveAspectRatio') |
@DocsEditable() |
@@ -1653,7 +1754,6 @@ class FEImageElement extends SvgElement implements FilterPrimitiveStandardAttrib |
// 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) |
@@ -1662,13 +1762,17 @@ class FEImageElement extends SvgElement implements FilterPrimitiveStandardAttrib |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Unstable() |
@Native("SVGFEMergeElement") |
-class FEMergeElement extends SvgElement implements FilterPrimitiveStandardAttributes { |
+class FEMergeElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory FEMergeElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEMergeElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEMergeElement.SVGFEMergeElement') |
@DocsEditable() |
- factory FEMergeElement() => _SvgElementFactoryProvider.createSvgElement_tag("feMerge"); |
+ factory FEMergeElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feMerge"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1677,7 +1781,9 @@ class FEMergeElement extends SvgElement implements FilterPrimitiveStandardAttrib |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feMerge') && |
+ (new SvgElement.tag('feMerge') is FEMergeElement); |
// From SVGFilterPrimitiveStandardAttributes |
@@ -1705,7 +1811,6 @@ class FEMergeElement extends SvgElement implements FilterPrimitiveStandardAttrib |
// 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) |
@@ -1716,11 +1821,14 @@ class FEMergeElement extends SvgElement implements FilterPrimitiveStandardAttrib |
@Native("SVGFEMergeNodeElement") |
class FEMergeNodeElement extends SvgElement { |
// To suppress missing implicit constructor warnings. |
- factory FEMergeNodeElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEMergeNodeElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEMergeNodeElement.SVGFEMergeNodeElement') |
@DocsEditable() |
- factory FEMergeNodeElement() => _SvgElementFactoryProvider.createSvgElement_tag("feMergeNode"); |
+ factory FEMergeNodeElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feMergeNode"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1729,7 +1837,9 @@ class FEMergeNodeElement extends SvgElement { |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feMergeNode') && |
+ (new SvgElement.tag('feMergeNode') is FEMergeNodeElement); |
@DomName('SVGFEMergeNodeElement.in1') |
@DocsEditable() |
@@ -1739,7 +1849,6 @@ class FEMergeNodeElement extends SvgElement { |
// 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) |
@@ -1748,9 +1857,12 @@ class FEMergeNodeElement extends SvgElement { |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Unstable() |
@Native("SVGFEMorphologyElement") |
-class FEMorphologyElement extends SvgElement implements FilterPrimitiveStandardAttributes { |
+class FEMorphologyElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory FEMorphologyElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEMorphologyElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1812,7 +1924,6 @@ class FEMorphologyElement extends SvgElement implements FilterPrimitiveStandardA |
// 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) |
@@ -1821,13 +1932,17 @@ class FEMorphologyElement extends SvgElement implements FilterPrimitiveStandardA |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Unstable() |
@Native("SVGFEOffsetElement") |
-class FEOffsetElement extends SvgElement implements FilterPrimitiveStandardAttributes { |
+class FEOffsetElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory FEOffsetElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEOffsetElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEOffsetElement.SVGFEOffsetElement') |
@DocsEditable() |
- factory FEOffsetElement() => _SvgElementFactoryProvider.createSvgElement_tag("feOffset"); |
+ factory FEOffsetElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feOffset"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1836,7 +1951,9 @@ class FEOffsetElement extends SvgElement implements FilterPrimitiveStandardAttri |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feOffset') && |
+ (new SvgElement.tag('feOffset') is FEOffsetElement); |
@DomName('SVGFEOffsetElement.dx') |
@DocsEditable() |
@@ -1876,7 +1993,6 @@ class FEOffsetElement extends SvgElement implements FilterPrimitiveStandardAttri |
// 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) |
@@ -1887,11 +2003,14 @@ class FEOffsetElement extends SvgElement implements FilterPrimitiveStandardAttri |
@Native("SVGFEPointLightElement") |
class FEPointLightElement extends SvgElement { |
// To suppress missing implicit constructor warnings. |
- factory FEPointLightElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FEPointLightElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFEPointLightElement.SVGFEPointLightElement') |
@DocsEditable() |
- factory FEPointLightElement() => _SvgElementFactoryProvider.createSvgElement_tag("fePointLight"); |
+ factory FEPointLightElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("fePointLight"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1900,7 +2019,9 @@ class FEPointLightElement extends SvgElement { |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('fePointLight') && |
+ (new SvgElement.tag('fePointLight') is FEPointLightElement); |
@DomName('SVGFEPointLightElement.x') |
@DocsEditable() |
@@ -1918,7 +2039,6 @@ class FEPointLightElement extends SvgElement { |
// 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) |
@@ -1927,13 +2047,17 @@ class FEPointLightElement extends SvgElement { |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Unstable() |
@Native("SVGFESpecularLightingElement") |
-class FESpecularLightingElement extends SvgElement implements FilterPrimitiveStandardAttributes { |
+class FESpecularLightingElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory FESpecularLightingElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FESpecularLightingElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFESpecularLightingElement.SVGFESpecularLightingElement') |
@DocsEditable() |
- factory FESpecularLightingElement() => _SvgElementFactoryProvider.createSvgElement_tag("feSpecularLighting"); |
+ factory FESpecularLightingElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feSpecularLighting"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -1942,7 +2066,9 @@ class FESpecularLightingElement extends SvgElement implements FilterPrimitiveSta |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feSpecularLighting') && |
+ (new SvgElement.tag('feSpecularLighting') is FESpecularLightingElement); |
@DomName('SVGFESpecularLightingElement.in1') |
@DocsEditable() |
@@ -1996,7 +2122,6 @@ class FESpecularLightingElement extends SvgElement implements FilterPrimitiveSta |
// 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) |
@@ -2007,11 +2132,14 @@ class FESpecularLightingElement extends SvgElement implements FilterPrimitiveSta |
@Native("SVGFESpotLightElement") |
class FESpotLightElement extends SvgElement { |
// To suppress missing implicit constructor warnings. |
- factory FESpotLightElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FESpotLightElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFESpotLightElement.SVGFESpotLightElement') |
@DocsEditable() |
- factory FESpotLightElement() => _SvgElementFactoryProvider.createSvgElement_tag("feSpotLight"); |
+ factory FESpotLightElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feSpotLight"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -2020,7 +2148,9 @@ class FESpotLightElement extends SvgElement { |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feSpotLight') && |
+ (new SvgElement.tag('feSpotLight') is FESpotLightElement); |
@DomName('SVGFESpotLightElement.limitingConeAngle') |
@DocsEditable() |
@@ -2058,7 +2188,6 @@ class FESpotLightElement extends SvgElement { |
// 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) |
@@ -2067,13 +2196,17 @@ class FESpotLightElement extends SvgElement { |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Unstable() |
@Native("SVGFETileElement") |
-class FETileElement extends SvgElement implements FilterPrimitiveStandardAttributes { |
+class FETileElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory FETileElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FETileElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFETileElement.SVGFETileElement') |
@DocsEditable() |
- factory FETileElement() => _SvgElementFactoryProvider.createSvgElement_tag("feTile"); |
+ factory FETileElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feTile"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -2082,7 +2215,9 @@ class FETileElement extends SvgElement implements FilterPrimitiveStandardAttribu |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feTile') && |
+ (new SvgElement.tag('feTile') is FETileElement); |
@DomName('SVGFETileElement.in1') |
@DocsEditable() |
@@ -2114,7 +2249,6 @@ class FETileElement extends SvgElement implements FilterPrimitiveStandardAttribu |
// 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) |
@@ -2123,13 +2257,17 @@ class FETileElement extends SvgElement implements FilterPrimitiveStandardAttribu |
@SupportedBrowser(SupportedBrowser.SAFARI) |
@Unstable() |
@Native("SVGFETurbulenceElement") |
-class FETurbulenceElement extends SvgElement implements FilterPrimitiveStandardAttributes { |
+class FETurbulenceElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory FETurbulenceElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FETurbulenceElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFETurbulenceElement.SVGFETurbulenceElement') |
@DocsEditable() |
- factory FETurbulenceElement() => _SvgElementFactoryProvider.createSvgElement_tag("feTurbulence"); |
+ factory FETurbulenceElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("feTurbulence"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -2138,7 +2276,9 @@ class FETurbulenceElement extends SvgElement implements FilterPrimitiveStandardA |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('feTurbulence') && |
+ (new SvgElement.tag('feTurbulence') is FETurbulenceElement); |
@DomName('SVGFETurbulenceElement.SVG_STITCHTYPE_NOSTITCH') |
@DocsEditable() |
@@ -2214,7 +2354,6 @@ class FETurbulenceElement extends SvgElement implements FilterPrimitiveStandardA |
// 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) |
@@ -2225,11 +2364,14 @@ class FETurbulenceElement extends SvgElement implements FilterPrimitiveStandardA |
@Native("SVGFilterElement") |
class FilterElement extends SvgElement implements UriReference { |
// To suppress missing implicit constructor warnings. |
- factory FilterElement._() { throw new UnsupportedError("Not supported"); } |
+ factory FilterElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGFilterElement.SVGFilterElement') |
@DocsEditable() |
- factory FilterElement() => _SvgElementFactoryProvider.createSvgElement_tag("filter"); |
+ factory FilterElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("filter"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -2238,7 +2380,9 @@ class FilterElement extends SvgElement implements UriReference { |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('filter') && |
+ (new SvgElement.tag('filter') is FilterElement); |
@DomName('SVGFilterElement.filterUnits') |
@DocsEditable() |
@@ -2274,13 +2418,14 @@ class FilterElement extends SvgElement implements UriReference { |
// 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"); } |
+ factory FilterPrimitiveStandardAttributes._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
final AnimatedLength height; |
@@ -2296,13 +2441,14 @@ abstract class FilterPrimitiveStandardAttributes extends Interceptor { |
// 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"); } |
+ factory FitToViewBox._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
final AnimatedPreserveAspectRatio preserveAspectRatio; |
@@ -2312,7 +2458,6 @@ abstract class FitToViewBox extends Interceptor { |
// 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) |
@@ -2322,11 +2467,14 @@ abstract class FitToViewBox extends Interceptor { |
@Native("SVGForeignObjectElement") |
class ForeignObjectElement extends GraphicsElement { |
// To suppress missing implicit constructor warnings. |
- factory ForeignObjectElement._() { throw new UnsupportedError("Not supported"); } |
+ factory ForeignObjectElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGForeignObjectElement.SVGForeignObjectElement') |
@DocsEditable() |
- factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_tag("foreignObject"); |
+ factory ForeignObjectElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("foreignObject"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -2335,7 +2483,9 @@ class ForeignObjectElement extends GraphicsElement { |
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); |
+ static bool get supported => |
+ SvgElement.isTagSupported('foreignObject') && |
+ (new SvgElement.tag('foreignObject') is ForeignObjectElement); |
@DomName('SVGForeignObjectElement.height') |
@DocsEditable() |
@@ -2357,14 +2507,15 @@ class ForeignObjectElement extends GraphicsElement { |
// 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"); } |
+ factory GElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGGElement.SVGGElement') |
@DocsEditable() |
@@ -2380,14 +2531,15 @@ class GElement extends GraphicsElement { |
// 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"); } |
+ factory GeometryElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -2398,25 +2550,26 @@ class GeometryElement extends GraphicsElement { |
@DomName('SVGGeometryElement.isPointInFill') |
@DocsEditable() |
@Experimental() // untriaged |
- bool isPointInFill(Point point) native; |
+ bool isPointInFill(Point point) native ; |
@DomName('SVGGeometryElement.isPointInStroke') |
@DocsEditable() |
@Experimental() // untriaged |
- bool isPointInStroke(Point point) native; |
+ 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"); } |
+ factory GraphicsElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -2442,24 +2595,24 @@ class GraphicsElement extends SvgElement implements Tests { |
@DomName('SVGGraphicsElement.getBBox') |
@DocsEditable() |
@Experimental() // untriaged |
- Rect getBBox() native; |
+ Rect getBBox() native ; |
@JSName('getCTM') |
@DomName('SVGGraphicsElement.getCTM') |
@DocsEditable() |
@Experimental() // untriaged |
- Matrix getCtm() native; |
+ Matrix getCtm() native ; |
@JSName('getScreenCTM') |
@DomName('SVGGraphicsElement.getScreenCTM') |
@DocsEditable() |
@Experimental() // untriaged |
- Matrix getScreenCtm() native; |
+ Matrix getScreenCtm() native ; |
@DomName('SVGGraphicsElement.getTransformToElement') |
@DocsEditable() |
@Experimental() // untriaged |
- Matrix getTransformToElement(SvgElement element) native; |
+ Matrix getTransformToElement(SvgElement element) native ; |
// From SVGTests |
@@ -2481,24 +2634,26 @@ class GraphicsElement extends SvgElement implements Tests { |
@DomName('SVGGraphicsElement.hasExtension') |
@DocsEditable() |
@Experimental() // untriaged |
- bool hasExtension(String extension) native; |
+ 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"); } |
+ factory ImageElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGImageElement.SVGImageElement') |
@DocsEditable() |
- factory ImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("image"); |
+ factory ImageElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("image"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -2536,14 +2691,15 @@ class ImageElement extends GraphicsElement implements UriReference { |
// 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"); } |
+ factory Length._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGLength.SVG_LENGTHTYPE_CM') |
@DocsEditable() |
@@ -2607,24 +2763,27 @@ class Length extends Interceptor { |
@DomName('SVGLength.convertToSpecifiedUnits') |
@DocsEditable() |
- void convertToSpecifiedUnits(int unitType) native; |
+ void convertToSpecifiedUnits(int unitType) native ; |
@DomName('SVGLength.newValueSpecifiedUnits') |
@DocsEditable() |
- void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; |
+ 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> { |
+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"); } |
+ factory LengthList._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGLengthList.length') |
@DocsEditable() |
@@ -2635,19 +2794,18 @@ class LengthList extends Interceptor with ListMixin<Length>, ImmutableListMixin< |
@DocsEditable() |
final int numberOfItems; |
- Length operator[](int index) { |
- if (JS("bool", "# >>> 0 !== # || # >= #", index, |
- index, index, length)) |
+ 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) { |
+ |
+ 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."); |
} |
@@ -2682,52 +2840,54 @@ class LengthList extends Interceptor with ListMixin<Length>, ImmutableListMixin< |
@DomName('SVGLengthList.__setter__') |
@DocsEditable() |
@Experimental() // untriaged |
- void __setter__(int index, Length newItem) native; |
+ void __setter__(int index, Length newItem) native ; |
@DomName('SVGLengthList.appendItem') |
@DocsEditable() |
- Length appendItem(Length newItem) native; |
+ Length appendItem(Length newItem) native ; |
@DomName('SVGLengthList.clear') |
@DocsEditable() |
- void clear() native; |
+ void clear() native ; |
@DomName('SVGLengthList.getItem') |
@DocsEditable() |
- Length getItem(int index) native; |
+ Length getItem(int index) native ; |
@DomName('SVGLengthList.initialize') |
@DocsEditable() |
- Length initialize(Length newItem) native; |
+ Length initialize(Length newItem) native ; |
@DomName('SVGLengthList.insertItemBefore') |
@DocsEditable() |
- Length insertItemBefore(Length newItem, int index) native; |
+ Length insertItemBefore(Length newItem, int index) native ; |
@DomName('SVGLengthList.removeItem') |
@DocsEditable() |
- Length removeItem(int index) native; |
+ Length removeItem(int index) native ; |
@DomName('SVGLengthList.replaceItem') |
@DocsEditable() |
- Length replaceItem(Length newItem, int index) native; |
+ 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"); } |
+ factory LineElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGLineElement.SVGLineElement') |
@DocsEditable() |
- factory LineElement() => _SvgElementFactoryProvider.createSvgElement_tag("line"); |
+ factory LineElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("line"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -2755,18 +2915,20 @@ class LineElement extends GeometryElement { |
// 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"); } |
+ factory LinearGradientElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGLinearGradientElement.SVGLinearGradientElement') |
@DocsEditable() |
- factory LinearGradientElement() => _SvgElementFactoryProvider.createSvgElement_tag("linearGradient"); |
+ factory LinearGradientElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("linearGradient"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -2794,18 +2956,20 @@ class LinearGradientElement extends _GradientElement { |
// 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"); } |
+ factory MarkerElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGMarkerElement.SVGMarkerElement') |
@DocsEditable() |
- factory MarkerElement() => _SvgElementFactoryProvider.createSvgElement_tag("marker"); |
+ factory MarkerElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("marker"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -2867,11 +3031,11 @@ class MarkerElement extends SvgElement implements FitToViewBox { |
@DomName('SVGMarkerElement.setOrientToAngle') |
@DocsEditable() |
- void setOrientToAngle(Angle angle) native; |
+ void setOrientToAngle(Angle angle) native ; |
@DomName('SVGMarkerElement.setOrientToAuto') |
@DocsEditable() |
- void setOrientToAuto() native; |
+ void setOrientToAuto() native ; |
// From SVGFitToViewBox |
@@ -2887,18 +3051,20 @@ class MarkerElement extends SvgElement implements FitToViewBox { |
// 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. |
- factory MaskElement._() { throw new UnsupportedError("Not supported"); } |
+ factory MaskElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGMaskElement.SVGMaskElement') |
@DocsEditable() |
- factory MaskElement() => _SvgElementFactoryProvider.createSvgElement_tag("mask"); |
+ factory MaskElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("mask"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -2946,20 +3112,21 @@ class MaskElement extends SvgElement implements Tests { |
@DomName('SVGMaskElement.hasExtension') |
@DocsEditable() |
- bool hasExtension(String extension) native; |
+ 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('SVGMatrix') |
@Unstable() |
@Native("SVGMatrix") |
class Matrix extends Interceptor { |
// To suppress missing implicit constructor warnings. |
- factory Matrix._() { throw new UnsupportedError("Not supported"); } |
+ factory Matrix._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGMatrix.a') |
@DocsEditable() |
@@ -2987,60 +3154,61 @@ class Matrix extends Interceptor { |
@DomName('SVGMatrix.flipX') |
@DocsEditable() |
- Matrix flipX() native; |
+ Matrix flipX() native ; |
@DomName('SVGMatrix.flipY') |
@DocsEditable() |
- Matrix flipY() native; |
+ Matrix flipY() native ; |
@DomName('SVGMatrix.inverse') |
@DocsEditable() |
- Matrix inverse() native; |
+ Matrix inverse() native ; |
@DomName('SVGMatrix.multiply') |
@DocsEditable() |
- Matrix multiply(Matrix secondMatrix) native; |
+ Matrix multiply(Matrix secondMatrix) native ; |
@DomName('SVGMatrix.rotate') |
@DocsEditable() |
- Matrix rotate(num angle) native; |
+ Matrix rotate(num angle) native ; |
@DomName('SVGMatrix.rotateFromVector') |
@DocsEditable() |
- Matrix rotateFromVector(num x, num y) native; |
+ Matrix rotateFromVector(num x, num y) native ; |
@DomName('SVGMatrix.scale') |
@DocsEditable() |
- Matrix scale(num scaleFactor) native; |
+ Matrix scale(num scaleFactor) native ; |
@DomName('SVGMatrix.scaleNonUniform') |
@DocsEditable() |
- Matrix scaleNonUniform(num scaleFactorX, num scaleFactorY) native; |
+ Matrix scaleNonUniform(num scaleFactorX, num scaleFactorY) native ; |
@DomName('SVGMatrix.skewX') |
@DocsEditable() |
- Matrix skewX(num angle) native; |
+ Matrix skewX(num angle) native ; |
@DomName('SVGMatrix.skewY') |
@DocsEditable() |
- Matrix skewY(num angle) native; |
+ Matrix skewY(num angle) native ; |
@DomName('SVGMatrix.translate') |
@DocsEditable() |
- Matrix translate(num x, num y) native; |
+ Matrix translate(num x, num y) 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('SVGMetadataElement') |
@Unstable() |
@Native("SVGMetadataElement") |
class MetadataElement extends SvgElement { |
// To suppress missing implicit constructor warnings. |
- factory MetadataElement._() { throw new UnsupportedError("Not supported"); } |
+ factory MetadataElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -3052,14 +3220,15 @@ class MetadataElement extends SvgElement { |
// 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('SVGNumber') |
@Unstable() |
@Native("SVGNumber") |
class Number extends Interceptor { |
// To suppress missing implicit constructor warnings. |
- factory Number._() { throw new UnsupportedError("Not supported"); } |
+ factory Number._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGNumber.value') |
@DocsEditable() |
@@ -3069,14 +3238,17 @@ class Number extends Interceptor { |
// 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('SVGNumberList') |
@Unstable() |
@Native("SVGNumberList") |
-class NumberList extends Interceptor with ListMixin<Number>, ImmutableListMixin<Number> implements List<Number> { |
+class NumberList extends Interceptor |
+ with ListMixin<Number>, ImmutableListMixin<Number> |
+ implements List<Number> { |
// To suppress missing implicit constructor warnings. |
- factory NumberList._() { throw new UnsupportedError("Not supported"); } |
+ factory NumberList._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGNumberList.length') |
@DocsEditable() |
@@ -3087,19 +3259,18 @@ class NumberList extends Interceptor with ListMixin<Number>, ImmutableListMixin< |
@DocsEditable() |
final int numberOfItems; |
- Number operator[](int index) { |
- if (JS("bool", "# >>> 0 !== # || # >= #", index, |
- index, index, length)) |
+ Number 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, Number value) { |
+ |
+ void operator []=(int index, Number value) { |
throw new UnsupportedError("Cannot assign element of immutable List."); |
} |
// -- start List<Number> mixins. |
// Number is the element type. |
- |
set length(int value) { |
throw new UnsupportedError("Cannot resize immutable List."); |
} |
@@ -3134,52 +3305,54 @@ class NumberList extends Interceptor with ListMixin<Number>, ImmutableListMixin< |
@DomName('SVGNumberList.__setter__') |
@DocsEditable() |
@Experimental() // untriaged |
- void __setter__(int index, Number newItem) native; |
+ void __setter__(int index, Number newItem) native ; |
@DomName('SVGNumberList.appendItem') |
@DocsEditable() |
- Number appendItem(Number newItem) native; |
+ Number appendItem(Number newItem) native ; |
@DomName('SVGNumberList.clear') |
@DocsEditable() |
- void clear() native; |
+ void clear() native ; |
@DomName('SVGNumberList.getItem') |
@DocsEditable() |
- Number getItem(int index) native; |
+ Number getItem(int index) native ; |
@DomName('SVGNumberList.initialize') |
@DocsEditable() |
- Number initialize(Number newItem) native; |
+ Number initialize(Number newItem) native ; |
@DomName('SVGNumberList.insertItemBefore') |
@DocsEditable() |
- Number insertItemBefore(Number newItem, int index) native; |
+ Number insertItemBefore(Number newItem, int index) native ; |
@DomName('SVGNumberList.removeItem') |
@DocsEditable() |
- Number removeItem(int index) native; |
+ Number removeItem(int index) native ; |
@DomName('SVGNumberList.replaceItem') |
@DocsEditable() |
- Number replaceItem(Number newItem, int index) native; |
+ Number replaceItem(Number 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('SVGPathElement') |
@Unstable() |
@Native("SVGPathElement") |
class PathElement extends GeometryElement { |
// To suppress missing implicit constructor warnings. |
- factory PathElement._() { throw new UnsupportedError("Not supported"); } |
+ factory PathElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathElement.SVGPathElement') |
@DocsEditable() |
- factory PathElement() => _SvgElementFactoryProvider.createSvgElement_tag("path"); |
+ factory PathElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("path"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -3210,122 +3383,133 @@ class PathElement extends GeometryElement { |
@JSName('createSVGPathSegArcAbs') |
@DomName('SVGPathElement.createSVGPathSegArcAbs') |
@DocsEditable() |
- PathSegArcAbs createSvgPathSegArcAbs(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag) native; |
+ PathSegArcAbs createSvgPathSegArcAbs(num x, num y, num r1, num r2, num angle, |
+ bool largeArcFlag, bool sweepFlag) native ; |
@JSName('createSVGPathSegArcRel') |
@DomName('SVGPathElement.createSVGPathSegArcRel') |
@DocsEditable() |
- PathSegArcRel createSvgPathSegArcRel(num x, num y, num r1, num r2, num angle, bool largeArcFlag, bool sweepFlag) native; |
+ PathSegArcRel createSvgPathSegArcRel(num x, num y, num r1, num r2, num angle, |
+ bool largeArcFlag, bool sweepFlag) native ; |
@JSName('createSVGPathSegClosePath') |
@DomName('SVGPathElement.createSVGPathSegClosePath') |
@DocsEditable() |
- PathSegClosePath createSvgPathSegClosePath() native; |
+ PathSegClosePath createSvgPathSegClosePath() native ; |
@JSName('createSVGPathSegCurvetoCubicAbs') |
@DomName('SVGPathElement.createSVGPathSegCurvetoCubicAbs') |
@DocsEditable() |
- PathSegCurvetoCubicAbs createSvgPathSegCurvetoCubicAbs(num x, num y, num x1, num y1, num x2, num y2) native; |
+ PathSegCurvetoCubicAbs createSvgPathSegCurvetoCubicAbs( |
+ num x, num y, num x1, num y1, num x2, num y2) native ; |
@JSName('createSVGPathSegCurvetoCubicRel') |
@DomName('SVGPathElement.createSVGPathSegCurvetoCubicRel') |
@DocsEditable() |
- PathSegCurvetoCubicRel createSvgPathSegCurvetoCubicRel(num x, num y, num x1, num y1, num x2, num y2) native; |
+ PathSegCurvetoCubicRel createSvgPathSegCurvetoCubicRel( |
+ num x, num y, num x1, num y1, num x2, num y2) native ; |
@JSName('createSVGPathSegCurvetoCubicSmoothAbs') |
@DomName('SVGPathElement.createSVGPathSegCurvetoCubicSmoothAbs') |
@DocsEditable() |
- PathSegCurvetoCubicSmoothAbs createSvgPathSegCurvetoCubicSmoothAbs(num x, num y, num x2, num y2) native; |
+ PathSegCurvetoCubicSmoothAbs createSvgPathSegCurvetoCubicSmoothAbs( |
+ num x, num y, num x2, num y2) native ; |
@JSName('createSVGPathSegCurvetoCubicSmoothRel') |
@DomName('SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel') |
@DocsEditable() |
- PathSegCurvetoCubicSmoothRel createSvgPathSegCurvetoCubicSmoothRel(num x, num y, num x2, num y2) native; |
+ PathSegCurvetoCubicSmoothRel createSvgPathSegCurvetoCubicSmoothRel( |
+ num x, num y, num x2, num y2) native ; |
@JSName('createSVGPathSegCurvetoQuadraticAbs') |
@DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticAbs') |
@DocsEditable() |
- PathSegCurvetoQuadraticAbs createSvgPathSegCurvetoQuadraticAbs(num x, num y, num x1, num y1) native; |
+ PathSegCurvetoQuadraticAbs createSvgPathSegCurvetoQuadraticAbs( |
+ num x, num y, num x1, num y1) native ; |
@JSName('createSVGPathSegCurvetoQuadraticRel') |
@DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticRel') |
@DocsEditable() |
- PathSegCurvetoQuadraticRel createSvgPathSegCurvetoQuadraticRel(num x, num y, num x1, num y1) native; |
+ PathSegCurvetoQuadraticRel createSvgPathSegCurvetoQuadraticRel( |
+ num x, num y, num x1, num y1) native ; |
@JSName('createSVGPathSegCurvetoQuadraticSmoothAbs') |
@DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothAbs') |
@DocsEditable() |
- PathSegCurvetoQuadraticSmoothAbs createSvgPathSegCurvetoQuadraticSmoothAbs(num x, num y) native; |
+ PathSegCurvetoQuadraticSmoothAbs createSvgPathSegCurvetoQuadraticSmoothAbs( |
+ num x, num y) native ; |
@JSName('createSVGPathSegCurvetoQuadraticSmoothRel') |
@DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothRel') |
@DocsEditable() |
- PathSegCurvetoQuadraticSmoothRel createSvgPathSegCurvetoQuadraticSmoothRel(num x, num y) native; |
+ PathSegCurvetoQuadraticSmoothRel createSvgPathSegCurvetoQuadraticSmoothRel( |
+ num x, num y) native ; |
@JSName('createSVGPathSegLinetoAbs') |
@DomName('SVGPathElement.createSVGPathSegLinetoAbs') |
@DocsEditable() |
- PathSegLinetoAbs createSvgPathSegLinetoAbs(num x, num y) native; |
+ PathSegLinetoAbs createSvgPathSegLinetoAbs(num x, num y) native ; |
@JSName('createSVGPathSegLinetoHorizontalAbs') |
@DomName('SVGPathElement.createSVGPathSegLinetoHorizontalAbs') |
@DocsEditable() |
- PathSegLinetoHorizontalAbs createSvgPathSegLinetoHorizontalAbs(num x) native; |
+ PathSegLinetoHorizontalAbs createSvgPathSegLinetoHorizontalAbs(num x) native ; |
@JSName('createSVGPathSegLinetoHorizontalRel') |
@DomName('SVGPathElement.createSVGPathSegLinetoHorizontalRel') |
@DocsEditable() |
- PathSegLinetoHorizontalRel createSvgPathSegLinetoHorizontalRel(num x) native; |
+ PathSegLinetoHorizontalRel createSvgPathSegLinetoHorizontalRel(num x) native ; |
@JSName('createSVGPathSegLinetoRel') |
@DomName('SVGPathElement.createSVGPathSegLinetoRel') |
@DocsEditable() |
- PathSegLinetoRel createSvgPathSegLinetoRel(num x, num y) native; |
+ PathSegLinetoRel createSvgPathSegLinetoRel(num x, num y) native ; |
@JSName('createSVGPathSegLinetoVerticalAbs') |
@DomName('SVGPathElement.createSVGPathSegLinetoVerticalAbs') |
@DocsEditable() |
- PathSegLinetoVerticalAbs createSvgPathSegLinetoVerticalAbs(num y) native; |
+ PathSegLinetoVerticalAbs createSvgPathSegLinetoVerticalAbs(num y) native ; |
@JSName('createSVGPathSegLinetoVerticalRel') |
@DomName('SVGPathElement.createSVGPathSegLinetoVerticalRel') |
@DocsEditable() |
- PathSegLinetoVerticalRel createSvgPathSegLinetoVerticalRel(num y) native; |
+ PathSegLinetoVerticalRel createSvgPathSegLinetoVerticalRel(num y) native ; |
@JSName('createSVGPathSegMovetoAbs') |
@DomName('SVGPathElement.createSVGPathSegMovetoAbs') |
@DocsEditable() |
- PathSegMovetoAbs createSvgPathSegMovetoAbs(num x, num y) native; |
+ PathSegMovetoAbs createSvgPathSegMovetoAbs(num x, num y) native ; |
@JSName('createSVGPathSegMovetoRel') |
@DomName('SVGPathElement.createSVGPathSegMovetoRel') |
@DocsEditable() |
- PathSegMovetoRel createSvgPathSegMovetoRel(num x, num y) native; |
+ PathSegMovetoRel createSvgPathSegMovetoRel(num x, num y) native ; |
@DomName('SVGPathElement.getPathSegAtLength') |
@DocsEditable() |
- int getPathSegAtLength(num distance) native; |
+ int getPathSegAtLength(num distance) native ; |
@DomName('SVGPathElement.getPointAtLength') |
@DocsEditable() |
- Point getPointAtLength(num distance) native; |
+ Point getPointAtLength(num distance) native ; |
@DomName('SVGPathElement.getTotalLength') |
@DocsEditable() |
- double getTotalLength() native; |
+ double getTotalLength() 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('SVGPathSeg') |
@Unstable() |
@Native("SVGPathSeg") |
class PathSeg extends Interceptor { |
// To suppress missing implicit constructor warnings. |
- factory PathSeg._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSeg._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSeg.PATHSEG_ARC_ABS') |
@DocsEditable() |
@@ -3419,14 +3603,15 @@ class PathSeg extends Interceptor { |
// 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('SVGPathSegArcAbs') |
@Unstable() |
@Native("SVGPathSegArcAbs") |
class PathSegArcAbs extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegArcAbs._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegArcAbs._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegArcAbs.angle') |
@DocsEditable() |
@@ -3460,14 +3645,15 @@ class PathSegArcAbs extends PathSeg { |
// 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('SVGPathSegArcRel') |
@Unstable() |
@Native("SVGPathSegArcRel") |
class PathSegArcRel extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegArcRel._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegArcRel._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegArcRel.angle') |
@DocsEditable() |
@@ -3501,27 +3687,29 @@ class PathSegArcRel extends PathSeg { |
// 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('SVGPathSegClosePath') |
@Unstable() |
@Native("SVGPathSegClosePath") |
class PathSegClosePath extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegClosePath._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegClosePath._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
} |
// 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('SVGPathSegCurvetoCubicAbs') |
@Unstable() |
@Native("SVGPathSegCurvetoCubicAbs") |
class PathSegCurvetoCubicAbs extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegCurvetoCubicAbs._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegCurvetoCubicAbs._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegCurvetoCubicAbs.x') |
@DocsEditable() |
@@ -3551,14 +3739,15 @@ class PathSegCurvetoCubicAbs extends PathSeg { |
// 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('SVGPathSegCurvetoCubicRel') |
@Unstable() |
@Native("SVGPathSegCurvetoCubicRel") |
class PathSegCurvetoCubicRel extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegCurvetoCubicRel._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegCurvetoCubicRel._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegCurvetoCubicRel.x') |
@DocsEditable() |
@@ -3588,14 +3777,15 @@ class PathSegCurvetoCubicRel extends PathSeg { |
// 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('SVGPathSegCurvetoCubicSmoothAbs') |
@Unstable() |
@Native("SVGPathSegCurvetoCubicSmoothAbs") |
class PathSegCurvetoCubicSmoothAbs extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegCurvetoCubicSmoothAbs._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegCurvetoCubicSmoothAbs._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegCurvetoCubicSmoothAbs.x') |
@DocsEditable() |
@@ -3617,14 +3807,15 @@ class PathSegCurvetoCubicSmoothAbs extends PathSeg { |
// 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('SVGPathSegCurvetoCubicSmoothRel') |
@Unstable() |
@Native("SVGPathSegCurvetoCubicSmoothRel") |
class PathSegCurvetoCubicSmoothRel extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegCurvetoCubicSmoothRel._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegCurvetoCubicSmoothRel._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegCurvetoCubicSmoothRel.x') |
@DocsEditable() |
@@ -3646,14 +3837,15 @@ class PathSegCurvetoCubicSmoothRel extends PathSeg { |
// 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('SVGPathSegCurvetoQuadraticAbs') |
@Unstable() |
@Native("SVGPathSegCurvetoQuadraticAbs") |
class PathSegCurvetoQuadraticAbs extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegCurvetoQuadraticAbs._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegCurvetoQuadraticAbs._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegCurvetoQuadraticAbs.x') |
@DocsEditable() |
@@ -3675,14 +3867,15 @@ class PathSegCurvetoQuadraticAbs extends PathSeg { |
// 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('SVGPathSegCurvetoQuadraticRel') |
@Unstable() |
@Native("SVGPathSegCurvetoQuadraticRel") |
class PathSegCurvetoQuadraticRel extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegCurvetoQuadraticRel._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegCurvetoQuadraticRel._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegCurvetoQuadraticRel.x') |
@DocsEditable() |
@@ -3704,14 +3897,15 @@ class PathSegCurvetoQuadraticRel extends PathSeg { |
// 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('SVGPathSegCurvetoQuadraticSmoothAbs') |
@Unstable() |
@Native("SVGPathSegCurvetoQuadraticSmoothAbs") |
class PathSegCurvetoQuadraticSmoothAbs extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegCurvetoQuadraticSmoothAbs._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegCurvetoQuadraticSmoothAbs._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegCurvetoQuadraticSmoothAbs.x') |
@DocsEditable() |
@@ -3725,14 +3919,15 @@ class PathSegCurvetoQuadraticSmoothAbs extends PathSeg { |
// 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('SVGPathSegCurvetoQuadraticSmoothRel') |
@Unstable() |
@Native("SVGPathSegCurvetoQuadraticSmoothRel") |
class PathSegCurvetoQuadraticSmoothRel extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegCurvetoQuadraticSmoothRel._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegCurvetoQuadraticSmoothRel._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegCurvetoQuadraticSmoothRel.x') |
@DocsEditable() |
@@ -3746,14 +3941,15 @@ class PathSegCurvetoQuadraticSmoothRel extends PathSeg { |
// 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('SVGPathSegLinetoAbs') |
@Unstable() |
@Native("SVGPathSegLinetoAbs") |
class PathSegLinetoAbs extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegLinetoAbs._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegLinetoAbs._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegLinetoAbs.x') |
@DocsEditable() |
@@ -3767,14 +3963,15 @@ class PathSegLinetoAbs extends PathSeg { |
// 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('SVGPathSegLinetoHorizontalAbs') |
@Unstable() |
@Native("SVGPathSegLinetoHorizontalAbs") |
class PathSegLinetoHorizontalAbs extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegLinetoHorizontalAbs._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegLinetoHorizontalAbs._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegLinetoHorizontalAbs.x') |
@DocsEditable() |
@@ -3784,14 +3981,15 @@ class PathSegLinetoHorizontalAbs extends PathSeg { |
// 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('SVGPathSegLinetoHorizontalRel') |
@Unstable() |
@Native("SVGPathSegLinetoHorizontalRel") |
class PathSegLinetoHorizontalRel extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegLinetoHorizontalRel._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegLinetoHorizontalRel._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegLinetoHorizontalRel.x') |
@DocsEditable() |
@@ -3801,14 +3999,15 @@ class PathSegLinetoHorizontalRel extends PathSeg { |
// 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('SVGPathSegLinetoRel') |
@Unstable() |
@Native("SVGPathSegLinetoRel") |
class PathSegLinetoRel extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegLinetoRel._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegLinetoRel._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegLinetoRel.x') |
@DocsEditable() |
@@ -3822,14 +4021,15 @@ class PathSegLinetoRel extends PathSeg { |
// 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('SVGPathSegLinetoVerticalAbs') |
@Unstable() |
@Native("SVGPathSegLinetoVerticalAbs") |
class PathSegLinetoVerticalAbs extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegLinetoVerticalAbs._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegLinetoVerticalAbs._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegLinetoVerticalAbs.y') |
@DocsEditable() |
@@ -3839,14 +4039,15 @@ class PathSegLinetoVerticalAbs extends PathSeg { |
// 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('SVGPathSegLinetoVerticalRel') |
@Unstable() |
@Native("SVGPathSegLinetoVerticalRel") |
class PathSegLinetoVerticalRel extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegLinetoVerticalRel._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegLinetoVerticalRel._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegLinetoVerticalRel.y') |
@DocsEditable() |
@@ -3856,14 +4057,17 @@ class PathSegLinetoVerticalRel extends PathSeg { |
// 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('SVGPathSegList') |
@Unstable() |
@Native("SVGPathSegList") |
-class PathSegList extends Interceptor with ListMixin<PathSeg>, ImmutableListMixin<PathSeg> implements List<PathSeg> { |
+class PathSegList extends Interceptor |
+ with ListMixin<PathSeg>, ImmutableListMixin<PathSeg> |
+ implements List<PathSeg> { |
// To suppress missing implicit constructor warnings. |
- factory PathSegList._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegList._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegList.length') |
@DocsEditable() |
@@ -3874,19 +4078,18 @@ class PathSegList extends Interceptor with ListMixin<PathSeg>, ImmutableListMixi |
@DocsEditable() |
final int numberOfItems; |
- PathSeg operator[](int index) { |
- if (JS("bool", "# >>> 0 !== # || # >= #", index, |
- index, index, length)) |
+ PathSeg 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, PathSeg value) { |
+ |
+ void operator []=(int index, PathSeg value) { |
throw new UnsupportedError("Cannot assign element of immutable List."); |
} |
// -- start List<PathSeg> mixins. |
// PathSeg is the element type. |
- |
set length(int value) { |
throw new UnsupportedError("Cannot resize immutable List."); |
} |
@@ -3921,48 +4124,49 @@ class PathSegList extends Interceptor with ListMixin<PathSeg>, ImmutableListMixi |
@DomName('SVGPathSegList.__setter__') |
@DocsEditable() |
@Experimental() // untriaged |
- void __setter__(int index, PathSeg newItem) native; |
+ void __setter__(int index, PathSeg newItem) native ; |
@DomName('SVGPathSegList.appendItem') |
@DocsEditable() |
- PathSeg appendItem(PathSeg newItem) native; |
+ PathSeg appendItem(PathSeg newItem) native ; |
@DomName('SVGPathSegList.clear') |
@DocsEditable() |
- void clear() native; |
+ void clear() native ; |
@DomName('SVGPathSegList.getItem') |
@DocsEditable() |
- PathSeg getItem(int index) native; |
+ PathSeg getItem(int index) native ; |
@DomName('SVGPathSegList.initialize') |
@DocsEditable() |
- PathSeg initialize(PathSeg newItem) native; |
+ PathSeg initialize(PathSeg newItem) native ; |
@DomName('SVGPathSegList.insertItemBefore') |
@DocsEditable() |
- PathSeg insertItemBefore(PathSeg newItem, int index) native; |
+ PathSeg insertItemBefore(PathSeg newItem, int index) native ; |
@DomName('SVGPathSegList.removeItem') |
@DocsEditable() |
- PathSeg removeItem(int index) native; |
+ PathSeg removeItem(int index) native ; |
@DomName('SVGPathSegList.replaceItem') |
@DocsEditable() |
- PathSeg replaceItem(PathSeg newItem, int index) native; |
+ PathSeg replaceItem(PathSeg 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('SVGPathSegMovetoAbs') |
@Unstable() |
@Native("SVGPathSegMovetoAbs") |
class PathSegMovetoAbs extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegMovetoAbs._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegMovetoAbs._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegMovetoAbs.x') |
@DocsEditable() |
@@ -3976,14 +4180,15 @@ class PathSegMovetoAbs extends PathSeg { |
// 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('SVGPathSegMovetoRel') |
@Unstable() |
@Native("SVGPathSegMovetoRel") |
class PathSegMovetoRel extends PathSeg { |
// To suppress missing implicit constructor warnings. |
- factory PathSegMovetoRel._() { throw new UnsupportedError("Not supported"); } |
+ factory PathSegMovetoRel._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPathSegMovetoRel.x') |
@DocsEditable() |
@@ -3997,18 +4202,21 @@ class PathSegMovetoRel extends PathSeg { |
// 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('SVGPatternElement') |
@Unstable() |
@Native("SVGPatternElement") |
-class PatternElement extends SvgElement implements FitToViewBox, UriReference, Tests { |
+class PatternElement extends SvgElement |
+ implements FitToViewBox, UriReference, Tests { |
// To suppress missing implicit constructor warnings. |
- factory PatternElement._() { throw new UnsupportedError("Not supported"); } |
+ factory PatternElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPatternElement.SVGPatternElement') |
@DocsEditable() |
- factory PatternElement() => _SvgElementFactoryProvider.createSvgElement_tag("pattern"); |
+ factory PatternElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("pattern"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -4070,7 +4278,7 @@ class PatternElement extends SvgElement implements FitToViewBox, UriReference, T |
@DomName('SVGPatternElement.hasExtension') |
@DocsEditable() |
- bool hasExtension(String extension) native; |
+ bool hasExtension(String extension) native ; |
// From SVGURIReference |
@@ -4082,14 +4290,15 @@ class PatternElement extends SvgElement implements FitToViewBox, UriReference, T |
// 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('SVGPoint') |
@Unstable() |
@Native("SVGPoint") |
class Point extends Interceptor { |
// To suppress missing implicit constructor warnings. |
- factory Point._() { throw new UnsupportedError("Not supported"); } |
+ factory Point._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPoint.x') |
@DocsEditable() |
@@ -4101,20 +4310,21 @@ class Point extends Interceptor { |
@DomName('SVGPoint.matrixTransform') |
@DocsEditable() |
- Point matrixTransform(Matrix matrix) native; |
+ Point matrixTransform(Matrix matrix) 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('SVGPointList') |
@Unstable() |
@Native("SVGPointList") |
class PointList extends Interceptor { |
// To suppress missing implicit constructor warnings. |
- factory PointList._() { throw new UnsupportedError("Not supported"); } |
+ factory PointList._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPointList.length') |
@DocsEditable() |
@@ -4128,52 +4338,54 @@ class PointList extends Interceptor { |
@DomName('SVGPointList.__setter__') |
@DocsEditable() |
@Experimental() // untriaged |
- void __setter__(int index, Point newItem) native; |
+ void __setter__(int index, Point newItem) native ; |
@DomName('SVGPointList.appendItem') |
@DocsEditable() |
- Point appendItem(Point newItem) native; |
+ Point appendItem(Point newItem) native ; |
@DomName('SVGPointList.clear') |
@DocsEditable() |
- void clear() native; |
+ void clear() native ; |
@DomName('SVGPointList.getItem') |
@DocsEditable() |
- Point getItem(int index) native; |
+ Point getItem(int index) native ; |
@DomName('SVGPointList.initialize') |
@DocsEditable() |
- Point initialize(Point newItem) native; |
+ Point initialize(Point newItem) native ; |
@DomName('SVGPointList.insertItemBefore') |
@DocsEditable() |
- Point insertItemBefore(Point newItem, int index) native; |
+ Point insertItemBefore(Point newItem, int index) native ; |
@DomName('SVGPointList.removeItem') |
@DocsEditable() |
- Point removeItem(int index) native; |
+ Point removeItem(int index) native ; |
@DomName('SVGPointList.replaceItem') |
@DocsEditable() |
- Point replaceItem(Point newItem, int index) native; |
+ Point replaceItem(Point 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('SVGPolygonElement') |
@Unstable() |
@Native("SVGPolygonElement") |
class PolygonElement extends GeometryElement { |
// To suppress missing implicit constructor warnings. |
- factory PolygonElement._() { throw new UnsupportedError("Not supported"); } |
+ factory PolygonElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPolygonElement.SVGPolygonElement') |
@DocsEditable() |
- factory PolygonElement() => _SvgElementFactoryProvider.createSvgElement_tag("polygon"); |
+ factory PolygonElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("polygon"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -4193,18 +4405,20 @@ class PolygonElement extends GeometryElement { |
// 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('SVGPolylineElement') |
@Unstable() |
@Native("SVGPolylineElement") |
class PolylineElement extends GeometryElement { |
// To suppress missing implicit constructor warnings. |
- factory PolylineElement._() { throw new UnsupportedError("Not supported"); } |
+ factory PolylineElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPolylineElement.SVGPolylineElement') |
@DocsEditable() |
- factory PolylineElement() => _SvgElementFactoryProvider.createSvgElement_tag("polyline"); |
+ factory PolylineElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("polyline"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -4224,14 +4438,15 @@ class PolylineElement extends GeometryElement { |
// 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('SVGPreserveAspectRatio') |
@Unstable() |
@Native("SVGPreserveAspectRatio") |
class PreserveAspectRatio extends Interceptor { |
// To suppress missing implicit constructor warnings. |
- factory PreserveAspectRatio._() { throw new UnsupportedError("Not supported"); } |
+ factory PreserveAspectRatio._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGPreserveAspectRatio.SVG_MEETORSLICE_MEET') |
@DocsEditable() |
@@ -4301,18 +4516,20 @@ class PreserveAspectRatio extends Interceptor { |
// 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('SVGRadialGradientElement') |
@Unstable() |
@Native("SVGRadialGradientElement") |
class RadialGradientElement extends _GradientElement { |
// To suppress missing implicit constructor warnings. |
- factory RadialGradientElement._() { throw new UnsupportedError("Not supported"); } |
+ factory RadialGradientElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGRadialGradientElement.SVGRadialGradientElement') |
@DocsEditable() |
- factory RadialGradientElement() => _SvgElementFactoryProvider.createSvgElement_tag("radialGradient"); |
+ factory RadialGradientElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("radialGradient"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -4348,14 +4565,15 @@ class RadialGradientElement extends _GradientElement { |
// 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('SVGRect') |
@Unstable() |
@Native("SVGRect") |
class Rect extends Interceptor { |
// To suppress missing implicit constructor warnings. |
- factory Rect._() { throw new UnsupportedError("Not supported"); } |
+ factory Rect._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGRect.height') |
@DocsEditable() |
@@ -4377,18 +4595,20 @@ class Rect extends Interceptor { |
// 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('SVGRectElement') |
@Unstable() |
@Native("SVGRectElement") |
class RectElement extends GeometryElement { |
// To suppress missing implicit constructor warnings. |
- factory RectElement._() { throw new UnsupportedError("Not supported"); } |
+ factory RectElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGRectElement.SVGRectElement') |
@DocsEditable() |
- factory RectElement() => _SvgElementFactoryProvider.createSvgElement_tag("rect"); |
+ factory RectElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("rect"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -4424,18 +4644,20 @@ class RectElement extends GeometryElement { |
// 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('SVGScriptElement') |
@Unstable() |
@Native("SVGScriptElement") |
class ScriptElement extends SvgElement implements UriReference { |
// To suppress missing implicit constructor warnings. |
- factory ScriptElement._() { throw new UnsupportedError("Not supported"); } |
+ factory ScriptElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGScriptElement.SVGScriptElement') |
@DocsEditable() |
- factory ScriptElement() => _SvgElementFactoryProvider.createSvgElement_tag("script"); |
+ factory ScriptElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("script"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -4457,7 +4679,6 @@ class ScriptElement extends SvgElement implements UriReference { |
// 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('SVGSetElement') |
@SupportedBrowser(SupportedBrowser.CHROME) |
@@ -4467,11 +4688,14 @@ class ScriptElement extends SvgElement implements UriReference { |
@Native("SVGSetElement") |
class SetElement extends AnimationElement { |
// To suppress missing implicit constructor warnings. |
- factory SetElement._() { throw new UnsupportedError("Not supported"); } |
+ factory SetElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGSetElement.SVGSetElement') |
@DocsEditable() |
- factory SetElement() => _SvgElementFactoryProvider.createSvgElement_tag("set"); |
+ factory SetElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("set"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -4480,24 +4704,28 @@ class SetElement extends AnimationElement { |
SetElement.created() : super.created(); |
/// Checks if this type is supported on the current platform. |
- static bool get supported => SvgElement.isTagSupported('set') && (new SvgElement.tag('set') is SetElement); |
+ static bool get supported => |
+ SvgElement.isTagSupported('set') && |
+ (new SvgElement.tag('set') is SetElement); |
} |
// 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('SVGStopElement') |
@Unstable() |
@Native("SVGStopElement") |
class StopElement extends SvgElement { |
// To suppress missing implicit constructor warnings. |
- factory StopElement._() { throw new UnsupportedError("Not supported"); } |
+ factory StopElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGStopElement.SVGStopElement') |
@DocsEditable() |
- factory StopElement() => _SvgElementFactoryProvider.createSvgElement_tag("stop"); |
+ factory StopElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("stop"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -4514,14 +4742,17 @@ class StopElement extends SvgElement { |
// 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('SVGStringList') |
@Unstable() |
@Native("SVGStringList") |
-class StringList extends Interceptor with ListMixin<String>, ImmutableListMixin<String> implements List<String> { |
+class StringList extends Interceptor |
+ with ListMixin<String>, ImmutableListMixin<String> |
+ implements List<String> { |
// To suppress missing implicit constructor warnings. |
- factory StringList._() { throw new UnsupportedError("Not supported"); } |
+ factory StringList._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGStringList.length') |
@DocsEditable() |
@@ -4532,19 +4763,18 @@ class StringList extends Interceptor with ListMixin<String>, ImmutableListMixin< |
@DocsEditable() |
final int numberOfItems; |
- String operator[](int index) { |
- if (JS("bool", "# >>> 0 !== # || # >= #", index, |
- index, index, length)) |
+ String 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, String value) { |
+ |
+ void operator []=(int index, String value) { |
throw new UnsupportedError("Cannot assign element of immutable List."); |
} |
// -- start List<String> mixins. |
// String is the element type. |
- |
set length(int value) { |
throw new UnsupportedError("Cannot resize immutable List."); |
} |
@@ -4579,41 +4809,40 @@ class StringList extends Interceptor with ListMixin<String>, ImmutableListMixin< |
@DomName('SVGStringList.__setter__') |
@DocsEditable() |
@Experimental() // untriaged |
- void __setter__(int index, String newItem) native; |
+ void __setter__(int index, String newItem) native ; |
@DomName('SVGStringList.appendItem') |
@DocsEditable() |
- String appendItem(String newItem) native; |
+ String appendItem(String newItem) native ; |
@DomName('SVGStringList.clear') |
@DocsEditable() |
- void clear() native; |
+ void clear() native ; |
@DomName('SVGStringList.getItem') |
@DocsEditable() |
- String getItem(int index) native; |
+ String getItem(int index) native ; |
@DomName('SVGStringList.initialize') |
@DocsEditable() |
- String initialize(String newItem) native; |
+ String initialize(String newItem) native ; |
@DomName('SVGStringList.insertItemBefore') |
@DocsEditable() |
- String insertItemBefore(String item, int index) native; |
+ String insertItemBefore(String item, int index) native ; |
@DomName('SVGStringList.removeItem') |
@DocsEditable() |
- String removeItem(int index) native; |
+ String removeItem(int index) native ; |
@DomName('SVGStringList.replaceItem') |
@DocsEditable() |
- String replaceItem(String newItem, int index) native; |
+ String replaceItem(String 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('SVGStyleElement') |
// http://www.w3.org/TR/SVG/types.html#InterfaceSVGStylable |
@@ -4621,11 +4850,14 @@ class StringList extends Interceptor with ListMixin<String>, ImmutableListMixin< |
@Native("SVGStyleElement") |
class StyleElement extends SvgElement { |
// To suppress missing implicit constructor warnings. |
- factory StyleElement._() { throw new UnsupportedError("Not supported"); } |
+ factory StyleElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGStyleElement.SVGStyleElement') |
@DocsEditable() |
- factory StyleElement() => _SvgElementFactoryProvider.createSvgElement_tag("style"); |
+ factory StyleElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("style"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -4657,7 +4889,6 @@ class StyleElement extends SvgElement { |
// 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 _AttributeClassSet extends CssClassSetImpl { |
final Element _element; |
@@ -4694,7 +4925,6 @@ class SvgElement extends Element implements GlobalEventHandlers { |
document.createElementNS("http://www.w3.org/2000/svg", tag); |
factory SvgElement.svg(String svg, |
{NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { |
- |
if (validator == null && treeSanitizer == null) { |
validator = new NodeValidatorBuilder.common()..allowSvg(); |
} |
@@ -4706,8 +4936,8 @@ class SvgElement extends Element implements GlobalEventHandlers { |
} else { |
parentElement = new SvgSvgElement(); |
} |
- var fragment = parentElement.createFragment(svg, validator: validator, |
- treeSanitizer: treeSanitizer); |
+ var fragment = parentElement.createFragment(svg, |
+ validator: validator, treeSanitizer: treeSanitizer); |
return fragment.nodes.where((e) => e is SvgElement).single; |
} |
@@ -4741,19 +4971,17 @@ class SvgElement extends Element implements GlobalEventHandlers { |
DocumentFragment createFragment(String svg, |
{NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { |
- |
if (treeSanitizer == null) { |
if (validator == null) { |
- validator = new NodeValidatorBuilder.common() |
- ..allowSvg(); |
+ validator = new NodeValidatorBuilder.common()..allowSvg(); |
} |
treeSanitizer = new NodeTreeSanitizer(validator); |
} |
// We create a fragment which will parse in the HTML parser |
var html = '<svg version="1.1">$svg</svg>'; |
- var fragment = document.body.createFragment(html, |
- treeSanitizer: treeSanitizer); |
+ var fragment = |
+ document.body.createFragment(html, treeSanitizer: treeSanitizer); |
var svgFragment = new DocumentFragment(); |
// The root is the <svg/> element, need to pull out the contents. |
@@ -4772,8 +5000,8 @@ class SvgElement extends Element implements GlobalEventHandlers { |
} |
@DomName('Element.insertAdjacentHTML') |
- void insertAdjacentHtml(String where, String text, {NodeValidator validator, |
- NodeTreeSanitizer treeSanitizer}) { |
+ void insertAdjacentHtml(String where, String text, |
+ {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { |
throw new UnsupportedError("Cannot invoke insertAdjacentHtml on SVG."); |
} |
@@ -4802,267 +5030,321 @@ class SvgElement extends Element implements GlobalEventHandlers { |
} |
// To suppress missing implicit constructor warnings. |
- factory SvgElement._() { throw new UnsupportedError("Not supported"); } |
+ factory SvgElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGElement.abortEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> abortEvent = const EventStreamProvider<Event>('abort'); |
+ static const EventStreamProvider<Event> abortEvent = |
+ const EventStreamProvider<Event>('abort'); |
@DomName('SVGElement.blurEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> blurEvent = const EventStreamProvider<Event>('blur'); |
+ static const EventStreamProvider<Event> blurEvent = |
+ const EventStreamProvider<Event>('blur'); |
@DomName('SVGElement.canplayEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> canPlayEvent = const EventStreamProvider<Event>('canplay'); |
+ static const EventStreamProvider<Event> canPlayEvent = |
+ const EventStreamProvider<Event>('canplay'); |
@DomName('SVGElement.canplaythroughEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> canPlayThroughEvent = const EventStreamProvider<Event>('canplaythrough'); |
+ static const EventStreamProvider<Event> canPlayThroughEvent = |
+ const EventStreamProvider<Event>('canplaythrough'); |
@DomName('SVGElement.changeEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> changeEvent = const EventStreamProvider<Event>('change'); |
+ static const EventStreamProvider<Event> changeEvent = |
+ const EventStreamProvider<Event>('change'); |
@DomName('SVGElement.clickEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> clickEvent = const EventStreamProvider<MouseEvent>('click'); |
+ static const EventStreamProvider<MouseEvent> clickEvent = |
+ const EventStreamProvider<MouseEvent>('click'); |
@DomName('SVGElement.contextmenuEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> contextMenuEvent = const EventStreamProvider<MouseEvent>('contextmenu'); |
+ static const EventStreamProvider<MouseEvent> contextMenuEvent = |
+ const EventStreamProvider<MouseEvent>('contextmenu'); |
@DomName('SVGElement.dblclickEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> doubleClickEvent = const EventStreamProvider<Event>('dblclick'); |
+ static const EventStreamProvider<Event> doubleClickEvent = |
+ const EventStreamProvider<Event>('dblclick'); |
@DomName('SVGElement.dragEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> dragEvent = const EventStreamProvider<MouseEvent>('drag'); |
+ static const EventStreamProvider<MouseEvent> dragEvent = |
+ const EventStreamProvider<MouseEvent>('drag'); |
@DomName('SVGElement.dragendEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> dragEndEvent = const EventStreamProvider<MouseEvent>('dragend'); |
+ static const EventStreamProvider<MouseEvent> dragEndEvent = |
+ const EventStreamProvider<MouseEvent>('dragend'); |
@DomName('SVGElement.dragenterEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> dragEnterEvent = const EventStreamProvider<MouseEvent>('dragenter'); |
+ static const EventStreamProvider<MouseEvent> dragEnterEvent = |
+ const EventStreamProvider<MouseEvent>('dragenter'); |
@DomName('SVGElement.dragleaveEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> dragLeaveEvent = const EventStreamProvider<MouseEvent>('dragleave'); |
+ static const EventStreamProvider<MouseEvent> dragLeaveEvent = |
+ const EventStreamProvider<MouseEvent>('dragleave'); |
@DomName('SVGElement.dragoverEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> dragOverEvent = const EventStreamProvider<MouseEvent>('dragover'); |
+ static const EventStreamProvider<MouseEvent> dragOverEvent = |
+ const EventStreamProvider<MouseEvent>('dragover'); |
@DomName('SVGElement.dragstartEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> dragStartEvent = const EventStreamProvider<MouseEvent>('dragstart'); |
+ static const EventStreamProvider<MouseEvent> dragStartEvent = |
+ const EventStreamProvider<MouseEvent>('dragstart'); |
@DomName('SVGElement.dropEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> dropEvent = const EventStreamProvider<MouseEvent>('drop'); |
+ static const EventStreamProvider<MouseEvent> dropEvent = |
+ const EventStreamProvider<MouseEvent>('drop'); |
@DomName('SVGElement.durationchangeEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> durationChangeEvent = const EventStreamProvider<Event>('durationchange'); |
+ static const EventStreamProvider<Event> durationChangeEvent = |
+ const EventStreamProvider<Event>('durationchange'); |
@DomName('SVGElement.emptiedEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> emptiedEvent = const EventStreamProvider<Event>('emptied'); |
+ static const EventStreamProvider<Event> emptiedEvent = |
+ const EventStreamProvider<Event>('emptied'); |
@DomName('SVGElement.endedEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> endedEvent = const EventStreamProvider<Event>('ended'); |
+ static const EventStreamProvider<Event> endedEvent = |
+ const EventStreamProvider<Event>('ended'); |
@DomName('SVGElement.errorEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> errorEvent = const EventStreamProvider<Event>('error'); |
+ static const EventStreamProvider<Event> errorEvent = |
+ const EventStreamProvider<Event>('error'); |
@DomName('SVGElement.focusEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> focusEvent = const EventStreamProvider<Event>('focus'); |
+ static const EventStreamProvider<Event> focusEvent = |
+ const EventStreamProvider<Event>('focus'); |
@DomName('SVGElement.inputEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> inputEvent = const EventStreamProvider<Event>('input'); |
+ static const EventStreamProvider<Event> inputEvent = |
+ const EventStreamProvider<Event>('input'); |
@DomName('SVGElement.invalidEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> invalidEvent = const EventStreamProvider<Event>('invalid'); |
+ static const EventStreamProvider<Event> invalidEvent = |
+ const EventStreamProvider<Event>('invalid'); |
@DomName('SVGElement.keydownEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<KeyboardEvent> keyDownEvent = const EventStreamProvider<KeyboardEvent>('keydown'); |
+ static const EventStreamProvider<KeyboardEvent> keyDownEvent = |
+ const EventStreamProvider<KeyboardEvent>('keydown'); |
@DomName('SVGElement.keypressEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<KeyboardEvent> keyPressEvent = const EventStreamProvider<KeyboardEvent>('keypress'); |
+ static const EventStreamProvider<KeyboardEvent> keyPressEvent = |
+ const EventStreamProvider<KeyboardEvent>('keypress'); |
@DomName('SVGElement.keyupEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<KeyboardEvent> keyUpEvent = const EventStreamProvider<KeyboardEvent>('keyup'); |
+ static const EventStreamProvider<KeyboardEvent> keyUpEvent = |
+ const EventStreamProvider<KeyboardEvent>('keyup'); |
@DomName('SVGElement.loadEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> loadEvent = const EventStreamProvider<Event>('load'); |
+ static const EventStreamProvider<Event> loadEvent = |
+ const EventStreamProvider<Event>('load'); |
@DomName('SVGElement.loadeddataEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> loadedDataEvent = const EventStreamProvider<Event>('loadeddata'); |
+ static const EventStreamProvider<Event> loadedDataEvent = |
+ const EventStreamProvider<Event>('loadeddata'); |
@DomName('SVGElement.loadedmetadataEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> loadedMetadataEvent = const EventStreamProvider<Event>('loadedmetadata'); |
+ static const EventStreamProvider<Event> loadedMetadataEvent = |
+ const EventStreamProvider<Event>('loadedmetadata'); |
@DomName('SVGElement.mousedownEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> mouseDownEvent = const EventStreamProvider<MouseEvent>('mousedown'); |
+ static const EventStreamProvider<MouseEvent> mouseDownEvent = |
+ const EventStreamProvider<MouseEvent>('mousedown'); |
@DomName('SVGElement.mouseenterEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> mouseEnterEvent = const EventStreamProvider<MouseEvent>('mouseenter'); |
+ static const EventStreamProvider<MouseEvent> mouseEnterEvent = |
+ const EventStreamProvider<MouseEvent>('mouseenter'); |
@DomName('SVGElement.mouseleaveEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> mouseLeaveEvent = const EventStreamProvider<MouseEvent>('mouseleave'); |
+ static const EventStreamProvider<MouseEvent> mouseLeaveEvent = |
+ const EventStreamProvider<MouseEvent>('mouseleave'); |
@DomName('SVGElement.mousemoveEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> mouseMoveEvent = const EventStreamProvider<MouseEvent>('mousemove'); |
+ static const EventStreamProvider<MouseEvent> mouseMoveEvent = |
+ const EventStreamProvider<MouseEvent>('mousemove'); |
@DomName('SVGElement.mouseoutEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> mouseOutEvent = const EventStreamProvider<MouseEvent>('mouseout'); |
+ static const EventStreamProvider<MouseEvent> mouseOutEvent = |
+ const EventStreamProvider<MouseEvent>('mouseout'); |
@DomName('SVGElement.mouseoverEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> mouseOverEvent = const EventStreamProvider<MouseEvent>('mouseover'); |
+ static const EventStreamProvider<MouseEvent> mouseOverEvent = |
+ const EventStreamProvider<MouseEvent>('mouseover'); |
@DomName('SVGElement.mouseupEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<MouseEvent> mouseUpEvent = const EventStreamProvider<MouseEvent>('mouseup'); |
+ static const EventStreamProvider<MouseEvent> mouseUpEvent = |
+ const EventStreamProvider<MouseEvent>('mouseup'); |
@DomName('SVGElement.mousewheelEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<WheelEvent> mouseWheelEvent = const EventStreamProvider<WheelEvent>('mousewheel'); |
+ static const EventStreamProvider<WheelEvent> mouseWheelEvent = |
+ const EventStreamProvider<WheelEvent>('mousewheel'); |
@DomName('SVGElement.pauseEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> pauseEvent = const EventStreamProvider<Event>('pause'); |
+ static const EventStreamProvider<Event> pauseEvent = |
+ const EventStreamProvider<Event>('pause'); |
@DomName('SVGElement.playEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> playEvent = const EventStreamProvider<Event>('play'); |
+ static const EventStreamProvider<Event> playEvent = |
+ const EventStreamProvider<Event>('play'); |
@DomName('SVGElement.playingEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> playingEvent = const EventStreamProvider<Event>('playing'); |
+ static const EventStreamProvider<Event> playingEvent = |
+ const EventStreamProvider<Event>('playing'); |
@DomName('SVGElement.ratechangeEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> rateChangeEvent = const EventStreamProvider<Event>('ratechange'); |
+ static const EventStreamProvider<Event> rateChangeEvent = |
+ const EventStreamProvider<Event>('ratechange'); |
@DomName('SVGElement.resetEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> resetEvent = const EventStreamProvider<Event>('reset'); |
+ static const EventStreamProvider<Event> resetEvent = |
+ const EventStreamProvider<Event>('reset'); |
@DomName('SVGElement.resizeEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> resizeEvent = const EventStreamProvider<Event>('resize'); |
+ static const EventStreamProvider<Event> resizeEvent = |
+ const EventStreamProvider<Event>('resize'); |
@DomName('SVGElement.scrollEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> scrollEvent = const EventStreamProvider<Event>('scroll'); |
+ static const EventStreamProvider<Event> scrollEvent = |
+ const EventStreamProvider<Event>('scroll'); |
@DomName('SVGElement.seekedEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> seekedEvent = const EventStreamProvider<Event>('seeked'); |
+ static const EventStreamProvider<Event> seekedEvent = |
+ const EventStreamProvider<Event>('seeked'); |
@DomName('SVGElement.seekingEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> seekingEvent = const EventStreamProvider<Event>('seeking'); |
+ static const EventStreamProvider<Event> seekingEvent = |
+ const EventStreamProvider<Event>('seeking'); |
@DomName('SVGElement.selectEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> selectEvent = const EventStreamProvider<Event>('select'); |
+ static const EventStreamProvider<Event> selectEvent = |
+ const EventStreamProvider<Event>('select'); |
@DomName('SVGElement.stalledEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> stalledEvent = const EventStreamProvider<Event>('stalled'); |
+ static const EventStreamProvider<Event> stalledEvent = |
+ const EventStreamProvider<Event>('stalled'); |
@DomName('SVGElement.submitEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> submitEvent = const EventStreamProvider<Event>('submit'); |
+ static const EventStreamProvider<Event> submitEvent = |
+ const EventStreamProvider<Event>('submit'); |
@DomName('SVGElement.suspendEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> suspendEvent = const EventStreamProvider<Event>('suspend'); |
+ static const EventStreamProvider<Event> suspendEvent = |
+ const EventStreamProvider<Event>('suspend'); |
@DomName('SVGElement.timeupdateEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> timeUpdateEvent = const EventStreamProvider<Event>('timeupdate'); |
+ static const EventStreamProvider<Event> timeUpdateEvent = |
+ const EventStreamProvider<Event>('timeupdate'); |
@DomName('SVGElement.volumechangeEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> volumeChangeEvent = const EventStreamProvider<Event>('volumechange'); |
+ static const EventStreamProvider<Event> volumeChangeEvent = |
+ const EventStreamProvider<Event>('volumechange'); |
@DomName('SVGElement.waitingEvent') |
@DocsEditable() |
@Experimental() // untriaged |
- static const EventStreamProvider<Event> waitingEvent = const EventStreamProvider<Event>('waiting'); |
+ static const EventStreamProvider<Event> waitingEvent = |
+ const EventStreamProvider<Event>('waiting'); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -5091,12 +5373,12 @@ class SvgElement extends Element implements GlobalEventHandlers { |
@DomName('SVGElement.blur') |
@DocsEditable() |
@Experimental() // untriaged |
- void blur() native; |
+ void blur() native ; |
@DomName('SVGElement.focus') |
@DocsEditable() |
@Experimental() // untriaged |
- void focus() native; |
+ void focus() native ; |
@DomName('SVGElement.onabort') |
@DocsEditable() |
@@ -5116,7 +5398,8 @@ class SvgElement extends Element implements GlobalEventHandlers { |
@DomName('SVGElement.oncanplaythrough') |
@DocsEditable() |
@Experimental() // untriaged |
- ElementStream<Event> get onCanPlayThrough => canPlayThroughEvent.forElement(this); |
+ ElementStream<Event> get onCanPlayThrough => |
+ canPlayThroughEvent.forElement(this); |
@DomName('SVGElement.onchange') |
@DocsEditable() |
@@ -5131,7 +5414,8 @@ class SvgElement extends Element implements GlobalEventHandlers { |
@DomName('SVGElement.oncontextmenu') |
@DocsEditable() |
@Experimental() // untriaged |
- ElementStream<MouseEvent> get onContextMenu => contextMenuEvent.forElement(this); |
+ ElementStream<MouseEvent> get onContextMenu => |
+ contextMenuEvent.forElement(this); |
@DomName('SVGElement.ondblclick') |
@DocsEditable() |
@@ -5176,7 +5460,8 @@ class SvgElement extends Element implements GlobalEventHandlers { |
@DomName('SVGElement.ondurationchange') |
@DocsEditable() |
@Experimental() // untriaged |
- ElementStream<Event> get onDurationChange => durationChangeEvent.forElement(this); |
+ ElementStream<Event> get onDurationChange => |
+ durationChangeEvent.forElement(this); |
@DomName('SVGElement.onemptied') |
@DocsEditable() |
@@ -5236,7 +5521,8 @@ class SvgElement extends Element implements GlobalEventHandlers { |
@DomName('SVGElement.onloadedmetadata') |
@DocsEditable() |
@Experimental() // untriaged |
- ElementStream<Event> get onLoadedMetadata => loadedMetadataEvent.forElement(this); |
+ ElementStream<Event> get onLoadedMetadata => |
+ loadedMetadataEvent.forElement(this); |
@DomName('SVGElement.onmousedown') |
@DocsEditable() |
@@ -5246,12 +5532,14 @@ class SvgElement extends Element implements GlobalEventHandlers { |
@DomName('SVGElement.onmouseenter') |
@DocsEditable() |
@Experimental() // untriaged |
- ElementStream<MouseEvent> get onMouseEnter => mouseEnterEvent.forElement(this); |
+ ElementStream<MouseEvent> get onMouseEnter => |
+ mouseEnterEvent.forElement(this); |
@DomName('SVGElement.onmouseleave') |
@DocsEditable() |
@Experimental() // untriaged |
- ElementStream<MouseEvent> get onMouseLeave => mouseLeaveEvent.forElement(this); |
+ ElementStream<MouseEvent> get onMouseLeave => |
+ mouseLeaveEvent.forElement(this); |
@DomName('SVGElement.onmousemove') |
@DocsEditable() |
@@ -5276,7 +5564,8 @@ class SvgElement extends Element implements GlobalEventHandlers { |
@DomName('SVGElement.onmousewheel') |
@DocsEditable() |
@Experimental() // untriaged |
- ElementStream<WheelEvent> get onMouseWheel => mouseWheelEvent.forElement(this); |
+ ElementStream<WheelEvent> get onMouseWheel => |
+ mouseWheelEvent.forElement(this); |
@DomName('SVGElement.onpause') |
@DocsEditable() |
@@ -5357,17 +5646,16 @@ class SvgElement extends Element implements GlobalEventHandlers { |
@DocsEditable() |
@Experimental() // untriaged |
ElementStream<Event> get onWaiting => waitingEvent.forElement(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. |
- |
@DomName('SVGSVGElement') |
@Unstable() |
@Native("SVGSVGElement") |
-class SvgSvgElement extends GraphicsElement implements FitToViewBox, ZoomAndPan { |
+class SvgSvgElement extends GraphicsElement |
+ implements FitToViewBox, ZoomAndPan { |
factory SvgSvgElement() { |
final el = new SvgElement.tag("svg"); |
// The SVG spec requires the version attribute to match the spec version |
@@ -5376,7 +5664,9 @@ class SvgSvgElement extends GraphicsElement implements FitToViewBox, ZoomAndPan |
} |
// To suppress missing implicit constructor warnings. |
- factory SvgSvgElement._() { throw new UnsupportedError("Not supported"); } |
+ factory SvgSvgElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -5438,107 +5728,108 @@ class SvgSvgElement extends GraphicsElement implements FitToViewBox, ZoomAndPan |
@DomName('SVGSVGElement.animationsPaused') |
@DocsEditable() |
- bool animationsPaused() native; |
+ bool animationsPaused() native ; |
@DomName('SVGSVGElement.checkEnclosure') |
@DocsEditable() |
- bool checkEnclosure(SvgElement element, Rect rect) native; |
+ bool checkEnclosure(SvgElement element, Rect rect) native ; |
@DomName('SVGSVGElement.checkIntersection') |
@DocsEditable() |
- bool checkIntersection(SvgElement element, Rect rect) native; |
+ bool checkIntersection(SvgElement element, Rect rect) native ; |
@JSName('createSVGAngle') |
@DomName('SVGSVGElement.createSVGAngle') |
@DocsEditable() |
- Angle createSvgAngle() native; |
+ Angle createSvgAngle() native ; |
@JSName('createSVGLength') |
@DomName('SVGSVGElement.createSVGLength') |
@DocsEditable() |
- Length createSvgLength() native; |
+ Length createSvgLength() native ; |
@JSName('createSVGMatrix') |
@DomName('SVGSVGElement.createSVGMatrix') |
@DocsEditable() |
- Matrix createSvgMatrix() native; |
+ Matrix createSvgMatrix() native ; |
@JSName('createSVGNumber') |
@DomName('SVGSVGElement.createSVGNumber') |
@DocsEditable() |
- Number createSvgNumber() native; |
+ Number createSvgNumber() native ; |
@JSName('createSVGPoint') |
@DomName('SVGSVGElement.createSVGPoint') |
@DocsEditable() |
- Point createSvgPoint() native; |
+ Point createSvgPoint() native ; |
@JSName('createSVGRect') |
@DomName('SVGSVGElement.createSVGRect') |
@DocsEditable() |
- Rect createSvgRect() native; |
+ Rect createSvgRect() native ; |
@JSName('createSVGTransform') |
@DomName('SVGSVGElement.createSVGTransform') |
@DocsEditable() |
- Transform createSvgTransform() native; |
+ Transform createSvgTransform() native ; |
@JSName('createSVGTransformFromMatrix') |
@DomName('SVGSVGElement.createSVGTransformFromMatrix') |
@DocsEditable() |
- Transform createSvgTransformFromMatrix(Matrix matrix) native; |
+ Transform createSvgTransformFromMatrix(Matrix matrix) native ; |
@DomName('SVGSVGElement.deselectAll') |
@DocsEditable() |
- void deselectAll() native; |
+ void deselectAll() native ; |
@DomName('SVGSVGElement.forceRedraw') |
@DocsEditable() |
- void forceRedraw() native; |
+ void forceRedraw() native ; |
@DomName('SVGSVGElement.getCurrentTime') |
@DocsEditable() |
- double getCurrentTime() native; |
+ double getCurrentTime() native ; |
@DomName('SVGSVGElement.getElementById') |
@DocsEditable() |
- Element getElementById(String elementId) native; |
+ Element getElementById(String elementId) native ; |
@DomName('SVGSVGElement.getEnclosureList') |
@DocsEditable() |
@Returns('NodeList') |
@Creates('NodeList') |
- List<Node> getEnclosureList(Rect rect, SvgElement referenceElement) native; |
+ List<Node> getEnclosureList(Rect rect, SvgElement referenceElement) native ; |
@DomName('SVGSVGElement.getIntersectionList') |
@DocsEditable() |
@Returns('NodeList') |
@Creates('NodeList') |
- List<Node> getIntersectionList(Rect rect, SvgElement referenceElement) native; |
+ List<Node> getIntersectionList(Rect rect, SvgElement referenceElement) |
+ native ; |
@DomName('SVGSVGElement.pauseAnimations') |
@DocsEditable() |
- void pauseAnimations() native; |
+ void pauseAnimations() native ; |
@DomName('SVGSVGElement.setCurrentTime') |
@DocsEditable() |
- void setCurrentTime(num seconds) native; |
+ void setCurrentTime(num seconds) native ; |
@DomName('SVGSVGElement.suspendRedraw') |
@DocsEditable() |
- int suspendRedraw(int maxWaitMilliseconds) native; |
+ int suspendRedraw(int maxWaitMilliseconds) native ; |
@DomName('SVGSVGElement.unpauseAnimations') |
@DocsEditable() |
- void unpauseAnimations() native; |
+ void unpauseAnimations() native ; |
@DomName('SVGSVGElement.unsuspendRedraw') |
@DocsEditable() |
- void unsuspendRedraw(int suspendHandleId) native; |
+ void unsuspendRedraw(int suspendHandleId) native ; |
@DomName('SVGSVGElement.unsuspendRedrawAll') |
@DocsEditable() |
- void unsuspendRedrawAll() native; |
+ void unsuspendRedrawAll() native ; |
// From SVGFitToViewBox |
@@ -5555,24 +5846,25 @@ class SvgSvgElement extends GraphicsElement implements FitToViewBox, ZoomAndPan |
@DomName('SVGSVGElement.zoomAndPan') |
@DocsEditable() |
int zoomAndPan; |
- |
} |
// 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('SVGSwitchElement') |
@Unstable() |
@Native("SVGSwitchElement") |
class SwitchElement extends GraphicsElement { |
// To suppress missing implicit constructor warnings. |
- factory SwitchElement._() { throw new UnsupportedError("Not supported"); } |
+ factory SwitchElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGSwitchElement.SVGSwitchElement') |
@DocsEditable() |
- factory SwitchElement() => _SvgElementFactoryProvider.createSvgElement_tag("switch"); |
+ factory SwitchElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("switch"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -5584,18 +5876,20 @@ class SwitchElement extends GraphicsElement { |
// 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('SVGSymbolElement') |
@Unstable() |
@Native("SVGSymbolElement") |
class SymbolElement extends SvgElement implements FitToViewBox { |
// To suppress missing implicit constructor warnings. |
- factory SymbolElement._() { throw new UnsupportedError("Not supported"); } |
+ factory SymbolElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGSymbolElement.SVGSymbolElement') |
@DocsEditable() |
- factory SymbolElement() => _SvgElementFactoryProvider.createSvgElement_tag("symbol"); |
+ factory SymbolElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("symbol"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -5617,18 +5911,20 @@ class SymbolElement extends SvgElement implements FitToViewBox { |
// 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('SVGTSpanElement') |
@Unstable() |
@Native("SVGTSpanElement") |
class TSpanElement extends TextPositioningElement { |
// To suppress missing implicit constructor warnings. |
- factory TSpanElement._() { throw new UnsupportedError("Not supported"); } |
+ factory TSpanElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGTSpanElement.SVGTSpanElement') |
@DocsEditable() |
- factory TSpanElement() => _SvgElementFactoryProvider.createSvgElement_tag("tspan"); |
+ factory TSpanElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("tspan"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -5640,13 +5936,14 @@ class TSpanElement extends TextPositioningElement { |
// 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('SVGTests') |
@Unstable() |
abstract class Tests extends Interceptor { |
// To suppress missing implicit constructor warnings. |
- factory Tests._() { throw new UnsupportedError("Not supported"); } |
+ factory Tests._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
final StringList requiredExtensions; |
@@ -5660,14 +5957,15 @@ abstract class Tests extends Interceptor { |
// 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('SVGTextContentElement') |
@Unstable() |
@Native("SVGTextContentElement") |
class TextContentElement extends GraphicsElement { |
// To suppress missing implicit constructor warnings. |
- factory TextContentElement._() { throw new UnsupportedError("Not supported"); } |
+ factory TextContentElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -5697,56 +5995,58 @@ class TextContentElement extends GraphicsElement { |
@DomName('SVGTextContentElement.getCharNumAtPosition') |
@DocsEditable() |
- int getCharNumAtPosition(Point point) native; |
+ int getCharNumAtPosition(Point point) native ; |
@DomName('SVGTextContentElement.getComputedTextLength') |
@DocsEditable() |
- double getComputedTextLength() native; |
+ double getComputedTextLength() native ; |
@DomName('SVGTextContentElement.getEndPositionOfChar') |
@DocsEditable() |
- Point getEndPositionOfChar(int charnum) native; |
+ Point getEndPositionOfChar(int charnum) native ; |
@DomName('SVGTextContentElement.getExtentOfChar') |
@DocsEditable() |
- Rect getExtentOfChar(int charnum) native; |
+ Rect getExtentOfChar(int charnum) native ; |
@DomName('SVGTextContentElement.getNumberOfChars') |
@DocsEditable() |
- int getNumberOfChars() native; |
+ int getNumberOfChars() native ; |
@DomName('SVGTextContentElement.getRotationOfChar') |
@DocsEditable() |
- double getRotationOfChar(int charnum) native; |
+ double getRotationOfChar(int charnum) native ; |
@DomName('SVGTextContentElement.getStartPositionOfChar') |
@DocsEditable() |
- Point getStartPositionOfChar(int charnum) native; |
+ Point getStartPositionOfChar(int charnum) native ; |
@DomName('SVGTextContentElement.getSubStringLength') |
@DocsEditable() |
- double getSubStringLength(int charnum, int nchars) native; |
+ double getSubStringLength(int charnum, int nchars) native ; |
@DomName('SVGTextContentElement.selectSubString') |
@DocsEditable() |
- void selectSubString(int charnum, int nchars) native; |
+ void selectSubString(int charnum, int nchars) 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('SVGTextElement') |
@Unstable() |
@Native("SVGTextElement") |
class TextElement extends TextPositioningElement { |
// To suppress missing implicit constructor warnings. |
- factory TextElement._() { throw new UnsupportedError("Not supported"); } |
+ factory TextElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGTextElement.SVGTextElement') |
@DocsEditable() |
- factory TextElement() => _SvgElementFactoryProvider.createSvgElement_tag("text"); |
+ factory TextElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("text"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -5758,14 +6058,15 @@ class TextElement extends TextPositioningElement { |
// 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('SVGTextPathElement') |
@Unstable() |
@Native("SVGTextPathElement") |
class TextPathElement extends TextContentElement implements UriReference { |
// To suppress missing implicit constructor warnings. |
- factory TextPathElement._() { throw new UnsupportedError("Not supported"); } |
+ factory TextPathElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -5819,14 +6120,15 @@ class TextPathElement extends TextContentElement implements UriReference { |
// 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('SVGTextPositioningElement') |
@Unstable() |
@Native("SVGTextPositioningElement") |
class TextPositioningElement extends TextContentElement { |
// To suppress missing implicit constructor warnings. |
- factory TextPositioningElement._() { throw new UnsupportedError("Not supported"); } |
+ factory TextPositioningElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -5858,18 +6160,20 @@ class TextPositioningElement extends TextContentElement { |
// 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('SVGTitleElement') |
@Unstable() |
@Native("SVGTitleElement") |
class TitleElement extends SvgElement { |
// To suppress missing implicit constructor warnings. |
- factory TitleElement._() { throw new UnsupportedError("Not supported"); } |
+ factory TitleElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGTitleElement.SVGTitleElement') |
@DocsEditable() |
- factory TitleElement() => _SvgElementFactoryProvider.createSvgElement_tag("title"); |
+ factory TitleElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("title"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -5881,14 +6185,15 @@ class TitleElement extends SvgElement { |
// 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('SVGTransform') |
@Unstable() |
@Native("SVGTransform") |
class Transform extends Interceptor { |
// To suppress missing implicit constructor warnings. |
- factory Transform._() { throw new UnsupportedError("Not supported"); } |
+ factory Transform._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGTransform.SVG_TRANSFORM_MATRIX') |
@DocsEditable() |
@@ -5932,40 +6237,43 @@ class Transform extends Interceptor { |
@DomName('SVGTransform.setMatrix') |
@DocsEditable() |
- void setMatrix(Matrix matrix) native; |
+ void setMatrix(Matrix matrix) native ; |
@DomName('SVGTransform.setRotate') |
@DocsEditable() |
- void setRotate(num angle, num cx, num cy) native; |
+ void setRotate(num angle, num cx, num cy) native ; |
@DomName('SVGTransform.setScale') |
@DocsEditable() |
- void setScale(num sx, num sy) native; |
+ void setScale(num sx, num sy) native ; |
@DomName('SVGTransform.setSkewX') |
@DocsEditable() |
- void setSkewX(num angle) native; |
+ void setSkewX(num angle) native ; |
@DomName('SVGTransform.setSkewY') |
@DocsEditable() |
- void setSkewY(num angle) native; |
+ void setSkewY(num angle) native ; |
@DomName('SVGTransform.setTranslate') |
@DocsEditable() |
- void setTranslate(num tx, num ty) native; |
+ void setTranslate(num tx, num ty) 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('SVGTransformList') |
@Unstable() |
@Native("SVGTransformList") |
-class TransformList extends Interceptor with ListMixin<Transform>, ImmutableListMixin<Transform> implements List<Transform> { |
+class TransformList extends Interceptor |
+ with ListMixin<Transform>, ImmutableListMixin<Transform> |
+ implements List<Transform> { |
// To suppress missing implicit constructor warnings. |
- factory TransformList._() { throw new UnsupportedError("Not supported"); } |
+ factory TransformList._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGTransformList.length') |
@DocsEditable() |
@@ -5976,19 +6284,18 @@ class TransformList extends Interceptor with ListMixin<Transform>, ImmutableList |
@DocsEditable() |
final int numberOfItems; |
- Transform operator[](int index) { |
- if (JS("bool", "# >>> 0 !== # || # >= #", index, |
- index, index, length)) |
+ Transform 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, Transform value) { |
+ |
+ void operator []=(int index, Transform value) { |
throw new UnsupportedError("Cannot assign element of immutable List."); |
} |
// -- start List<Transform> mixins. |
// Transform is the element type. |
- |
set length(int value) { |
throw new UnsupportedError("Cannot resize immutable List."); |
} |
@@ -6023,57 +6330,58 @@ class TransformList extends Interceptor with ListMixin<Transform>, ImmutableList |
@DomName('SVGTransformList.__setter__') |
@DocsEditable() |
@Experimental() // untriaged |
- void __setter__(int index, Transform newItem) native; |
+ void __setter__(int index, Transform newItem) native ; |
@DomName('SVGTransformList.appendItem') |
@DocsEditable() |
- Transform appendItem(Transform newItem) native; |
+ Transform appendItem(Transform newItem) native ; |
@DomName('SVGTransformList.clear') |
@DocsEditable() |
- void clear() native; |
+ void clear() native ; |
@DomName('SVGTransformList.consolidate') |
@DocsEditable() |
- Transform consolidate() native; |
+ Transform consolidate() native ; |
@JSName('createSVGTransformFromMatrix') |
@DomName('SVGTransformList.createSVGTransformFromMatrix') |
@DocsEditable() |
- Transform createSvgTransformFromMatrix(Matrix matrix) native; |
+ Transform createSvgTransformFromMatrix(Matrix matrix) native ; |
@DomName('SVGTransformList.getItem') |
@DocsEditable() |
- Transform getItem(int index) native; |
+ Transform getItem(int index) native ; |
@DomName('SVGTransformList.initialize') |
@DocsEditable() |
- Transform initialize(Transform newItem) native; |
+ Transform initialize(Transform newItem) native ; |
@DomName('SVGTransformList.insertItemBefore') |
@DocsEditable() |
- Transform insertItemBefore(Transform newItem, int index) native; |
+ Transform insertItemBefore(Transform newItem, int index) native ; |
@DomName('SVGTransformList.removeItem') |
@DocsEditable() |
- Transform removeItem(int index) native; |
+ Transform removeItem(int index) native ; |
@DomName('SVGTransformList.replaceItem') |
@DocsEditable() |
- Transform replaceItem(Transform newItem, int index) native; |
+ Transform replaceItem(Transform 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('SVGUnitTypes') |
@Unstable() |
@Native("SVGUnitTypes") |
class UnitTypes extends Interceptor { |
// To suppress missing implicit constructor warnings. |
- factory UnitTypes._() { throw new UnsupportedError("Not supported"); } |
+ factory UnitTypes._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX') |
@DocsEditable() |
@@ -6091,13 +6399,14 @@ class UnitTypes extends Interceptor { |
// 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('SVGURIReference') |
@Unstable() |
abstract class UriReference extends Interceptor { |
// To suppress missing implicit constructor warnings. |
- factory UriReference._() { throw new UnsupportedError("Not supported"); } |
+ factory UriReference._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
final AnimatedString href; |
} |
@@ -6105,18 +6414,20 @@ abstract class UriReference extends Interceptor { |
// 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('SVGUseElement') |
@Unstable() |
@Native("SVGUseElement") |
class UseElement extends GraphicsElement implements UriReference { |
// To suppress missing implicit constructor warnings. |
- factory UseElement._() { throw new UnsupportedError("Not supported"); } |
+ factory UseElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGUseElement.SVGUseElement') |
@DocsEditable() |
- factory UseElement() => _SvgElementFactoryProvider.createSvgElement_tag("use"); |
+ factory UseElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("use"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -6150,18 +6461,20 @@ class UseElement extends GraphicsElement implements UriReference { |
// 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('SVGViewElement') |
@Unstable() |
@Native("SVGViewElement") |
class ViewElement extends SvgElement implements FitToViewBox, ZoomAndPan { |
// To suppress missing implicit constructor warnings. |
- factory ViewElement._() { throw new UnsupportedError("Not supported"); } |
+ factory ViewElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGViewElement.SVGViewElement') |
@DocsEditable() |
- factory ViewElement() => _SvgElementFactoryProvider.createSvgElement_tag("view"); |
+ factory ViewElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("view"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -6193,14 +6506,15 @@ class ViewElement extends SvgElement implements FitToViewBox, ZoomAndPan { |
// 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('SVGViewSpec') |
@Unstable() |
@Native("SVGViewSpec") |
class ViewSpec extends Interceptor implements FitToViewBox, ZoomAndPan { |
// To suppress missing implicit constructor warnings. |
- factory ViewSpec._() { throw new UnsupportedError("Not supported"); } |
+ factory ViewSpec._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGViewSpec.preserveAspectRatioString') |
@DocsEditable() |
@@ -6249,13 +6563,14 @@ class ViewSpec extends Interceptor implements FitToViewBox, ZoomAndPan { |
// 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('SVGZoomAndPan') |
@Unstable() |
abstract class ZoomAndPan extends Interceptor { |
// To suppress missing implicit constructor warnings. |
- factory ZoomAndPan._() { throw new UnsupportedError("Not supported"); } |
+ factory ZoomAndPan._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE') |
@DocsEditable() |
@@ -6275,14 +6590,15 @@ abstract class ZoomAndPan extends Interceptor { |
// 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('SVGZoomEvent') |
@Unstable() |
@Native("SVGZoomEvent") |
class ZoomEvent extends UIEvent { |
// To suppress missing implicit constructor warnings. |
- factory ZoomEvent._() { throw new UnsupportedError("Not supported"); } |
+ factory ZoomEvent._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGZoomEvent.newScale') |
@DocsEditable() |
@@ -6308,14 +6624,15 @@ class ZoomEvent extends UIEvent { |
// 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('SVGGradientElement') |
@Unstable() |
@Native("SVGGradientElement") |
class _GradientElement extends SvgElement implements UriReference { |
// To suppress missing implicit constructor warnings. |
- factory _GradientElement._() { throw new UnsupportedError("Not supported"); } |
+ factory _GradientElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -6361,14 +6678,15 @@ class _GradientElement extends SvgElement implements UriReference { |
// 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('SVGComponentTransferFunctionElement') |
@Unstable() |
@Native("SVGComponentTransferFunctionElement") |
abstract class _SVGComponentTransferFunctionElement extends SvgElement { |
// To suppress missing implicit constructor warnings. |
- factory _SVGComponentTransferFunctionElement._() { throw new UnsupportedError("Not supported"); } |
+ factory _SVGComponentTransferFunctionElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -6380,18 +6698,21 @@ abstract class _SVGComponentTransferFunctionElement extends SvgElement { |
// 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('SVGCursorElement') |
@Unstable() |
@Native("SVGCursorElement") |
-abstract class _SVGCursorElement extends SvgElement implements UriReference, Tests { |
+abstract class _SVGCursorElement extends SvgElement |
+ implements UriReference, Tests { |
// To suppress missing implicit constructor warnings. |
- factory _SVGCursorElement._() { throw new UnsupportedError("Not supported"); } |
+ factory _SVGCursorElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGCursorElement.SVGCursorElement') |
@DocsEditable() |
- factory _SVGCursorElement() => _SvgElementFactoryProvider.createSvgElement_tag("cursor"); |
+ factory _SVGCursorElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("cursor"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -6400,7 +6721,9 @@ abstract class _SVGCursorElement extends SvgElement implements UriReference, Tes |
_SVGCursorElement.created() : super.created(); |
/// Checks if this type is supported on the current platform. |
- static bool get supported => SvgElement.isTagSupported('cursor') && (new SvgElement.tag('cursor') is _SVGCursorElement); |
+ static bool get supported => |
+ SvgElement.isTagSupported('cursor') && |
+ (new SvgElement.tag('cursor') is _SVGCursorElement); |
// From SVGTests |
@@ -6412,14 +6735,16 @@ abstract class _SVGCursorElement extends SvgElement implements UriReference, Tes |
// 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('SVGFEDropShadowElement') |
@Experimental() // nonstandard |
@Native("SVGFEDropShadowElement") |
-abstract class _SVGFEDropShadowElement extends SvgElement implements FilterPrimitiveStandardAttributes { |
+abstract class _SVGFEDropShadowElement extends SvgElement |
+ implements FilterPrimitiveStandardAttributes { |
// To suppress missing implicit constructor warnings. |
- factory _SVGFEDropShadowElement._() { throw new UnsupportedError("Not supported"); } |
+ factory _SVGFEDropShadowElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -6435,17 +6760,19 @@ abstract class _SVGFEDropShadowElement extends SvgElement implements FilterPrimi |
// 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('SVGMPathElement') |
@Native("SVGMPathElement") |
abstract class _SVGMPathElement extends SvgElement implements UriReference { |
// To suppress missing implicit constructor warnings. |
- factory _SVGMPathElement._() { throw new UnsupportedError("Not supported"); } |
+ factory _SVGMPathElement._() { |
+ throw new UnsupportedError("Not supported"); |
+ } |
@DomName('SVGMPathElement.SVGMPathElement') |
@DocsEditable() |
- factory _SVGMPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("mpath"); |
+ factory _SVGMPathElement() => |
+ _SvgElementFactoryProvider.createSvgElement_tag("mpath"); |
/** |
* Constructor instantiated by the DOM when a custom element has been created. |
* |
@@ -6456,4 +6783,3 @@ abstract class _SVGMPathElement extends SvgElement implements UriReference { |
// From SVGURIReference |
} |
- |