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

Unified Diff: sdk/lib/svg/dartium/svg_dartium.dart

Issue 2875773003: Roll 50: Updated for push to origin/master. (Closed)
Patch Set: Roll 50: Updated to latest Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sdk/lib/svg/dartium/svg_dartium.dart
diff --git a/sdk/lib/svg/dartium/svg_dartium.dart b/sdk/lib/svg/dartium/svg_dartium.dart
index 9724cbc9e55eee80030e6fb0a0940f0411390933..b58c7842203447bf48befac1edd882709aadc80b 100644
--- a/sdk/lib/svg/dartium/svg_dartium.dart
+++ b/sdk/lib/svg/dartium/svg_dartium.dart
@@ -104,37 +104,6 @@ final svgBlinkMap = {
'SVGNumber': () => Number.instanceRuntimeType,
'SVGNumberList': () => NumberList.instanceRuntimeType,
'SVGPathElement': () => PathElement.instanceRuntimeType,
- 'SVGPathSeg': () => PathSeg.instanceRuntimeType,
- 'SVGPathSegArcAbs': () => PathSegArcAbs.instanceRuntimeType,
- 'SVGPathSegArcRel': () => PathSegArcRel.instanceRuntimeType,
- 'SVGPathSegClosePath': () => PathSegClosePath.instanceRuntimeType,
- 'SVGPathSegCurvetoCubicAbs': () => PathSegCurvetoCubicAbs.instanceRuntimeType,
- 'SVGPathSegCurvetoCubicRel': () => PathSegCurvetoCubicRel.instanceRuntimeType,
- 'SVGPathSegCurvetoCubicSmoothAbs': () =>
- PathSegCurvetoCubicSmoothAbs.instanceRuntimeType,
- 'SVGPathSegCurvetoCubicSmoothRel': () =>
- PathSegCurvetoCubicSmoothRel.instanceRuntimeType,
- 'SVGPathSegCurvetoQuadraticAbs': () =>
- PathSegCurvetoQuadraticAbs.instanceRuntimeType,
- 'SVGPathSegCurvetoQuadraticRel': () =>
- PathSegCurvetoQuadraticRel.instanceRuntimeType,
- 'SVGPathSegCurvetoQuadraticSmoothAbs': () =>
- PathSegCurvetoQuadraticSmoothAbs.instanceRuntimeType,
- 'SVGPathSegCurvetoQuadraticSmoothRel': () =>
- PathSegCurvetoQuadraticSmoothRel.instanceRuntimeType,
- 'SVGPathSegLinetoAbs': () => PathSegLinetoAbs.instanceRuntimeType,
- 'SVGPathSegLinetoHorizontalAbs': () =>
- PathSegLinetoHorizontalAbs.instanceRuntimeType,
- 'SVGPathSegLinetoHorizontalRel': () =>
- PathSegLinetoHorizontalRel.instanceRuntimeType,
- 'SVGPathSegLinetoRel': () => PathSegLinetoRel.instanceRuntimeType,
- 'SVGPathSegLinetoVerticalAbs': () =>
- PathSegLinetoVerticalAbs.instanceRuntimeType,
- 'SVGPathSegLinetoVerticalRel': () =>
- PathSegLinetoVerticalRel.instanceRuntimeType,
- 'SVGPathSegList': () => PathSegList.instanceRuntimeType,
- 'SVGPathSegMovetoAbs': () => PathSegMovetoAbs.instanceRuntimeType,
- 'SVGPathSegMovetoRel': () => PathSegMovetoRel.instanceRuntimeType,
'SVGPatternElement': () => PatternElement.instanceRuntimeType,
'SVGPoint': () => Point.instanceRuntimeType,
'SVGPointList': () => PointList.instanceRuntimeType,
@@ -908,12 +877,6 @@ class AnimationElement extends SvgElement implements Tests {
@DocsEditable()
StringList get systemLanguage =>
_blink.BlinkSVGAnimationElement.instance.systemLanguage_Getter_(this);
-
- @DomName('SVGAnimationElement.hasExtension')
- @DocsEditable()
- bool hasExtension(String extension) =>
- _blink.BlinkSVGAnimationElement.instance
- .hasExtension_Callback_1_(this, extension);
}
// 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
@@ -3372,13 +3335,6 @@ class GraphicsElement extends SvgElement implements Tests {
Matrix getScreenCtm() =>
_blink.BlinkSVGGraphicsElement.instance.getScreenCTM_Callback_0_(this);
- @DomName('SVGGraphicsElement.getTransformToElement')
- @DocsEditable()
- @Experimental() // untriaged
- Matrix getTransformToElement(SvgElement element) =>
- _blink.BlinkSVGGraphicsElement.instance
- .getTransformToElement_Callback_1_(this, element);
-
@DomName('SVGGraphicsElement.requiredExtensions')
@DocsEditable()
@Experimental() // untriaged
@@ -3396,12 +3352,6 @@ class GraphicsElement extends SvgElement implements Tests {
@Experimental() // untriaged
StringList get systemLanguage =>
_blink.BlinkSVGGraphicsElement.instance.systemLanguage_Getter_(this);
-
- @DomName('SVGGraphicsElement.hasExtension')
- @DocsEditable()
- @Experimental() // untriaged
- bool hasExtension(String extension) => _blink.BlinkSVGGraphicsElement.instance
- .hasExtension_Callback_1_(this, extension);
}
// 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
@@ -3980,11 +3930,6 @@ class MaskElement extends SvgElement implements Tests {
@DocsEditable()
StringList get systemLanguage =>
_blink.BlinkSVGMaskElement.instance.systemLanguage_Getter_(this);
-
- @DomName('SVGMaskElement.hasExtension')
- @DocsEditable()
- bool hasExtension(String extension) => _blink.BlinkSVGMaskElement.instance
- .hasExtension_Callback_1_(this, extension);
}
// 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
@@ -4317,160 +4262,11 @@ class PathElement extends GeometryElement {
*/
PathElement.created() : super.created();
- @DomName('SVGPathElement.animatedNormalizedPathSegList')
- @DocsEditable()
- PathSegList get animatedNormalizedPathSegList =>
- _blink.BlinkSVGPathElement.instance
- .animatedNormalizedPathSegList_Getter_(this);
-
- @DomName('SVGPathElement.animatedPathSegList')
- @DocsEditable()
- PathSegList get animatedPathSegList =>
- _blink.BlinkSVGPathElement.instance.animatedPathSegList_Getter_(this);
-
- @DomName('SVGPathElement.normalizedPathSegList')
- @DocsEditable()
- PathSegList get normalizedPathSegList =>
- _blink.BlinkSVGPathElement.instance.normalizedPathSegList_Getter_(this);
-
@DomName('SVGPathElement.pathLength')
@DocsEditable()
AnimatedNumber get pathLength =>
_blink.BlinkSVGPathElement.instance.pathLength_Getter_(this);
- @DomName('SVGPathElement.pathSegList')
- @DocsEditable()
- PathSegList get pathSegList =>
- _blink.BlinkSVGPathElement.instance.pathSegList_Getter_(this);
-
- @DomName('SVGPathElement.createSVGPathSegArcAbs')
- @DocsEditable()
- PathSegArcAbs createSvgPathSegArcAbs(num x, num y, num r1, num r2, num angle,
- bool largeArcFlag, bool sweepFlag) =>
- _blink.BlinkSVGPathElement.instance.createSVGPathSegArcAbs_Callback_7_(
- this, x, y, r1, r2, angle, largeArcFlag, sweepFlag);
-
- @DomName('SVGPathElement.createSVGPathSegArcRel')
- @DocsEditable()
- PathSegArcRel createSvgPathSegArcRel(num x, num y, num r1, num r2, num angle,
- bool largeArcFlag, bool sweepFlag) =>
- _blink.BlinkSVGPathElement.instance.createSVGPathSegArcRel_Callback_7_(
- this, x, y, r1, r2, angle, largeArcFlag, sweepFlag);
-
- @DomName('SVGPathElement.createSVGPathSegClosePath')
- @DocsEditable()
- PathSegClosePath createSvgPathSegClosePath() =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegClosePath_Callback_0_(this);
-
- @DomName('SVGPathElement.createSVGPathSegCurvetoCubicAbs')
- @DocsEditable()
- PathSegCurvetoCubicAbs createSvgPathSegCurvetoCubicAbs(
- num x, num y, num x1, num y1, num x2, num y2) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegCurvetoCubicAbs_Callback_6_(
- this, x, y, x1, y1, x2, y2);
-
- @DomName('SVGPathElement.createSVGPathSegCurvetoCubicRel')
- @DocsEditable()
- PathSegCurvetoCubicRel createSvgPathSegCurvetoCubicRel(
- num x, num y, num x1, num y1, num x2, num y2) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegCurvetoCubicRel_Callback_6_(
- this, x, y, x1, y1, x2, y2);
-
- @DomName('SVGPathElement.createSVGPathSegCurvetoCubicSmoothAbs')
- @DocsEditable()
- PathSegCurvetoCubicSmoothAbs createSvgPathSegCurvetoCubicSmoothAbs(
- num x, num y, num x2, num y2) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegCurvetoCubicSmoothAbs_Callback_4_(
- this, x, y, x2, y2);
-
- @DomName('SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel')
- @DocsEditable()
- PathSegCurvetoCubicSmoothRel createSvgPathSegCurvetoCubicSmoothRel(
- num x, num y, num x2, num y2) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegCurvetoCubicSmoothRel_Callback_4_(
- this, x, y, x2, y2);
-
- @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticAbs')
- @DocsEditable()
- PathSegCurvetoQuadraticAbs createSvgPathSegCurvetoQuadraticAbs(
- num x, num y, num x1, num y1) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegCurvetoQuadraticAbs_Callback_4_(this, x, y, x1, y1);
-
- @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticRel')
- @DocsEditable()
- PathSegCurvetoQuadraticRel createSvgPathSegCurvetoQuadraticRel(
- num x, num y, num x1, num y1) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegCurvetoQuadraticRel_Callback_4_(this, x, y, x1, y1);
-
- @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothAbs')
- @DocsEditable()
- PathSegCurvetoQuadraticSmoothAbs createSvgPathSegCurvetoQuadraticSmoothAbs(
- num x, num y) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegCurvetoQuadraticSmoothAbs_Callback_2_(this, x, y);
-
- @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothRel')
- @DocsEditable()
- PathSegCurvetoQuadraticSmoothRel createSvgPathSegCurvetoQuadraticSmoothRel(
- num x, num y) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegCurvetoQuadraticSmoothRel_Callback_2_(this, x, y);
-
- @DomName('SVGPathElement.createSVGPathSegLinetoAbs')
- @DocsEditable()
- PathSegLinetoAbs createSvgPathSegLinetoAbs(num x, num y) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegLinetoAbs_Callback_2_(this, x, y);
-
- @DomName('SVGPathElement.createSVGPathSegLinetoHorizontalAbs')
- @DocsEditable()
- PathSegLinetoHorizontalAbs createSvgPathSegLinetoHorizontalAbs(num x) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegLinetoHorizontalAbs_Callback_1_(this, x);
-
- @DomName('SVGPathElement.createSVGPathSegLinetoHorizontalRel')
- @DocsEditable()
- PathSegLinetoHorizontalRel createSvgPathSegLinetoHorizontalRel(num x) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegLinetoHorizontalRel_Callback_1_(this, x);
-
- @DomName('SVGPathElement.createSVGPathSegLinetoRel')
- @DocsEditable()
- PathSegLinetoRel createSvgPathSegLinetoRel(num x, num y) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegLinetoRel_Callback_2_(this, x, y);
-
- @DomName('SVGPathElement.createSVGPathSegLinetoVerticalAbs')
- @DocsEditable()
- PathSegLinetoVerticalAbs createSvgPathSegLinetoVerticalAbs(num y) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegLinetoVerticalAbs_Callback_1_(this, y);
-
- @DomName('SVGPathElement.createSVGPathSegLinetoVerticalRel')
- @DocsEditable()
- PathSegLinetoVerticalRel createSvgPathSegLinetoVerticalRel(num y) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegLinetoVerticalRel_Callback_1_(this, y);
-
- @DomName('SVGPathElement.createSVGPathSegMovetoAbs')
- @DocsEditable()
- PathSegMovetoAbs createSvgPathSegMovetoAbs(num x, num y) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegMovetoAbs_Callback_2_(this, x, y);
-
- @DomName('SVGPathElement.createSVGPathSegMovetoRel')
- @DocsEditable()
- PathSegMovetoRel createSvgPathSegMovetoRel(num x, num y) =>
- _blink.BlinkSVGPathElement.instance
- .createSVGPathSegMovetoRel_Callback_2_(this, x, y);
-
@DomName('SVGPathElement.getPathSegAtLength')
@DocsEditable()
int getPathSegAtLength(num distance) => _blink.BlinkSVGPathElement.instance
@@ -4493,109 +4289,97 @@ class PathElement extends GeometryElement {
// WARNING: Do not edit - generated code.
@DocsEditable()
-@DomName('SVGPathSeg')
+@DomName('SVGPatternElement')
@Unstable()
-class PathSeg extends DartHtmlDomObject {
+class PatternElement extends SvgElement
+ implements FitToViewBox, UriReference, Tests {
// To suppress missing implicit constructor warnings.
- factory PathSeg._() {
+ factory PatternElement._() {
throw new UnsupportedError("Not supported");
}
+ @DomName('SVGPatternElement.SVGPatternElement')
+ @DocsEditable()
+ factory PatternElement() =>
+ _SvgElementFactoryProvider.createSvgElement_tag("pattern");
+
@Deprecated("Internal Use Only")
external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
- PathSeg.internal_() {}
-
- @DomName('SVGPathSeg.PATHSEG_ARC_ABS')
- @DocsEditable()
- static const int PATHSEG_ARC_ABS = 10;
-
- @DomName('SVGPathSeg.PATHSEG_ARC_REL')
- @DocsEditable()
- static const int PATHSEG_ARC_REL = 11;
-
- @DomName('SVGPathSeg.PATHSEG_CLOSEPATH')
- @DocsEditable()
- static const int PATHSEG_CLOSEPATH = 1;
-
- @DomName('SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS')
- @DocsEditable()
- static const int PATHSEG_CURVETO_CUBIC_ABS = 6;
-
- @DomName('SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL')
- @DocsEditable()
- static const int PATHSEG_CURVETO_CUBIC_REL = 7;
-
- @DomName('SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS')
- @DocsEditable()
- static const int PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16;
-
- @DomName('SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL')
- @DocsEditable()
- static const int PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17;
-
- @DomName('SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS')
- @DocsEditable()
- static const int PATHSEG_CURVETO_QUADRATIC_ABS = 8;
+ PatternElement.internal_() : super.internal_();
- @DomName('SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL')
- @DocsEditable()
- static const int PATHSEG_CURVETO_QUADRATIC_REL = 9;
+ /**
+ * Constructor instantiated by the DOM when a custom element has been created.
+ *
+ * This can only be called by subclasses from their created constructor.
+ */
+ PatternElement.created() : super.created();
- @DomName('SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS')
+ @DomName('SVGPatternElement.height')
@DocsEditable()
- static const int PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18;
+ AnimatedLength get height =>
+ _blink.BlinkSVGPatternElement.instance.height_Getter_(this);
- @DomName('SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL')
+ @DomName('SVGPatternElement.patternContentUnits')
@DocsEditable()
- static const int PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19;
+ AnimatedEnumeration get patternContentUnits =>
+ _blink.BlinkSVGPatternElement.instance.patternContentUnits_Getter_(this);
- @DomName('SVGPathSeg.PATHSEG_LINETO_ABS')
+ @DomName('SVGPatternElement.patternTransform')
@DocsEditable()
- static const int PATHSEG_LINETO_ABS = 4;
+ AnimatedTransformList get patternTransform =>
+ _blink.BlinkSVGPatternElement.instance.patternTransform_Getter_(this);
- @DomName('SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS')
+ @DomName('SVGPatternElement.patternUnits')
@DocsEditable()
- static const int PATHSEG_LINETO_HORIZONTAL_ABS = 12;
+ AnimatedEnumeration get patternUnits =>
+ _blink.BlinkSVGPatternElement.instance.patternUnits_Getter_(this);
- @DomName('SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL')
+ @DomName('SVGPatternElement.width')
@DocsEditable()
- static const int PATHSEG_LINETO_HORIZONTAL_REL = 13;
+ AnimatedLength get width =>
+ _blink.BlinkSVGPatternElement.instance.width_Getter_(this);
- @DomName('SVGPathSeg.PATHSEG_LINETO_REL')
+ @DomName('SVGPatternElement.x')
@DocsEditable()
- static const int PATHSEG_LINETO_REL = 5;
+ AnimatedLength get x =>
+ _blink.BlinkSVGPatternElement.instance.x_Getter_(this);
- @DomName('SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS')
+ @DomName('SVGPatternElement.y')
@DocsEditable()
- static const int PATHSEG_LINETO_VERTICAL_ABS = 14;
+ AnimatedLength get y =>
+ _blink.BlinkSVGPatternElement.instance.y_Getter_(this);
- @DomName('SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL')
+ @DomName('SVGPatternElement.preserveAspectRatio')
@DocsEditable()
- static const int PATHSEG_LINETO_VERTICAL_REL = 15;
+ AnimatedPreserveAspectRatio get preserveAspectRatio =>
+ _blink.BlinkSVGPatternElement.instance.preserveAspectRatio_Getter_(this);
- @DomName('SVGPathSeg.PATHSEG_MOVETO_ABS')
+ @DomName('SVGPatternElement.viewBox')
@DocsEditable()
- static const int PATHSEG_MOVETO_ABS = 2;
+ AnimatedRect get viewBox =>
+ _blink.BlinkSVGPatternElement.instance.viewBox_Getter_(this);
- @DomName('SVGPathSeg.PATHSEG_MOVETO_REL')
+ @DomName('SVGPatternElement.requiredExtensions')
@DocsEditable()
- static const int PATHSEG_MOVETO_REL = 3;
+ StringList get requiredExtensions =>
+ _blink.BlinkSVGPatternElement.instance.requiredExtensions_Getter_(this);
- @DomName('SVGPathSeg.PATHSEG_UNKNOWN')
+ @DomName('SVGPatternElement.requiredFeatures')
@DocsEditable()
- static const int PATHSEG_UNKNOWN = 0;
+ StringList get requiredFeatures =>
+ _blink.BlinkSVGPatternElement.instance.requiredFeatures_Getter_(this);
- @DomName('SVGPathSeg.pathSegType')
+ @DomName('SVGPatternElement.systemLanguage')
@DocsEditable()
- int get pathSegType =>
- _blink.BlinkSVGPathSeg.instance.pathSegType_Getter_(this);
+ StringList get systemLanguage =>
+ _blink.BlinkSVGPatternElement.instance.systemLanguage_Getter_(this);
- @DomName('SVGPathSeg.pathSegTypeAsLetter')
+ @DomName('SVGPatternElement.href')
@DocsEditable()
- String get pathSegTypeAsLetter =>
- _blink.BlinkSVGPathSeg.instance.pathSegTypeAsLetter_Getter_(this);
+ AnimatedString get href =>
+ _blink.BlinkSVGPatternElement.instance.href_Getter_(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
@@ -4604,11 +4388,11 @@ class PathSeg extends DartHtmlDomObject {
// WARNING: Do not edit - generated code.
@DocsEditable()
-@DomName('SVGPathSegArcAbs')
+@DomName('SVGPoint')
@Unstable()
-class PathSegArcAbs extends PathSeg {
+class Point extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
- factory PathSegArcAbs._() {
+ factory Point._() {
throw new UnsupportedError("Not supported");
}
@@ -4616,72 +4400,28 @@ class PathSegArcAbs extends PathSeg {
external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
- PathSegArcAbs.internal_() : super.internal_();
-
- @DomName('SVGPathSegArcAbs.angle')
- @DocsEditable()
- num get angle => _blink.BlinkSVGPathSegArcAbs.instance.angle_Getter_(this);
-
- @DomName('SVGPathSegArcAbs.angle')
- @DocsEditable()
- set angle(num value) =>
- _blink.BlinkSVGPathSegArcAbs.instance.angle_Setter_(this, value);
-
- @DomName('SVGPathSegArcAbs.largeArcFlag')
- @DocsEditable()
- bool get largeArcFlag =>
- _blink.BlinkSVGPathSegArcAbs.instance.largeArcFlag_Getter_(this);
-
- @DomName('SVGPathSegArcAbs.largeArcFlag')
- @DocsEditable()
- set largeArcFlag(bool value) =>
- _blink.BlinkSVGPathSegArcAbs.instance.largeArcFlag_Setter_(this, value);
-
- @DomName('SVGPathSegArcAbs.r1')
- @DocsEditable()
- num get r1 => _blink.BlinkSVGPathSegArcAbs.instance.r1_Getter_(this);
-
- @DomName('SVGPathSegArcAbs.r1')
- @DocsEditable()
- set r1(num value) =>
- _blink.BlinkSVGPathSegArcAbs.instance.r1_Setter_(this, value);
-
- @DomName('SVGPathSegArcAbs.r2')
- @DocsEditable()
- num get r2 => _blink.BlinkSVGPathSegArcAbs.instance.r2_Getter_(this);
-
- @DomName('SVGPathSegArcAbs.r2')
- @DocsEditable()
- set r2(num value) =>
- _blink.BlinkSVGPathSegArcAbs.instance.r2_Setter_(this, value);
-
- @DomName('SVGPathSegArcAbs.sweepFlag')
- @DocsEditable()
- bool get sweepFlag =>
- _blink.BlinkSVGPathSegArcAbs.instance.sweepFlag_Getter_(this);
+ Point.internal_() {}
- @DomName('SVGPathSegArcAbs.sweepFlag')
+ @DomName('SVGPoint.x')
@DocsEditable()
- set sweepFlag(bool value) =>
- _blink.BlinkSVGPathSegArcAbs.instance.sweepFlag_Setter_(this, value);
+ num get x => _blink.BlinkSVGPoint.instance.x_Getter_(this);
- @DomName('SVGPathSegArcAbs.x')
+ @DomName('SVGPoint.x')
@DocsEditable()
- num get x => _blink.BlinkSVGPathSegArcAbs.instance.x_Getter_(this);
+ set x(num value) => _blink.BlinkSVGPoint.instance.x_Setter_(this, value);
- @DomName('SVGPathSegArcAbs.x')
+ @DomName('SVGPoint.y')
@DocsEditable()
- set x(num value) =>
- _blink.BlinkSVGPathSegArcAbs.instance.x_Setter_(this, value);
+ num get y => _blink.BlinkSVGPoint.instance.y_Getter_(this);
- @DomName('SVGPathSegArcAbs.y')
+ @DomName('SVGPoint.y')
@DocsEditable()
- num get y => _blink.BlinkSVGPathSegArcAbs.instance.y_Getter_(this);
+ set y(num value) => _blink.BlinkSVGPoint.instance.y_Setter_(this, value);
- @DomName('SVGPathSegArcAbs.y')
+ @DomName('SVGPoint.matrixTransform')
@DocsEditable()
- set y(num value) =>
- _blink.BlinkSVGPathSegArcAbs.instance.y_Setter_(this, value);
+ Point matrixTransform(Matrix matrix) =>
+ _blink.BlinkSVGPoint.instance.matrixTransform_Callback_1_(this, matrix);
}
// 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
@@ -4690,11 +4430,11 @@ class PathSegArcAbs extends PathSeg {
// WARNING: Do not edit - generated code.
@DocsEditable()
-@DomName('SVGPathSegArcRel')
+@DomName('SVGPointList')
@Unstable()
-class PathSegArcRel extends PathSeg {
+class PointList extends DartHtmlDomObject {
// To suppress missing implicit constructor warnings.
- factory PathSegArcRel._() {
+ factory PointList._() {
throw new UnsupportedError("Not supported");
}
@@ -4702,72 +4442,59 @@ class PathSegArcRel extends PathSeg {
external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
- PathSegArcRel.internal_() : super.internal_();
-
- @DomName('SVGPathSegArcRel.angle')
- @DocsEditable()
- num get angle => _blink.BlinkSVGPathSegArcRel.instance.angle_Getter_(this);
-
- @DomName('SVGPathSegArcRel.angle')
- @DocsEditable()
- set angle(num value) =>
- _blink.BlinkSVGPathSegArcRel.instance.angle_Setter_(this, value);
-
- @DomName('SVGPathSegArcRel.largeArcFlag')
- @DocsEditable()
- bool get largeArcFlag =>
- _blink.BlinkSVGPathSegArcRel.instance.largeArcFlag_Getter_(this);
-
- @DomName('SVGPathSegArcRel.largeArcFlag')
- @DocsEditable()
- set largeArcFlag(bool value) =>
- _blink.BlinkSVGPathSegArcRel.instance.largeArcFlag_Setter_(this, value);
+ PointList.internal_() {}
- @DomName('SVGPathSegArcRel.r1')
+ @DomName('SVGPointList.length')
@DocsEditable()
- num get r1 => _blink.BlinkSVGPathSegArcRel.instance.r1_Getter_(this);
+ @Experimental() // untriaged
+ int get length => _blink.BlinkSVGPointList.instance.length_Getter_(this);
- @DomName('SVGPathSegArcRel.r1')
+ @DomName('SVGPointList.numberOfItems')
@DocsEditable()
- set r1(num value) =>
- _blink.BlinkSVGPathSegArcRel.instance.r1_Setter_(this, value);
+ int get numberOfItems =>
+ _blink.BlinkSVGPointList.instance.numberOfItems_Getter_(this);
- @DomName('SVGPathSegArcRel.r2')
+ @DomName('SVGPointList.__setter__')
@DocsEditable()
- num get r2 => _blink.BlinkSVGPathSegArcRel.instance.r2_Getter_(this);
+ @Experimental() // untriaged
+ void __setter__(int index, Point newItem) => _blink.BlinkSVGPointList.instance
+ .$__setter___Callback_2_(this, index, newItem);
- @DomName('SVGPathSegArcRel.r2')
+ @DomName('SVGPointList.appendItem')
@DocsEditable()
- set r2(num value) =>
- _blink.BlinkSVGPathSegArcRel.instance.r2_Setter_(this, value);
+ Point appendItem(Point newItem) =>
+ _blink.BlinkSVGPointList.instance.appendItem_Callback_1_(this, newItem);
- @DomName('SVGPathSegArcRel.sweepFlag')
+ @DomName('SVGPointList.clear')
@DocsEditable()
- bool get sweepFlag =>
- _blink.BlinkSVGPathSegArcRel.instance.sweepFlag_Getter_(this);
+ void clear() => _blink.BlinkSVGPointList.instance.clear_Callback_0_(this);
- @DomName('SVGPathSegArcRel.sweepFlag')
+ @DomName('SVGPointList.getItem')
@DocsEditable()
- set sweepFlag(bool value) =>
- _blink.BlinkSVGPathSegArcRel.instance.sweepFlag_Setter_(this, value);
+ Point getItem(int index) =>
+ _blink.BlinkSVGPointList.instance.getItem_Callback_1_(this, index);
- @DomName('SVGPathSegArcRel.x')
+ @DomName('SVGPointList.initialize')
@DocsEditable()
- num get x => _blink.BlinkSVGPathSegArcRel.instance.x_Getter_(this);
+ Point initialize(Point newItem) =>
+ _blink.BlinkSVGPointList.instance.initialize_Callback_1_(this, newItem);
- @DomName('SVGPathSegArcRel.x')
+ @DomName('SVGPointList.insertItemBefore')
@DocsEditable()
- set x(num value) =>
- _blink.BlinkSVGPathSegArcRel.instance.x_Setter_(this, value);
+ Point insertItemBefore(Point newItem, int index) =>
+ _blink.BlinkSVGPointList.instance
+ .insertItemBefore_Callback_2_(this, newItem, index);
- @DomName('SVGPathSegArcRel.y')
+ @DomName('SVGPointList.removeItem')
@DocsEditable()
- num get y => _blink.BlinkSVGPathSegArcRel.instance.y_Getter_(this);
+ Point removeItem(int index) =>
+ _blink.BlinkSVGPointList.instance.removeItem_Callback_1_(this, index);
- @DomName('SVGPathSegArcRel.y')
+ @DomName('SVGPointList.replaceItem')
@DocsEditable()
- set y(num value) =>
- _blink.BlinkSVGPathSegArcRel.instance.y_Setter_(this, value);
+ Point replaceItem(Point newItem, int index) =>
+ _blink.BlinkSVGPointList.instance
+ .replaceItem_Callback_2_(this, newItem, index);
}
// 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
@@ -4776,19 +4503,41 @@ class PathSegArcRel extends PathSeg {
// WARNING: Do not edit - generated code.
@DocsEditable()
-@DomName('SVGPathSegClosePath')
+@DomName('SVGPolygonElement')
@Unstable()
-class PathSegClosePath extends PathSeg {
+class PolygonElement extends GeometryElement {
// To suppress missing implicit constructor warnings.
- factory PathSegClosePath._() {
+ factory PolygonElement._() {
throw new UnsupportedError("Not supported");
}
+ @DomName('SVGPolygonElement.SVGPolygonElement')
+ @DocsEditable()
+ factory PolygonElement() =>
+ _SvgElementFactoryProvider.createSvgElement_tag("polygon");
+
@Deprecated("Internal Use Only")
external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
- PathSegClosePath.internal_() : super.internal_();
+ PolygonElement.internal_() : super.internal_();
+
+ /**
+ * Constructor instantiated by the DOM when a custom element has been created.
+ *
+ * This can only be called by subclasses from their created constructor.
+ */
+ PolygonElement.created() : super.created();
+
+ @DomName('SVGPolygonElement.animatedPoints')
+ @DocsEditable()
+ PointList get animatedPoints =>
+ _blink.BlinkSVGPolygonElement.instance.animatedPoints_Getter_(this);
+
+ @DomName('SVGPolygonElement.points')
+ @DocsEditable()
+ PointList get points =>
+ _blink.BlinkSVGPolygonElement.instance.points_Getter_(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
@@ -4797,1172 +4546,38 @@ class PathSegClosePath extends PathSeg {
// WARNING: Do not edit - generated code.
@DocsEditable()
-@DomName('SVGPathSegCurvetoCubicAbs')
+@DomName('SVGPolylineElement')
@Unstable()
-class PathSegCurvetoCubicAbs extends PathSeg {
+class PolylineElement extends GeometryElement {
// To suppress missing implicit constructor warnings.
- factory PathSegCurvetoCubicAbs._() {
+ factory PolylineElement._() {
throw new UnsupportedError("Not supported");
}
+ @DomName('SVGPolylineElement.SVGPolylineElement')
+ @DocsEditable()
+ factory PolylineElement() =>
+ _SvgElementFactoryProvider.createSvgElement_tag("polyline");
+
@Deprecated("Internal Use Only")
external static Type get instanceRuntimeType;
@Deprecated("Internal Use Only")
- PathSegCurvetoCubicAbs.internal_() : super.internal_();
-
- @DomName('SVGPathSegCurvetoCubicAbs.x')
- @DocsEditable()
- num get x => _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.x_Getter_(this);
+ PolylineElement.internal_() : super.internal_();
- @DomName('SVGPathSegCurvetoCubicAbs.x')
- @DocsEditable()
- set x(num value) =>
- _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.x_Setter_(this, value);
+ /**
+ * Constructor instantiated by the DOM when a custom element has been created.
+ *
+ * This can only be called by subclasses from their created constructor.
+ */
+ PolylineElement.created() : super.created();
- @DomName('SVGPathSegCurvetoCubicAbs.x1')
+ @DomName('SVGPolylineElement.animatedPoints')
@DocsEditable()
- num get x1 => _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.x1_Getter_(this);
+ PointList get animatedPoints =>
+ _blink.BlinkSVGPolylineElement.instance.animatedPoints_Getter_(this);
- @DomName('SVGPathSegCurvetoCubicAbs.x1')
- @DocsEditable()
- set x1(num value) =>
- _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.x1_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoCubicAbs.x2')
- @DocsEditable()
- num get x2 => _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.x2_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicAbs.x2')
- @DocsEditable()
- set x2(num value) =>
- _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.x2_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoCubicAbs.y')
- @DocsEditable()
- num get y => _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.y_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicAbs.y')
- @DocsEditable()
- set y(num value) =>
- _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.y_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoCubicAbs.y1')
- @DocsEditable()
- num get y1 => _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.y1_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicAbs.y1')
- @DocsEditable()
- set y1(num value) =>
- _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.y1_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoCubicAbs.y2')
- @DocsEditable()
- num get y2 => _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.y2_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicAbs.y2')
- @DocsEditable()
- set y2(num value) =>
- _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.y2_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegCurvetoCubicRel')
-@Unstable()
-class PathSegCurvetoCubicRel extends PathSeg {
- // To suppress missing implicit constructor warnings.
- factory PathSegCurvetoCubicRel._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegCurvetoCubicRel.internal_() : super.internal_();
-
- @DomName('SVGPathSegCurvetoCubicRel.x')
- @DocsEditable()
- num get x => _blink.BlinkSVGPathSegCurvetoCubicRel.instance.x_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicRel.x')
- @DocsEditable()
- set x(num value) =>
- _blink.BlinkSVGPathSegCurvetoCubicRel.instance.x_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoCubicRel.x1')
- @DocsEditable()
- num get x1 => _blink.BlinkSVGPathSegCurvetoCubicRel.instance.x1_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicRel.x1')
- @DocsEditable()
- set x1(num value) =>
- _blink.BlinkSVGPathSegCurvetoCubicRel.instance.x1_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoCubicRel.x2')
- @DocsEditable()
- num get x2 => _blink.BlinkSVGPathSegCurvetoCubicRel.instance.x2_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicRel.x2')
- @DocsEditable()
- set x2(num value) =>
- _blink.BlinkSVGPathSegCurvetoCubicRel.instance.x2_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoCubicRel.y')
- @DocsEditable()
- num get y => _blink.BlinkSVGPathSegCurvetoCubicRel.instance.y_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicRel.y')
- @DocsEditable()
- set y(num value) =>
- _blink.BlinkSVGPathSegCurvetoCubicRel.instance.y_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoCubicRel.y1')
- @DocsEditable()
- num get y1 => _blink.BlinkSVGPathSegCurvetoCubicRel.instance.y1_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicRel.y1')
- @DocsEditable()
- set y1(num value) =>
- _blink.BlinkSVGPathSegCurvetoCubicRel.instance.y1_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoCubicRel.y2')
- @DocsEditable()
- num get y2 => _blink.BlinkSVGPathSegCurvetoCubicRel.instance.y2_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicRel.y2')
- @DocsEditable()
- set y2(num value) =>
- _blink.BlinkSVGPathSegCurvetoCubicRel.instance.y2_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegCurvetoCubicSmoothAbs')
-@Unstable()
-class PathSegCurvetoCubicSmoothAbs extends PathSeg {
- // To suppress missing implicit constructor warnings.
- factory PathSegCurvetoCubicSmoothAbs._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegCurvetoCubicSmoothAbs.internal_() : super.internal_();
-
- @DomName('SVGPathSegCurvetoCubicSmoothAbs.x')
- @DocsEditable()
- num get x =>
- _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance.x_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicSmoothAbs.x')
- @DocsEditable()
- set x(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance
- .x_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoCubicSmoothAbs.x2')
- @DocsEditable()
- num get x2 =>
- _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance.x2_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicSmoothAbs.x2')
- @DocsEditable()
- set x2(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance
- .x2_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoCubicSmoothAbs.y')
- @DocsEditable()
- num get y =>
- _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance.y_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicSmoothAbs.y')
- @DocsEditable()
- set y(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance
- .y_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoCubicSmoothAbs.y2')
- @DocsEditable()
- num get y2 =>
- _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance.y2_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicSmoothAbs.y2')
- @DocsEditable()
- set y2(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance
- .y2_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegCurvetoCubicSmoothRel')
-@Unstable()
-class PathSegCurvetoCubicSmoothRel extends PathSeg {
- // To suppress missing implicit constructor warnings.
- factory PathSegCurvetoCubicSmoothRel._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegCurvetoCubicSmoothRel.internal_() : super.internal_();
-
- @DomName('SVGPathSegCurvetoCubicSmoothRel.x')
- @DocsEditable()
- num get x =>
- _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance.x_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicSmoothRel.x')
- @DocsEditable()
- set x(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance
- .x_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoCubicSmoothRel.x2')
- @DocsEditable()
- num get x2 =>
- _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance.x2_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicSmoothRel.x2')
- @DocsEditable()
- set x2(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance
- .x2_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoCubicSmoothRel.y')
- @DocsEditable()
- num get y =>
- _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance.y_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicSmoothRel.y')
- @DocsEditable()
- set y(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance
- .y_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoCubicSmoothRel.y2')
- @DocsEditable()
- num get y2 =>
- _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance.y2_Getter_(this);
-
- @DomName('SVGPathSegCurvetoCubicSmoothRel.y2')
- @DocsEditable()
- set y2(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance
- .y2_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegCurvetoQuadraticAbs')
-@Unstable()
-class PathSegCurvetoQuadraticAbs extends PathSeg {
- // To suppress missing implicit constructor warnings.
- factory PathSegCurvetoQuadraticAbs._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegCurvetoQuadraticAbs.internal_() : super.internal_();
-
- @DomName('SVGPathSegCurvetoQuadraticAbs.x')
- @DocsEditable()
- num get x =>
- _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance.x_Getter_(this);
-
- @DomName('SVGPathSegCurvetoQuadraticAbs.x')
- @DocsEditable()
- set x(num value) =>
- _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance.x_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoQuadraticAbs.x1')
- @DocsEditable()
- num get x1 =>
- _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance.x1_Getter_(this);
-
- @DomName('SVGPathSegCurvetoQuadraticAbs.x1')
- @DocsEditable()
- set x1(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance
- .x1_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoQuadraticAbs.y')
- @DocsEditable()
- num get y =>
- _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance.y_Getter_(this);
-
- @DomName('SVGPathSegCurvetoQuadraticAbs.y')
- @DocsEditable()
- set y(num value) =>
- _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance.y_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoQuadraticAbs.y1')
- @DocsEditable()
- num get y1 =>
- _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance.y1_Getter_(this);
-
- @DomName('SVGPathSegCurvetoQuadraticAbs.y1')
- @DocsEditable()
- set y1(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance
- .y1_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegCurvetoQuadraticRel')
-@Unstable()
-class PathSegCurvetoQuadraticRel extends PathSeg {
- // To suppress missing implicit constructor warnings.
- factory PathSegCurvetoQuadraticRel._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegCurvetoQuadraticRel.internal_() : super.internal_();
-
- @DomName('SVGPathSegCurvetoQuadraticRel.x')
- @DocsEditable()
- num get x =>
- _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance.x_Getter_(this);
-
- @DomName('SVGPathSegCurvetoQuadraticRel.x')
- @DocsEditable()
- set x(num value) =>
- _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance.x_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoQuadraticRel.x1')
- @DocsEditable()
- num get x1 =>
- _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance.x1_Getter_(this);
-
- @DomName('SVGPathSegCurvetoQuadraticRel.x1')
- @DocsEditable()
- set x1(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance
- .x1_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoQuadraticRel.y')
- @DocsEditable()
- num get y =>
- _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance.y_Getter_(this);
-
- @DomName('SVGPathSegCurvetoQuadraticRel.y')
- @DocsEditable()
- set y(num value) =>
- _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance.y_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoQuadraticRel.y1')
- @DocsEditable()
- num get y1 =>
- _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance.y1_Getter_(this);
-
- @DomName('SVGPathSegCurvetoQuadraticRel.y1')
- @DocsEditable()
- set y1(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance
- .y1_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegCurvetoQuadraticSmoothAbs')
-@Unstable()
-class PathSegCurvetoQuadraticSmoothAbs extends PathSeg {
- // To suppress missing implicit constructor warnings.
- factory PathSegCurvetoQuadraticSmoothAbs._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegCurvetoQuadraticSmoothAbs.internal_() : super.internal_();
-
- @DomName('SVGPathSegCurvetoQuadraticSmoothAbs.x')
- @DocsEditable()
- num get x =>
- _blink.BlinkSVGPathSegCurvetoQuadraticSmoothAbs.instance.x_Getter_(this);
-
- @DomName('SVGPathSegCurvetoQuadraticSmoothAbs.x')
- @DocsEditable()
- set x(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticSmoothAbs.instance
- .x_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoQuadraticSmoothAbs.y')
- @DocsEditable()
- num get y =>
- _blink.BlinkSVGPathSegCurvetoQuadraticSmoothAbs.instance.y_Getter_(this);
-
- @DomName('SVGPathSegCurvetoQuadraticSmoothAbs.y')
- @DocsEditable()
- set y(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticSmoothAbs.instance
- .y_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegCurvetoQuadraticSmoothRel')
-@Unstable()
-class PathSegCurvetoQuadraticSmoothRel extends PathSeg {
- // To suppress missing implicit constructor warnings.
- factory PathSegCurvetoQuadraticSmoothRel._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegCurvetoQuadraticSmoothRel.internal_() : super.internal_();
-
- @DomName('SVGPathSegCurvetoQuadraticSmoothRel.x')
- @DocsEditable()
- num get x =>
- _blink.BlinkSVGPathSegCurvetoQuadraticSmoothRel.instance.x_Getter_(this);
-
- @DomName('SVGPathSegCurvetoQuadraticSmoothRel.x')
- @DocsEditable()
- set x(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticSmoothRel.instance
- .x_Setter_(this, value);
-
- @DomName('SVGPathSegCurvetoQuadraticSmoothRel.y')
- @DocsEditable()
- num get y =>
- _blink.BlinkSVGPathSegCurvetoQuadraticSmoothRel.instance.y_Getter_(this);
-
- @DomName('SVGPathSegCurvetoQuadraticSmoothRel.y')
- @DocsEditable()
- set y(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticSmoothRel.instance
- .y_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegLinetoAbs')
-@Unstable()
-class PathSegLinetoAbs extends PathSeg {
- // To suppress missing implicit constructor warnings.
- factory PathSegLinetoAbs._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegLinetoAbs.internal_() : super.internal_();
-
- @DomName('SVGPathSegLinetoAbs.x')
- @DocsEditable()
- num get x => _blink.BlinkSVGPathSegLinetoAbs.instance.x_Getter_(this);
-
- @DomName('SVGPathSegLinetoAbs.x')
- @DocsEditable()
- set x(num value) =>
- _blink.BlinkSVGPathSegLinetoAbs.instance.x_Setter_(this, value);
-
- @DomName('SVGPathSegLinetoAbs.y')
- @DocsEditable()
- num get y => _blink.BlinkSVGPathSegLinetoAbs.instance.y_Getter_(this);
-
- @DomName('SVGPathSegLinetoAbs.y')
- @DocsEditable()
- set y(num value) =>
- _blink.BlinkSVGPathSegLinetoAbs.instance.y_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegLinetoHorizontalAbs')
-@Unstable()
-class PathSegLinetoHorizontalAbs extends PathSeg {
- // To suppress missing implicit constructor warnings.
- factory PathSegLinetoHorizontalAbs._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegLinetoHorizontalAbs.internal_() : super.internal_();
-
- @DomName('SVGPathSegLinetoHorizontalAbs.x')
- @DocsEditable()
- num get x =>
- _blink.BlinkSVGPathSegLinetoHorizontalAbs.instance.x_Getter_(this);
-
- @DomName('SVGPathSegLinetoHorizontalAbs.x')
- @DocsEditable()
- set x(num value) =>
- _blink.BlinkSVGPathSegLinetoHorizontalAbs.instance.x_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegLinetoHorizontalRel')
-@Unstable()
-class PathSegLinetoHorizontalRel extends PathSeg {
- // To suppress missing implicit constructor warnings.
- factory PathSegLinetoHorizontalRel._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegLinetoHorizontalRel.internal_() : super.internal_();
-
- @DomName('SVGPathSegLinetoHorizontalRel.x')
- @DocsEditable()
- num get x =>
- _blink.BlinkSVGPathSegLinetoHorizontalRel.instance.x_Getter_(this);
-
- @DomName('SVGPathSegLinetoHorizontalRel.x')
- @DocsEditable()
- set x(num value) =>
- _blink.BlinkSVGPathSegLinetoHorizontalRel.instance.x_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegLinetoRel')
-@Unstable()
-class PathSegLinetoRel extends PathSeg {
- // To suppress missing implicit constructor warnings.
- factory PathSegLinetoRel._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegLinetoRel.internal_() : super.internal_();
-
- @DomName('SVGPathSegLinetoRel.x')
- @DocsEditable()
- num get x => _blink.BlinkSVGPathSegLinetoRel.instance.x_Getter_(this);
-
- @DomName('SVGPathSegLinetoRel.x')
- @DocsEditable()
- set x(num value) =>
- _blink.BlinkSVGPathSegLinetoRel.instance.x_Setter_(this, value);
-
- @DomName('SVGPathSegLinetoRel.y')
- @DocsEditable()
- num get y => _blink.BlinkSVGPathSegLinetoRel.instance.y_Getter_(this);
-
- @DomName('SVGPathSegLinetoRel.y')
- @DocsEditable()
- set y(num value) =>
- _blink.BlinkSVGPathSegLinetoRel.instance.y_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegLinetoVerticalAbs')
-@Unstable()
-class PathSegLinetoVerticalAbs extends PathSeg {
- // To suppress missing implicit constructor warnings.
- factory PathSegLinetoVerticalAbs._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegLinetoVerticalAbs.internal_() : super.internal_();
-
- @DomName('SVGPathSegLinetoVerticalAbs.y')
- @DocsEditable()
- num get y => _blink.BlinkSVGPathSegLinetoVerticalAbs.instance.y_Getter_(this);
-
- @DomName('SVGPathSegLinetoVerticalAbs.y')
- @DocsEditable()
- set y(num value) =>
- _blink.BlinkSVGPathSegLinetoVerticalAbs.instance.y_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegLinetoVerticalRel')
-@Unstable()
-class PathSegLinetoVerticalRel extends PathSeg {
- // To suppress missing implicit constructor warnings.
- factory PathSegLinetoVerticalRel._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegLinetoVerticalRel.internal_() : super.internal_();
-
- @DomName('SVGPathSegLinetoVerticalRel.y')
- @DocsEditable()
- num get y => _blink.BlinkSVGPathSegLinetoVerticalRel.instance.y_Getter_(this);
-
- @DomName('SVGPathSegLinetoVerticalRel.y')
- @DocsEditable()
- set y(num value) =>
- _blink.BlinkSVGPathSegLinetoVerticalRel.instance.y_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegList')
-@Unstable()
-class PathSegList extends DartHtmlDomObject
- with ListMixin<PathSeg>, ImmutableListMixin<PathSeg>
- implements List<PathSeg> {
- // To suppress missing implicit constructor warnings.
- factory PathSegList._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegList.internal_() {}
-
- @DomName('SVGPathSegList.length')
- @DocsEditable()
- @Experimental() // untriaged
- int get length => _blink.BlinkSVGPathSegList.instance.length_Getter_(this);
-
- @DomName('SVGPathSegList.numberOfItems')
- @DocsEditable()
- int get numberOfItems =>
- _blink.BlinkSVGPathSegList.instance.numberOfItems_Getter_(this);
-
- PathSeg operator [](int index) {
- if (index < 0 || index >= length) throw new RangeError.index(index, this);
- return getItem(index);
- }
-
- 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.");
- }
-
- PathSeg get first {
- if (this.length > 0) {
- return getItem(0);
- }
- throw new StateError("No elements");
- }
-
- PathSeg get last {
- int len = this.length;
- if (len > 0) {
- return getItem(len - 1);
- }
- throw new StateError("No elements");
- }
-
- PathSeg get single {
- int len = this.length;
- if (len == 1) {
- return getItem(0);
- }
- if (len == 0) throw new StateError("No elements");
- throw new StateError("More than one element");
- }
-
- PathSeg elementAt(int index) => this[index];
- // -- end List<PathSeg> mixins.
-
- @DomName('SVGPathSegList.__setter__')
- @DocsEditable()
- @Experimental() // untriaged
- void __setter__(int index, PathSeg newItem) =>
- _blink.BlinkSVGPathSegList.instance
- .$__setter___Callback_2_(this, index, newItem);
-
- @DomName('SVGPathSegList.appendItem')
- @DocsEditable()
- PathSeg appendItem(PathSeg newItem) =>
- _blink.BlinkSVGPathSegList.instance.appendItem_Callback_1_(this, newItem);
-
- @DomName('SVGPathSegList.clear')
- @DocsEditable()
- void clear() => _blink.BlinkSVGPathSegList.instance.clear_Callback_0_(this);
-
- @DomName('SVGPathSegList.getItem')
- @DocsEditable()
- PathSeg getItem(int index) =>
- _blink.BlinkSVGPathSegList.instance.getItem_Callback_1_(this, index);
-
- @DomName('SVGPathSegList.initialize')
- @DocsEditable()
- PathSeg initialize(PathSeg newItem) =>
- _blink.BlinkSVGPathSegList.instance.initialize_Callback_1_(this, newItem);
-
- @DomName('SVGPathSegList.insertItemBefore')
- @DocsEditable()
- PathSeg insertItemBefore(PathSeg newItem, int index) =>
- _blink.BlinkSVGPathSegList.instance
- .insertItemBefore_Callback_2_(this, newItem, index);
-
- @DomName('SVGPathSegList.removeItem')
- @DocsEditable()
- PathSeg removeItem(int index) =>
- _blink.BlinkSVGPathSegList.instance.removeItem_Callback_1_(this, index);
-
- @DomName('SVGPathSegList.replaceItem')
- @DocsEditable()
- PathSeg replaceItem(PathSeg newItem, int index) =>
- _blink.BlinkSVGPathSegList.instance
- .replaceItem_Callback_2_(this, newItem, index);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegMovetoAbs')
-@Unstable()
-class PathSegMovetoAbs extends PathSeg {
- // To suppress missing implicit constructor warnings.
- factory PathSegMovetoAbs._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegMovetoAbs.internal_() : super.internal_();
-
- @DomName('SVGPathSegMovetoAbs.x')
- @DocsEditable()
- num get x => _blink.BlinkSVGPathSegMovetoAbs.instance.x_Getter_(this);
-
- @DomName('SVGPathSegMovetoAbs.x')
- @DocsEditable()
- set x(num value) =>
- _blink.BlinkSVGPathSegMovetoAbs.instance.x_Setter_(this, value);
-
- @DomName('SVGPathSegMovetoAbs.y')
- @DocsEditable()
- num get y => _blink.BlinkSVGPathSegMovetoAbs.instance.y_Getter_(this);
-
- @DomName('SVGPathSegMovetoAbs.y')
- @DocsEditable()
- set y(num value) =>
- _blink.BlinkSVGPathSegMovetoAbs.instance.y_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPathSegMovetoRel')
-@Unstable()
-class PathSegMovetoRel extends PathSeg {
- // To suppress missing implicit constructor warnings.
- factory PathSegMovetoRel._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PathSegMovetoRel.internal_() : super.internal_();
-
- @DomName('SVGPathSegMovetoRel.x')
- @DocsEditable()
- num get x => _blink.BlinkSVGPathSegMovetoRel.instance.x_Getter_(this);
-
- @DomName('SVGPathSegMovetoRel.x')
- @DocsEditable()
- set x(num value) =>
- _blink.BlinkSVGPathSegMovetoRel.instance.x_Setter_(this, value);
-
- @DomName('SVGPathSegMovetoRel.y')
- @DocsEditable()
- num get y => _blink.BlinkSVGPathSegMovetoRel.instance.y_Getter_(this);
-
- @DomName('SVGPathSegMovetoRel.y')
- @DocsEditable()
- set y(num value) =>
- _blink.BlinkSVGPathSegMovetoRel.instance.y_Setter_(this, value);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPatternElement')
-@Unstable()
-class PatternElement extends SvgElement
- implements FitToViewBox, UriReference, Tests {
- // To suppress missing implicit constructor warnings.
- factory PatternElement._() {
- throw new UnsupportedError("Not supported");
- }
-
- @DomName('SVGPatternElement.SVGPatternElement')
- @DocsEditable()
- factory PatternElement() =>
- _SvgElementFactoryProvider.createSvgElement_tag("pattern");
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PatternElement.internal_() : super.internal_();
-
- /**
- * Constructor instantiated by the DOM when a custom element has been created.
- *
- * This can only be called by subclasses from their created constructor.
- */
- PatternElement.created() : super.created();
-
- @DomName('SVGPatternElement.height')
- @DocsEditable()
- AnimatedLength get height =>
- _blink.BlinkSVGPatternElement.instance.height_Getter_(this);
-
- @DomName('SVGPatternElement.patternContentUnits')
- @DocsEditable()
- AnimatedEnumeration get patternContentUnits =>
- _blink.BlinkSVGPatternElement.instance.patternContentUnits_Getter_(this);
-
- @DomName('SVGPatternElement.patternTransform')
- @DocsEditable()
- AnimatedTransformList get patternTransform =>
- _blink.BlinkSVGPatternElement.instance.patternTransform_Getter_(this);
-
- @DomName('SVGPatternElement.patternUnits')
- @DocsEditable()
- AnimatedEnumeration get patternUnits =>
- _blink.BlinkSVGPatternElement.instance.patternUnits_Getter_(this);
-
- @DomName('SVGPatternElement.width')
- @DocsEditable()
- AnimatedLength get width =>
- _blink.BlinkSVGPatternElement.instance.width_Getter_(this);
-
- @DomName('SVGPatternElement.x')
- @DocsEditable()
- AnimatedLength get x =>
- _blink.BlinkSVGPatternElement.instance.x_Getter_(this);
-
- @DomName('SVGPatternElement.y')
- @DocsEditable()
- AnimatedLength get y =>
- _blink.BlinkSVGPatternElement.instance.y_Getter_(this);
-
- @DomName('SVGPatternElement.preserveAspectRatio')
- @DocsEditable()
- AnimatedPreserveAspectRatio get preserveAspectRatio =>
- _blink.BlinkSVGPatternElement.instance.preserveAspectRatio_Getter_(this);
-
- @DomName('SVGPatternElement.viewBox')
- @DocsEditable()
- AnimatedRect get viewBox =>
- _blink.BlinkSVGPatternElement.instance.viewBox_Getter_(this);
-
- @DomName('SVGPatternElement.requiredExtensions')
- @DocsEditable()
- StringList get requiredExtensions =>
- _blink.BlinkSVGPatternElement.instance.requiredExtensions_Getter_(this);
-
- @DomName('SVGPatternElement.requiredFeatures')
- @DocsEditable()
- StringList get requiredFeatures =>
- _blink.BlinkSVGPatternElement.instance.requiredFeatures_Getter_(this);
-
- @DomName('SVGPatternElement.systemLanguage')
- @DocsEditable()
- StringList get systemLanguage =>
- _blink.BlinkSVGPatternElement.instance.systemLanguage_Getter_(this);
-
- @DomName('SVGPatternElement.hasExtension')
- @DocsEditable()
- bool hasExtension(String extension) => _blink.BlinkSVGPatternElement.instance
- .hasExtension_Callback_1_(this, extension);
-
- @DomName('SVGPatternElement.href')
- @DocsEditable()
- AnimatedString get href =>
- _blink.BlinkSVGPatternElement.instance.href_Getter_(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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPoint')
-@Unstable()
-class Point extends DartHtmlDomObject {
- // To suppress missing implicit constructor warnings.
- factory Point._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- Point.internal_() {}
-
- @DomName('SVGPoint.x')
- @DocsEditable()
- num get x => _blink.BlinkSVGPoint.instance.x_Getter_(this);
-
- @DomName('SVGPoint.x')
- @DocsEditable()
- set x(num value) => _blink.BlinkSVGPoint.instance.x_Setter_(this, value);
-
- @DomName('SVGPoint.y')
- @DocsEditable()
- num get y => _blink.BlinkSVGPoint.instance.y_Getter_(this);
-
- @DomName('SVGPoint.y')
- @DocsEditable()
- set y(num value) => _blink.BlinkSVGPoint.instance.y_Setter_(this, value);
-
- @DomName('SVGPoint.matrixTransform')
- @DocsEditable()
- Point matrixTransform(Matrix matrix) =>
- _blink.BlinkSVGPoint.instance.matrixTransform_Callback_1_(this, matrix);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPointList')
-@Unstable()
-class PointList extends DartHtmlDomObject {
- // To suppress missing implicit constructor warnings.
- factory PointList._() {
- throw new UnsupportedError("Not supported");
- }
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PointList.internal_() {}
-
- @DomName('SVGPointList.length')
- @DocsEditable()
- @Experimental() // untriaged
- int get length => _blink.BlinkSVGPointList.instance.length_Getter_(this);
-
- @DomName('SVGPointList.numberOfItems')
- @DocsEditable()
- int get numberOfItems =>
- _blink.BlinkSVGPointList.instance.numberOfItems_Getter_(this);
-
- @DomName('SVGPointList.__setter__')
- @DocsEditable()
- @Experimental() // untriaged
- void __setter__(int index, Point newItem) => _blink.BlinkSVGPointList.instance
- .$__setter___Callback_2_(this, index, newItem);
-
- @DomName('SVGPointList.appendItem')
- @DocsEditable()
- Point appendItem(Point newItem) =>
- _blink.BlinkSVGPointList.instance.appendItem_Callback_1_(this, newItem);
-
- @DomName('SVGPointList.clear')
- @DocsEditable()
- void clear() => _blink.BlinkSVGPointList.instance.clear_Callback_0_(this);
-
- @DomName('SVGPointList.getItem')
- @DocsEditable()
- Point getItem(int index) =>
- _blink.BlinkSVGPointList.instance.getItem_Callback_1_(this, index);
-
- @DomName('SVGPointList.initialize')
- @DocsEditable()
- Point initialize(Point newItem) =>
- _blink.BlinkSVGPointList.instance.initialize_Callback_1_(this, newItem);
-
- @DomName('SVGPointList.insertItemBefore')
- @DocsEditable()
- Point insertItemBefore(Point newItem, int index) =>
- _blink.BlinkSVGPointList.instance
- .insertItemBefore_Callback_2_(this, newItem, index);
-
- @DomName('SVGPointList.removeItem')
- @DocsEditable()
- Point removeItem(int index) =>
- _blink.BlinkSVGPointList.instance.removeItem_Callback_1_(this, index);
-
- @DomName('SVGPointList.replaceItem')
- @DocsEditable()
- Point replaceItem(Point newItem, int index) =>
- _blink.BlinkSVGPointList.instance
- .replaceItem_Callback_2_(this, newItem, index);
-}
-// 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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPolygonElement')
-@Unstable()
-class PolygonElement extends GeometryElement {
- // To suppress missing implicit constructor warnings.
- factory PolygonElement._() {
- throw new UnsupportedError("Not supported");
- }
-
- @DomName('SVGPolygonElement.SVGPolygonElement')
- @DocsEditable()
- factory PolygonElement() =>
- _SvgElementFactoryProvider.createSvgElement_tag("polygon");
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PolygonElement.internal_() : super.internal_();
-
- /**
- * Constructor instantiated by the DOM when a custom element has been created.
- *
- * This can only be called by subclasses from their created constructor.
- */
- PolygonElement.created() : super.created();
-
- @DomName('SVGPolygonElement.animatedPoints')
- @DocsEditable()
- PointList get animatedPoints =>
- _blink.BlinkSVGPolygonElement.instance.animatedPoints_Getter_(this);
-
- @DomName('SVGPolygonElement.points')
- @DocsEditable()
- PointList get points =>
- _blink.BlinkSVGPolygonElement.instance.points_Getter_(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.
-
-// WARNING: Do not edit - generated code.
-
-@DocsEditable()
-@DomName('SVGPolylineElement')
-@Unstable()
-class PolylineElement extends GeometryElement {
- // To suppress missing implicit constructor warnings.
- factory PolylineElement._() {
- throw new UnsupportedError("Not supported");
- }
-
- @DomName('SVGPolylineElement.SVGPolylineElement')
- @DocsEditable()
- factory PolylineElement() =>
- _SvgElementFactoryProvider.createSvgElement_tag("polyline");
-
- @Deprecated("Internal Use Only")
- external static Type get instanceRuntimeType;
-
- @Deprecated("Internal Use Only")
- PolylineElement.internal_() : super.internal_();
-
- /**
- * Constructor instantiated by the DOM when a custom element has been created.
- *
- * This can only be called by subclasses from their created constructor.
- */
- PolylineElement.created() : super.created();
-
- @DomName('SVGPolylineElement.animatedPoints')
- @DocsEditable()
- PointList get animatedPoints =>
- _blink.BlinkSVGPolylineElement.instance.animatedPoints_Getter_(this);
-
- @DomName('SVGPolylineElement.points')
+ @DomName('SVGPolylineElement.points')
@DocsEditable()
PointList get points =>
_blink.BlinkSVGPolylineElement.instance.points_Getter_(this);
@@ -6564,13 +5179,16 @@ 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 {
+class AttributeClassSet extends CssClassSetImpl {
final Element _element;
- _AttributeClassSet(this._element);
+ AttributeClassSet(this._element);
Set<String> readClasses() {
var classname = _element.attributes['class'];
+ if (classname is AnimatedString) {
+ classname = classname.baseVal;
+ }
Set<String> s = new LinkedHashSet<String>();
if (classname == null) {
@@ -6586,7 +5204,7 @@ class _AttributeClassSet extends CssClassSetImpl {
}
void writeClasses(Set s) {
- _element.attributes['class'] = s.join(' ');
+ _element.setAttribute('class', s.join(' '));
}
}
@@ -6615,7 +5233,7 @@ class SvgElement extends Element implements GlobalEventHandlers {
return fragment.nodes.where((e) => e is SvgElement).single;
}
- CssClassSet get classes => new _AttributeClassSet(this);
+ CssClassSet get classes => new AttributeClassSet(this);
List<Element> get children => new FilteredElementList(this);
@@ -7011,6 +5629,30 @@ class SvgElement extends Element implements GlobalEventHandlers {
static const EventStreamProvider<Event> timeUpdateEvent =
const EventStreamProvider<Event>('timeupdate');
+ @DomName('SVGElement.touchcancelEvent')
+ @DocsEditable()
+ @Experimental() // untriaged
+ static const EventStreamProvider<TouchEvent> touchCancelEvent =
+ const EventStreamProvider<TouchEvent>('touchcancel');
+
+ @DomName('SVGElement.touchendEvent')
+ @DocsEditable()
+ @Experimental() // untriaged
+ static const EventStreamProvider<TouchEvent> touchEndEvent =
+ const EventStreamProvider<TouchEvent>('touchend');
+
+ @DomName('SVGElement.touchmoveEvent')
+ @DocsEditable()
+ @Experimental() // untriaged
+ static const EventStreamProvider<TouchEvent> touchMoveEvent =
+ const EventStreamProvider<TouchEvent>('touchmove');
+
+ @DomName('SVGElement.touchstartEvent')
+ @DocsEditable()
+ @Experimental() // untriaged
+ static const EventStreamProvider<TouchEvent> touchStartEvent =
+ const EventStreamProvider<TouchEvent>('touchstart');
+
@DomName('SVGElement.volumechangeEvent')
@DocsEditable()
@Experimental() // untriaged
@@ -7336,6 +5978,28 @@ class SvgElement extends Element implements GlobalEventHandlers {
@Experimental() // untriaged
ElementStream<Event> get onTimeUpdate => timeUpdateEvent.forElement(this);
+ @DomName('SVGElement.ontouchcancel')
+ @DocsEditable()
+ @Experimental() // untriaged
+ ElementStream<TouchEvent> get onTouchCancel =>
+ touchCancelEvent.forElement(this);
+
+ @DomName('SVGElement.ontouchend')
+ @DocsEditable()
+ @Experimental() // untriaged
+ ElementStream<TouchEvent> get onTouchEnd => touchEndEvent.forElement(this);
+
+ @DomName('SVGElement.ontouchmove')
+ @DocsEditable()
+ @Experimental() // untriaged
+ ElementStream<TouchEvent> get onTouchMove => touchMoveEvent.forElement(this);
+
+ @DomName('SVGElement.ontouchstart')
+ @DocsEditable()
+ @Experimental() // untriaged
+ ElementStream<TouchEvent> get onTouchStart =>
+ touchStartEvent.forElement(this);
+
@DomName('SVGElement.onvolumechange')
@DocsEditable()
@Experimental() // untriaged
@@ -7404,26 +6068,6 @@ class SvgSvgElement extends GraphicsElement
AnimatedLength get height =>
_blink.BlinkSVGSVGElement.instance.height_Getter_(this);
- @DomName('SVGSVGElement.pixelUnitToMillimeterX')
- @DocsEditable()
- num get pixelUnitToMillimeterX =>
- _blink.BlinkSVGSVGElement.instance.pixelUnitToMillimeterX_Getter_(this);
-
- @DomName('SVGSVGElement.pixelUnitToMillimeterY')
- @DocsEditable()
- num get pixelUnitToMillimeterY =>
- _blink.BlinkSVGSVGElement.instance.pixelUnitToMillimeterY_Getter_(this);
-
- @DomName('SVGSVGElement.screenPixelToMillimeterX')
- @DocsEditable()
- num get screenPixelToMillimeterX =>
- _blink.BlinkSVGSVGElement.instance.screenPixelToMillimeterX_Getter_(this);
-
- @DomName('SVGSVGElement.screenPixelToMillimeterY')
- @DocsEditable()
- num get screenPixelToMillimeterY =>
- _blink.BlinkSVGSVGElement.instance.screenPixelToMillimeterY_Getter_(this);
-
@DomName('SVGSVGElement.useCurrentView')
@DocsEditable()
bool get useCurrentView =>
@@ -7724,10 +6368,6 @@ abstract class Tests extends DartHtmlDomObject {
@DomName('SVGTests.systemLanguage')
@DocsEditable()
StringList get systemLanguage;
-
- @DomName('SVGTests.hasExtension')
- @DocsEditable()
- bool hasExtension(String extension);
}
// 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

Powered by Google App Engine
This is Rietveld 408576698