| OLD | NEW |
| 1 /** | 1 /** |
| 2 * Scalable Vector Graphics: | 2 * Scalable Vector Graphics: |
| 3 * Two-dimensional vector graphics with support for events and animation. | 3 * Two-dimensional vector graphics with support for events and animation. |
| 4 * | 4 * |
| 5 * For details about the features and syntax of SVG, a W3C standard, | 5 * For details about the features and syntax of SVG, a W3C standard, |
| 6 * refer to the | 6 * refer to the |
| 7 * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/). | 7 * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/). |
| 8 */ | 8 */ |
| 9 library dart.dom.svg; | 9 library dart.dom.svg; |
| 10 | 10 |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 'SVGLineElement': () => LineElement.instanceRuntimeType, | 97 'SVGLineElement': () => LineElement.instanceRuntimeType, |
| 98 'SVGLinearGradientElement': () => LinearGradientElement.instanceRuntimeType, | 98 'SVGLinearGradientElement': () => LinearGradientElement.instanceRuntimeType, |
| 99 'SVGMPathElement': () => _SVGMPathElement.instanceRuntimeType, | 99 'SVGMPathElement': () => _SVGMPathElement.instanceRuntimeType, |
| 100 'SVGMarkerElement': () => MarkerElement.instanceRuntimeType, | 100 'SVGMarkerElement': () => MarkerElement.instanceRuntimeType, |
| 101 'SVGMaskElement': () => MaskElement.instanceRuntimeType, | 101 'SVGMaskElement': () => MaskElement.instanceRuntimeType, |
| 102 'SVGMatrix': () => Matrix.instanceRuntimeType, | 102 'SVGMatrix': () => Matrix.instanceRuntimeType, |
| 103 'SVGMetadataElement': () => MetadataElement.instanceRuntimeType, | 103 'SVGMetadataElement': () => MetadataElement.instanceRuntimeType, |
| 104 'SVGNumber': () => Number.instanceRuntimeType, | 104 'SVGNumber': () => Number.instanceRuntimeType, |
| 105 'SVGNumberList': () => NumberList.instanceRuntimeType, | 105 'SVGNumberList': () => NumberList.instanceRuntimeType, |
| 106 'SVGPathElement': () => PathElement.instanceRuntimeType, | 106 'SVGPathElement': () => PathElement.instanceRuntimeType, |
| 107 'SVGPathSeg': () => PathSeg.instanceRuntimeType, | |
| 108 'SVGPathSegArcAbs': () => PathSegArcAbs.instanceRuntimeType, | |
| 109 'SVGPathSegArcRel': () => PathSegArcRel.instanceRuntimeType, | |
| 110 'SVGPathSegClosePath': () => PathSegClosePath.instanceRuntimeType, | |
| 111 'SVGPathSegCurvetoCubicAbs': () => PathSegCurvetoCubicAbs.instanceRuntimeType, | |
| 112 'SVGPathSegCurvetoCubicRel': () => PathSegCurvetoCubicRel.instanceRuntimeType, | |
| 113 'SVGPathSegCurvetoCubicSmoothAbs': () => | |
| 114 PathSegCurvetoCubicSmoothAbs.instanceRuntimeType, | |
| 115 'SVGPathSegCurvetoCubicSmoothRel': () => | |
| 116 PathSegCurvetoCubicSmoothRel.instanceRuntimeType, | |
| 117 'SVGPathSegCurvetoQuadraticAbs': () => | |
| 118 PathSegCurvetoQuadraticAbs.instanceRuntimeType, | |
| 119 'SVGPathSegCurvetoQuadraticRel': () => | |
| 120 PathSegCurvetoQuadraticRel.instanceRuntimeType, | |
| 121 'SVGPathSegCurvetoQuadraticSmoothAbs': () => | |
| 122 PathSegCurvetoQuadraticSmoothAbs.instanceRuntimeType, | |
| 123 'SVGPathSegCurvetoQuadraticSmoothRel': () => | |
| 124 PathSegCurvetoQuadraticSmoothRel.instanceRuntimeType, | |
| 125 'SVGPathSegLinetoAbs': () => PathSegLinetoAbs.instanceRuntimeType, | |
| 126 'SVGPathSegLinetoHorizontalAbs': () => | |
| 127 PathSegLinetoHorizontalAbs.instanceRuntimeType, | |
| 128 'SVGPathSegLinetoHorizontalRel': () => | |
| 129 PathSegLinetoHorizontalRel.instanceRuntimeType, | |
| 130 'SVGPathSegLinetoRel': () => PathSegLinetoRel.instanceRuntimeType, | |
| 131 'SVGPathSegLinetoVerticalAbs': () => | |
| 132 PathSegLinetoVerticalAbs.instanceRuntimeType, | |
| 133 'SVGPathSegLinetoVerticalRel': () => | |
| 134 PathSegLinetoVerticalRel.instanceRuntimeType, | |
| 135 'SVGPathSegList': () => PathSegList.instanceRuntimeType, | |
| 136 'SVGPathSegMovetoAbs': () => PathSegMovetoAbs.instanceRuntimeType, | |
| 137 'SVGPathSegMovetoRel': () => PathSegMovetoRel.instanceRuntimeType, | |
| 138 'SVGPatternElement': () => PatternElement.instanceRuntimeType, | 107 'SVGPatternElement': () => PatternElement.instanceRuntimeType, |
| 139 'SVGPoint': () => Point.instanceRuntimeType, | 108 'SVGPoint': () => Point.instanceRuntimeType, |
| 140 'SVGPointList': () => PointList.instanceRuntimeType, | 109 'SVGPointList': () => PointList.instanceRuntimeType, |
| 141 'SVGPolygonElement': () => PolygonElement.instanceRuntimeType, | 110 'SVGPolygonElement': () => PolygonElement.instanceRuntimeType, |
| 142 'SVGPolylineElement': () => PolylineElement.instanceRuntimeType, | 111 'SVGPolylineElement': () => PolylineElement.instanceRuntimeType, |
| 143 'SVGPreserveAspectRatio': () => PreserveAspectRatio.instanceRuntimeType, | 112 'SVGPreserveAspectRatio': () => PreserveAspectRatio.instanceRuntimeType, |
| 144 'SVGRadialGradientElement': () => RadialGradientElement.instanceRuntimeType, | 113 'SVGRadialGradientElement': () => RadialGradientElement.instanceRuntimeType, |
| 145 'SVGRect': () => Rect.instanceRuntimeType, | 114 'SVGRect': () => Rect.instanceRuntimeType, |
| 146 'SVGRectElement': () => RectElement.instanceRuntimeType, | 115 'SVGRectElement': () => RectElement.instanceRuntimeType, |
| 147 'SVGSVGElement': () => SvgSvgElement.instanceRuntimeType, | 116 'SVGSVGElement': () => SvgSvgElement.instanceRuntimeType, |
| (...skipping 753 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 901 | 870 |
| 902 @DomName('SVGAnimationElement.requiredFeatures') | 871 @DomName('SVGAnimationElement.requiredFeatures') |
| 903 @DocsEditable() | 872 @DocsEditable() |
| 904 StringList get requiredFeatures => | 873 StringList get requiredFeatures => |
| 905 _blink.BlinkSVGAnimationElement.instance.requiredFeatures_Getter_(this); | 874 _blink.BlinkSVGAnimationElement.instance.requiredFeatures_Getter_(this); |
| 906 | 875 |
| 907 @DomName('SVGAnimationElement.systemLanguage') | 876 @DomName('SVGAnimationElement.systemLanguage') |
| 908 @DocsEditable() | 877 @DocsEditable() |
| 909 StringList get systemLanguage => | 878 StringList get systemLanguage => |
| 910 _blink.BlinkSVGAnimationElement.instance.systemLanguage_Getter_(this); | 879 _blink.BlinkSVGAnimationElement.instance.systemLanguage_Getter_(this); |
| 911 | |
| 912 @DomName('SVGAnimationElement.hasExtension') | |
| 913 @DocsEditable() | |
| 914 bool hasExtension(String extension) => | |
| 915 _blink.BlinkSVGAnimationElement.instance | |
| 916 .hasExtension_Callback_1_(this, extension); | |
| 917 } | 880 } |
| 918 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 881 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 919 // for details. All rights reserved. Use of this source code is governed by a | 882 // for details. All rights reserved. Use of this source code is governed by a |
| 920 // BSD-style license that can be found in the LICENSE file. | 883 // BSD-style license that can be found in the LICENSE file. |
| 921 | 884 |
| 922 // WARNING: Do not edit - generated code. | 885 // WARNING: Do not edit - generated code. |
| 923 | 886 |
| 924 @DocsEditable() | 887 @DocsEditable() |
| 925 @DomName('SVGCircleElement') | 888 @DomName('SVGCircleElement') |
| 926 @Unstable() | 889 @Unstable() |
| (...skipping 2438 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3365 @Experimental() // untriaged | 3328 @Experimental() // untriaged |
| 3366 Matrix getCtm() => | 3329 Matrix getCtm() => |
| 3367 _blink.BlinkSVGGraphicsElement.instance.getCTM_Callback_0_(this); | 3330 _blink.BlinkSVGGraphicsElement.instance.getCTM_Callback_0_(this); |
| 3368 | 3331 |
| 3369 @DomName('SVGGraphicsElement.getScreenCTM') | 3332 @DomName('SVGGraphicsElement.getScreenCTM') |
| 3370 @DocsEditable() | 3333 @DocsEditable() |
| 3371 @Experimental() // untriaged | 3334 @Experimental() // untriaged |
| 3372 Matrix getScreenCtm() => | 3335 Matrix getScreenCtm() => |
| 3373 _blink.BlinkSVGGraphicsElement.instance.getScreenCTM_Callback_0_(this); | 3336 _blink.BlinkSVGGraphicsElement.instance.getScreenCTM_Callback_0_(this); |
| 3374 | 3337 |
| 3375 @DomName('SVGGraphicsElement.getTransformToElement') | |
| 3376 @DocsEditable() | |
| 3377 @Experimental() // untriaged | |
| 3378 Matrix getTransformToElement(SvgElement element) => | |
| 3379 _blink.BlinkSVGGraphicsElement.instance | |
| 3380 .getTransformToElement_Callback_1_(this, element); | |
| 3381 | |
| 3382 @DomName('SVGGraphicsElement.requiredExtensions') | 3338 @DomName('SVGGraphicsElement.requiredExtensions') |
| 3383 @DocsEditable() | 3339 @DocsEditable() |
| 3384 @Experimental() // untriaged | 3340 @Experimental() // untriaged |
| 3385 StringList get requiredExtensions => | 3341 StringList get requiredExtensions => |
| 3386 _blink.BlinkSVGGraphicsElement.instance.requiredExtensions_Getter_(this); | 3342 _blink.BlinkSVGGraphicsElement.instance.requiredExtensions_Getter_(this); |
| 3387 | 3343 |
| 3388 @DomName('SVGGraphicsElement.requiredFeatures') | 3344 @DomName('SVGGraphicsElement.requiredFeatures') |
| 3389 @DocsEditable() | 3345 @DocsEditable() |
| 3390 @Experimental() // untriaged | 3346 @Experimental() // untriaged |
| 3391 StringList get requiredFeatures => | 3347 StringList get requiredFeatures => |
| 3392 _blink.BlinkSVGGraphicsElement.instance.requiredFeatures_Getter_(this); | 3348 _blink.BlinkSVGGraphicsElement.instance.requiredFeatures_Getter_(this); |
| 3393 | 3349 |
| 3394 @DomName('SVGGraphicsElement.systemLanguage') | 3350 @DomName('SVGGraphicsElement.systemLanguage') |
| 3395 @DocsEditable() | 3351 @DocsEditable() |
| 3396 @Experimental() // untriaged | 3352 @Experimental() // untriaged |
| 3397 StringList get systemLanguage => | 3353 StringList get systemLanguage => |
| 3398 _blink.BlinkSVGGraphicsElement.instance.systemLanguage_Getter_(this); | 3354 _blink.BlinkSVGGraphicsElement.instance.systemLanguage_Getter_(this); |
| 3399 | |
| 3400 @DomName('SVGGraphicsElement.hasExtension') | |
| 3401 @DocsEditable() | |
| 3402 @Experimental() // untriaged | |
| 3403 bool hasExtension(String extension) => _blink.BlinkSVGGraphicsElement.instance | |
| 3404 .hasExtension_Callback_1_(this, extension); | |
| 3405 } | 3355 } |
| 3406 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3356 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3407 // for details. All rights reserved. Use of this source code is governed by a | 3357 // for details. All rights reserved. Use of this source code is governed by a |
| 3408 // BSD-style license that can be found in the LICENSE file. | 3358 // BSD-style license that can be found in the LICENSE file. |
| 3409 | 3359 |
| 3410 // WARNING: Do not edit - generated code. | 3360 // WARNING: Do not edit - generated code. |
| 3411 | 3361 |
| 3412 @DocsEditable() | 3362 @DocsEditable() |
| 3413 @DomName('SVGImageElement') | 3363 @DomName('SVGImageElement') |
| 3414 @Unstable() | 3364 @Unstable() |
| (...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3973 | 3923 |
| 3974 @DomName('SVGMaskElement.requiredFeatures') | 3924 @DomName('SVGMaskElement.requiredFeatures') |
| 3975 @DocsEditable() | 3925 @DocsEditable() |
| 3976 StringList get requiredFeatures => | 3926 StringList get requiredFeatures => |
| 3977 _blink.BlinkSVGMaskElement.instance.requiredFeatures_Getter_(this); | 3927 _blink.BlinkSVGMaskElement.instance.requiredFeatures_Getter_(this); |
| 3978 | 3928 |
| 3979 @DomName('SVGMaskElement.systemLanguage') | 3929 @DomName('SVGMaskElement.systemLanguage') |
| 3980 @DocsEditable() | 3930 @DocsEditable() |
| 3981 StringList get systemLanguage => | 3931 StringList get systemLanguage => |
| 3982 _blink.BlinkSVGMaskElement.instance.systemLanguage_Getter_(this); | 3932 _blink.BlinkSVGMaskElement.instance.systemLanguage_Getter_(this); |
| 3983 | |
| 3984 @DomName('SVGMaskElement.hasExtension') | |
| 3985 @DocsEditable() | |
| 3986 bool hasExtension(String extension) => _blink.BlinkSVGMaskElement.instance | |
| 3987 .hasExtension_Callback_1_(this, extension); | |
| 3988 } | 3933 } |
| 3989 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3934 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3990 // for details. All rights reserved. Use of this source code is governed by a | 3935 // for details. All rights reserved. Use of this source code is governed by a |
| 3991 // BSD-style license that can be found in the LICENSE file. | 3936 // BSD-style license that can be found in the LICENSE file. |
| 3992 | 3937 |
| 3993 // WARNING: Do not edit - generated code. | 3938 // WARNING: Do not edit - generated code. |
| 3994 | 3939 |
| 3995 @DocsEditable() | 3940 @DocsEditable() |
| 3996 @DomName('SVGMatrix') | 3941 @DomName('SVGMatrix') |
| 3997 @Unstable() | 3942 @Unstable() |
| (...skipping 312 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 4310 @Deprecated("Internal Use Only") | 4255 @Deprecated("Internal Use Only") |
| 4311 PathElement.internal_() : super.internal_(); | 4256 PathElement.internal_() : super.internal_(); |
| 4312 | 4257 |
| 4313 /** | 4258 /** |
| 4314 * Constructor instantiated by the DOM when a custom element has been created. | 4259 * Constructor instantiated by the DOM when a custom element has been created. |
| 4315 * | 4260 * |
| 4316 * This can only be called by subclasses from their created constructor. | 4261 * This can only be called by subclasses from their created constructor. |
| 4317 */ | 4262 */ |
| 4318 PathElement.created() : super.created(); | 4263 PathElement.created() : super.created(); |
| 4319 | 4264 |
| 4320 @DomName('SVGPathElement.animatedNormalizedPathSegList') | |
| 4321 @DocsEditable() | |
| 4322 PathSegList get animatedNormalizedPathSegList => | |
| 4323 _blink.BlinkSVGPathElement.instance | |
| 4324 .animatedNormalizedPathSegList_Getter_(this); | |
| 4325 | |
| 4326 @DomName('SVGPathElement.animatedPathSegList') | |
| 4327 @DocsEditable() | |
| 4328 PathSegList get animatedPathSegList => | |
| 4329 _blink.BlinkSVGPathElement.instance.animatedPathSegList_Getter_(this); | |
| 4330 | |
| 4331 @DomName('SVGPathElement.normalizedPathSegList') | |
| 4332 @DocsEditable() | |
| 4333 PathSegList get normalizedPathSegList => | |
| 4334 _blink.BlinkSVGPathElement.instance.normalizedPathSegList_Getter_(this); | |
| 4335 | |
| 4336 @DomName('SVGPathElement.pathLength') | 4265 @DomName('SVGPathElement.pathLength') |
| 4337 @DocsEditable() | 4266 @DocsEditable() |
| 4338 AnimatedNumber get pathLength => | 4267 AnimatedNumber get pathLength => |
| 4339 _blink.BlinkSVGPathElement.instance.pathLength_Getter_(this); | 4268 _blink.BlinkSVGPathElement.instance.pathLength_Getter_(this); |
| 4340 | 4269 |
| 4341 @DomName('SVGPathElement.pathSegList') | |
| 4342 @DocsEditable() | |
| 4343 PathSegList get pathSegList => | |
| 4344 _blink.BlinkSVGPathElement.instance.pathSegList_Getter_(this); | |
| 4345 | |
| 4346 @DomName('SVGPathElement.createSVGPathSegArcAbs') | |
| 4347 @DocsEditable() | |
| 4348 PathSegArcAbs createSvgPathSegArcAbs(num x, num y, num r1, num r2, num angle, | |
| 4349 bool largeArcFlag, bool sweepFlag) => | |
| 4350 _blink.BlinkSVGPathElement.instance.createSVGPathSegArcAbs_Callback_7_( | |
| 4351 this, x, y, r1, r2, angle, largeArcFlag, sweepFlag); | |
| 4352 | |
| 4353 @DomName('SVGPathElement.createSVGPathSegArcRel') | |
| 4354 @DocsEditable() | |
| 4355 PathSegArcRel createSvgPathSegArcRel(num x, num y, num r1, num r2, num angle, | |
| 4356 bool largeArcFlag, bool sweepFlag) => | |
| 4357 _blink.BlinkSVGPathElement.instance.createSVGPathSegArcRel_Callback_7_( | |
| 4358 this, x, y, r1, r2, angle, largeArcFlag, sweepFlag); | |
| 4359 | |
| 4360 @DomName('SVGPathElement.createSVGPathSegClosePath') | |
| 4361 @DocsEditable() | |
| 4362 PathSegClosePath createSvgPathSegClosePath() => | |
| 4363 _blink.BlinkSVGPathElement.instance | |
| 4364 .createSVGPathSegClosePath_Callback_0_(this); | |
| 4365 | |
| 4366 @DomName('SVGPathElement.createSVGPathSegCurvetoCubicAbs') | |
| 4367 @DocsEditable() | |
| 4368 PathSegCurvetoCubicAbs createSvgPathSegCurvetoCubicAbs( | |
| 4369 num x, num y, num x1, num y1, num x2, num y2) => | |
| 4370 _blink.BlinkSVGPathElement.instance | |
| 4371 .createSVGPathSegCurvetoCubicAbs_Callback_6_( | |
| 4372 this, x, y, x1, y1, x2, y2); | |
| 4373 | |
| 4374 @DomName('SVGPathElement.createSVGPathSegCurvetoCubicRel') | |
| 4375 @DocsEditable() | |
| 4376 PathSegCurvetoCubicRel createSvgPathSegCurvetoCubicRel( | |
| 4377 num x, num y, num x1, num y1, num x2, num y2) => | |
| 4378 _blink.BlinkSVGPathElement.instance | |
| 4379 .createSVGPathSegCurvetoCubicRel_Callback_6_( | |
| 4380 this, x, y, x1, y1, x2, y2); | |
| 4381 | |
| 4382 @DomName('SVGPathElement.createSVGPathSegCurvetoCubicSmoothAbs') | |
| 4383 @DocsEditable() | |
| 4384 PathSegCurvetoCubicSmoothAbs createSvgPathSegCurvetoCubicSmoothAbs( | |
| 4385 num x, num y, num x2, num y2) => | |
| 4386 _blink.BlinkSVGPathElement.instance | |
| 4387 .createSVGPathSegCurvetoCubicSmoothAbs_Callback_4_( | |
| 4388 this, x, y, x2, y2); | |
| 4389 | |
| 4390 @DomName('SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel') | |
| 4391 @DocsEditable() | |
| 4392 PathSegCurvetoCubicSmoothRel createSvgPathSegCurvetoCubicSmoothRel( | |
| 4393 num x, num y, num x2, num y2) => | |
| 4394 _blink.BlinkSVGPathElement.instance | |
| 4395 .createSVGPathSegCurvetoCubicSmoothRel_Callback_4_( | |
| 4396 this, x, y, x2, y2); | |
| 4397 | |
| 4398 @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticAbs') | |
| 4399 @DocsEditable() | |
| 4400 PathSegCurvetoQuadraticAbs createSvgPathSegCurvetoQuadraticAbs( | |
| 4401 num x, num y, num x1, num y1) => | |
| 4402 _blink.BlinkSVGPathElement.instance | |
| 4403 .createSVGPathSegCurvetoQuadraticAbs_Callback_4_(this, x, y, x1, y1); | |
| 4404 | |
| 4405 @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticRel') | |
| 4406 @DocsEditable() | |
| 4407 PathSegCurvetoQuadraticRel createSvgPathSegCurvetoQuadraticRel( | |
| 4408 num x, num y, num x1, num y1) => | |
| 4409 _blink.BlinkSVGPathElement.instance | |
| 4410 .createSVGPathSegCurvetoQuadraticRel_Callback_4_(this, x, y, x1, y1); | |
| 4411 | |
| 4412 @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothAbs') | |
| 4413 @DocsEditable() | |
| 4414 PathSegCurvetoQuadraticSmoothAbs createSvgPathSegCurvetoQuadraticSmoothAbs( | |
| 4415 num x, num y) => | |
| 4416 _blink.BlinkSVGPathElement.instance | |
| 4417 .createSVGPathSegCurvetoQuadraticSmoothAbs_Callback_2_(this, x, y); | |
| 4418 | |
| 4419 @DomName('SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothRel') | |
| 4420 @DocsEditable() | |
| 4421 PathSegCurvetoQuadraticSmoothRel createSvgPathSegCurvetoQuadraticSmoothRel( | |
| 4422 num x, num y) => | |
| 4423 _blink.BlinkSVGPathElement.instance | |
| 4424 .createSVGPathSegCurvetoQuadraticSmoothRel_Callback_2_(this, x, y); | |
| 4425 | |
| 4426 @DomName('SVGPathElement.createSVGPathSegLinetoAbs') | |
| 4427 @DocsEditable() | |
| 4428 PathSegLinetoAbs createSvgPathSegLinetoAbs(num x, num y) => | |
| 4429 _blink.BlinkSVGPathElement.instance | |
| 4430 .createSVGPathSegLinetoAbs_Callback_2_(this, x, y); | |
| 4431 | |
| 4432 @DomName('SVGPathElement.createSVGPathSegLinetoHorizontalAbs') | |
| 4433 @DocsEditable() | |
| 4434 PathSegLinetoHorizontalAbs createSvgPathSegLinetoHorizontalAbs(num x) => | |
| 4435 _blink.BlinkSVGPathElement.instance | |
| 4436 .createSVGPathSegLinetoHorizontalAbs_Callback_1_(this, x); | |
| 4437 | |
| 4438 @DomName('SVGPathElement.createSVGPathSegLinetoHorizontalRel') | |
| 4439 @DocsEditable() | |
| 4440 PathSegLinetoHorizontalRel createSvgPathSegLinetoHorizontalRel(num x) => | |
| 4441 _blink.BlinkSVGPathElement.instance | |
| 4442 .createSVGPathSegLinetoHorizontalRel_Callback_1_(this, x); | |
| 4443 | |
| 4444 @DomName('SVGPathElement.createSVGPathSegLinetoRel') | |
| 4445 @DocsEditable() | |
| 4446 PathSegLinetoRel createSvgPathSegLinetoRel(num x, num y) => | |
| 4447 _blink.BlinkSVGPathElement.instance | |
| 4448 .createSVGPathSegLinetoRel_Callback_2_(this, x, y); | |
| 4449 | |
| 4450 @DomName('SVGPathElement.createSVGPathSegLinetoVerticalAbs') | |
| 4451 @DocsEditable() | |
| 4452 PathSegLinetoVerticalAbs createSvgPathSegLinetoVerticalAbs(num y) => | |
| 4453 _blink.BlinkSVGPathElement.instance | |
| 4454 .createSVGPathSegLinetoVerticalAbs_Callback_1_(this, y); | |
| 4455 | |
| 4456 @DomName('SVGPathElement.createSVGPathSegLinetoVerticalRel') | |
| 4457 @DocsEditable() | |
| 4458 PathSegLinetoVerticalRel createSvgPathSegLinetoVerticalRel(num y) => | |
| 4459 _blink.BlinkSVGPathElement.instance | |
| 4460 .createSVGPathSegLinetoVerticalRel_Callback_1_(this, y); | |
| 4461 | |
| 4462 @DomName('SVGPathElement.createSVGPathSegMovetoAbs') | |
| 4463 @DocsEditable() | |
| 4464 PathSegMovetoAbs createSvgPathSegMovetoAbs(num x, num y) => | |
| 4465 _blink.BlinkSVGPathElement.instance | |
| 4466 .createSVGPathSegMovetoAbs_Callback_2_(this, x, y); | |
| 4467 | |
| 4468 @DomName('SVGPathElement.createSVGPathSegMovetoRel') | |
| 4469 @DocsEditable() | |
| 4470 PathSegMovetoRel createSvgPathSegMovetoRel(num x, num y) => | |
| 4471 _blink.BlinkSVGPathElement.instance | |
| 4472 .createSVGPathSegMovetoRel_Callback_2_(this, x, y); | |
| 4473 | |
| 4474 @DomName('SVGPathElement.getPathSegAtLength') | 4270 @DomName('SVGPathElement.getPathSegAtLength') |
| 4475 @DocsEditable() | 4271 @DocsEditable() |
| 4476 int getPathSegAtLength(num distance) => _blink.BlinkSVGPathElement.instance | 4272 int getPathSegAtLength(num distance) => _blink.BlinkSVGPathElement.instance |
| 4477 .getPathSegAtLength_Callback_1_(this, distance); | 4273 .getPathSegAtLength_Callback_1_(this, distance); |
| 4478 | 4274 |
| 4479 @DomName('SVGPathElement.getPointAtLength') | 4275 @DomName('SVGPathElement.getPointAtLength') |
| 4480 @DocsEditable() | 4276 @DocsEditable() |
| 4481 Point getPointAtLength(num distance) => _blink.BlinkSVGPathElement.instance | 4277 Point getPointAtLength(num distance) => _blink.BlinkSVGPathElement.instance |
| 4482 .getPointAtLength_Callback_1_(this, distance); | 4278 .getPointAtLength_Callback_1_(this, distance); |
| 4483 | 4279 |
| 4484 @DomName('SVGPathElement.getTotalLength') | 4280 @DomName('SVGPathElement.getTotalLength') |
| 4485 @DocsEditable() | 4281 @DocsEditable() |
| 4486 num getTotalLength() => | 4282 num getTotalLength() => |
| 4487 _blink.BlinkSVGPathElement.instance.getTotalLength_Callback_0_(this); | 4283 _blink.BlinkSVGPathElement.instance.getTotalLength_Callback_0_(this); |
| 4488 } | 4284 } |
| 4489 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4285 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4490 // for details. All rights reserved. Use of this source code is governed by a | 4286 // for details. All rights reserved. Use of this source code is governed by a |
| 4491 // BSD-style license that can be found in the LICENSE file. | 4287 // BSD-style license that can be found in the LICENSE file. |
| 4492 | 4288 |
| 4493 // WARNING: Do not edit - generated code. | 4289 // WARNING: Do not edit - generated code. |
| 4494 | 4290 |
| 4495 @DocsEditable() | 4291 @DocsEditable() |
| 4496 @DomName('SVGPathSeg') | 4292 @DomName('SVGPatternElement') |
| 4497 @Unstable() | 4293 @Unstable() |
| 4498 class PathSeg extends DartHtmlDomObject { | 4294 class PatternElement extends SvgElement |
| 4295 implements FitToViewBox, UriReference, Tests { |
| 4499 // To suppress missing implicit constructor warnings. | 4296 // To suppress missing implicit constructor warnings. |
| 4500 factory PathSeg._() { | 4297 factory PatternElement._() { |
| 4501 throw new UnsupportedError("Not supported"); | 4298 throw new UnsupportedError("Not supported"); |
| 4502 } | 4299 } |
| 4503 | 4300 |
| 4301 @DomName('SVGPatternElement.SVGPatternElement') |
| 4302 @DocsEditable() |
| 4303 factory PatternElement() => |
| 4304 _SvgElementFactoryProvider.createSvgElement_tag("pattern"); |
| 4305 |
| 4504 @Deprecated("Internal Use Only") | 4306 @Deprecated("Internal Use Only") |
| 4505 external static Type get instanceRuntimeType; | 4307 external static Type get instanceRuntimeType; |
| 4506 | 4308 |
| 4507 @Deprecated("Internal Use Only") | 4309 @Deprecated("Internal Use Only") |
| 4508 PathSeg.internal_() {} | 4310 PatternElement.internal_() : super.internal_(); |
| 4509 | 4311 |
| 4510 @DomName('SVGPathSeg.PATHSEG_ARC_ABS') | 4312 /** |
| 4313 * Constructor instantiated by the DOM when a custom element has been created. |
| 4314 * |
| 4315 * This can only be called by subclasses from their created constructor. |
| 4316 */ |
| 4317 PatternElement.created() : super.created(); |
| 4318 |
| 4319 @DomName('SVGPatternElement.height') |
| 4511 @DocsEditable() | 4320 @DocsEditable() |
| 4512 static const int PATHSEG_ARC_ABS = 10; | 4321 AnimatedLength get height => |
| 4322 _blink.BlinkSVGPatternElement.instance.height_Getter_(this); |
| 4513 | 4323 |
| 4514 @DomName('SVGPathSeg.PATHSEG_ARC_REL') | 4324 @DomName('SVGPatternElement.patternContentUnits') |
| 4515 @DocsEditable() | 4325 @DocsEditable() |
| 4516 static const int PATHSEG_ARC_REL = 11; | 4326 AnimatedEnumeration get patternContentUnits => |
| 4327 _blink.BlinkSVGPatternElement.instance.patternContentUnits_Getter_(this); |
| 4517 | 4328 |
| 4518 @DomName('SVGPathSeg.PATHSEG_CLOSEPATH') | 4329 @DomName('SVGPatternElement.patternTransform') |
| 4519 @DocsEditable() | 4330 @DocsEditable() |
| 4520 static const int PATHSEG_CLOSEPATH = 1; | 4331 AnimatedTransformList get patternTransform => |
| 4332 _blink.BlinkSVGPatternElement.instance.patternTransform_Getter_(this); |
| 4521 | 4333 |
| 4522 @DomName('SVGPathSeg.PATHSEG_CURVETO_CUBIC_ABS') | 4334 @DomName('SVGPatternElement.patternUnits') |
| 4523 @DocsEditable() | 4335 @DocsEditable() |
| 4524 static const int PATHSEG_CURVETO_CUBIC_ABS = 6; | 4336 AnimatedEnumeration get patternUnits => |
| 4337 _blink.BlinkSVGPatternElement.instance.patternUnits_Getter_(this); |
| 4525 | 4338 |
| 4526 @DomName('SVGPathSeg.PATHSEG_CURVETO_CUBIC_REL') | 4339 @DomName('SVGPatternElement.width') |
| 4527 @DocsEditable() | 4340 @DocsEditable() |
| 4528 static const int PATHSEG_CURVETO_CUBIC_REL = 7; | 4341 AnimatedLength get width => |
| 4342 _blink.BlinkSVGPatternElement.instance.width_Getter_(this); |
| 4529 | 4343 |
| 4530 @DomName('SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_ABS') | 4344 @DomName('SVGPatternElement.x') |
| 4531 @DocsEditable() | 4345 @DocsEditable() |
| 4532 static const int PATHSEG_CURVETO_CUBIC_SMOOTH_ABS = 16; | 4346 AnimatedLength get x => |
| 4347 _blink.BlinkSVGPatternElement.instance.x_Getter_(this); |
| 4533 | 4348 |
| 4534 @DomName('SVGPathSeg.PATHSEG_CURVETO_CUBIC_SMOOTH_REL') | 4349 @DomName('SVGPatternElement.y') |
| 4535 @DocsEditable() | 4350 @DocsEditable() |
| 4536 static const int PATHSEG_CURVETO_CUBIC_SMOOTH_REL = 17; | 4351 AnimatedLength get y => |
| 4352 _blink.BlinkSVGPatternElement.instance.y_Getter_(this); |
| 4537 | 4353 |
| 4538 @DomName('SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_ABS') | 4354 @DomName('SVGPatternElement.preserveAspectRatio') |
| 4539 @DocsEditable() | 4355 @DocsEditable() |
| 4540 static const int PATHSEG_CURVETO_QUADRATIC_ABS = 8; | 4356 AnimatedPreserveAspectRatio get preserveAspectRatio => |
| 4357 _blink.BlinkSVGPatternElement.instance.preserveAspectRatio_Getter_(this); |
| 4541 | 4358 |
| 4542 @DomName('SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_REL') | 4359 @DomName('SVGPatternElement.viewBox') |
| 4543 @DocsEditable() | 4360 @DocsEditable() |
| 4544 static const int PATHSEG_CURVETO_QUADRATIC_REL = 9; | 4361 AnimatedRect get viewBox => |
| 4362 _blink.BlinkSVGPatternElement.instance.viewBox_Getter_(this); |
| 4545 | 4363 |
| 4546 @DomName('SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS') | 4364 @DomName('SVGPatternElement.requiredExtensions') |
| 4547 @DocsEditable() | 4365 @DocsEditable() |
| 4548 static const int PATHSEG_CURVETO_QUADRATIC_SMOOTH_ABS = 18; | 4366 StringList get requiredExtensions => |
| 4367 _blink.BlinkSVGPatternElement.instance.requiredExtensions_Getter_(this); |
| 4549 | 4368 |
| 4550 @DomName('SVGPathSeg.PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL') | 4369 @DomName('SVGPatternElement.requiredFeatures') |
| 4551 @DocsEditable() | 4370 @DocsEditable() |
| 4552 static const int PATHSEG_CURVETO_QUADRATIC_SMOOTH_REL = 19; | 4371 StringList get requiredFeatures => |
| 4372 _blink.BlinkSVGPatternElement.instance.requiredFeatures_Getter_(this); |
| 4553 | 4373 |
| 4554 @DomName('SVGPathSeg.PATHSEG_LINETO_ABS') | 4374 @DomName('SVGPatternElement.systemLanguage') |
| 4555 @DocsEditable() | 4375 @DocsEditable() |
| 4556 static const int PATHSEG_LINETO_ABS = 4; | 4376 StringList get systemLanguage => |
| 4377 _blink.BlinkSVGPatternElement.instance.systemLanguage_Getter_(this); |
| 4557 | 4378 |
| 4558 @DomName('SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_ABS') | 4379 @DomName('SVGPatternElement.href') |
| 4559 @DocsEditable() | 4380 @DocsEditable() |
| 4560 static const int PATHSEG_LINETO_HORIZONTAL_ABS = 12; | 4381 AnimatedString get href => |
| 4561 | 4382 _blink.BlinkSVGPatternElement.instance.href_Getter_(this); |
| 4562 @DomName('SVGPathSeg.PATHSEG_LINETO_HORIZONTAL_REL') | |
| 4563 @DocsEditable() | |
| 4564 static const int PATHSEG_LINETO_HORIZONTAL_REL = 13; | |
| 4565 | |
| 4566 @DomName('SVGPathSeg.PATHSEG_LINETO_REL') | |
| 4567 @DocsEditable() | |
| 4568 static const int PATHSEG_LINETO_REL = 5; | |
| 4569 | |
| 4570 @DomName('SVGPathSeg.PATHSEG_LINETO_VERTICAL_ABS') | |
| 4571 @DocsEditable() | |
| 4572 static const int PATHSEG_LINETO_VERTICAL_ABS = 14; | |
| 4573 | |
| 4574 @DomName('SVGPathSeg.PATHSEG_LINETO_VERTICAL_REL') | |
| 4575 @DocsEditable() | |
| 4576 static const int PATHSEG_LINETO_VERTICAL_REL = 15; | |
| 4577 | |
| 4578 @DomName('SVGPathSeg.PATHSEG_MOVETO_ABS') | |
| 4579 @DocsEditable() | |
| 4580 static const int PATHSEG_MOVETO_ABS = 2; | |
| 4581 | |
| 4582 @DomName('SVGPathSeg.PATHSEG_MOVETO_REL') | |
| 4583 @DocsEditable() | |
| 4584 static const int PATHSEG_MOVETO_REL = 3; | |
| 4585 | |
| 4586 @DomName('SVGPathSeg.PATHSEG_UNKNOWN') | |
| 4587 @DocsEditable() | |
| 4588 static const int PATHSEG_UNKNOWN = 0; | |
| 4589 | |
| 4590 @DomName('SVGPathSeg.pathSegType') | |
| 4591 @DocsEditable() | |
| 4592 int get pathSegType => | |
| 4593 _blink.BlinkSVGPathSeg.instance.pathSegType_Getter_(this); | |
| 4594 | |
| 4595 @DomName('SVGPathSeg.pathSegTypeAsLetter') | |
| 4596 @DocsEditable() | |
| 4597 String get pathSegTypeAsLetter => | |
| 4598 _blink.BlinkSVGPathSeg.instance.pathSegTypeAsLetter_Getter_(this); | |
| 4599 } | 4383 } |
| 4600 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4384 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4601 // for details. All rights reserved. Use of this source code is governed by a | 4385 // for details. All rights reserved. Use of this source code is governed by a |
| 4602 // BSD-style license that can be found in the LICENSE file. | 4386 // BSD-style license that can be found in the LICENSE file. |
| 4603 | 4387 |
| 4604 // WARNING: Do not edit - generated code. | 4388 // WARNING: Do not edit - generated code. |
| 4605 | 4389 |
| 4606 @DocsEditable() | 4390 @DocsEditable() |
| 4607 @DomName('SVGPathSegArcAbs') | 4391 @DomName('SVGPoint') |
| 4608 @Unstable() | 4392 @Unstable() |
| 4609 class PathSegArcAbs extends PathSeg { | 4393 class Point extends DartHtmlDomObject { |
| 4610 // To suppress missing implicit constructor warnings. | 4394 // To suppress missing implicit constructor warnings. |
| 4611 factory PathSegArcAbs._() { | 4395 factory Point._() { |
| 4612 throw new UnsupportedError("Not supported"); | 4396 throw new UnsupportedError("Not supported"); |
| 4613 } | 4397 } |
| 4614 | 4398 |
| 4615 @Deprecated("Internal Use Only") | 4399 @Deprecated("Internal Use Only") |
| 4616 external static Type get instanceRuntimeType; | 4400 external static Type get instanceRuntimeType; |
| 4617 | 4401 |
| 4618 @Deprecated("Internal Use Only") | 4402 @Deprecated("Internal Use Only") |
| 4619 PathSegArcAbs.internal_() : super.internal_(); | 4403 Point.internal_() {} |
| 4620 | 4404 |
| 4621 @DomName('SVGPathSegArcAbs.angle') | 4405 @DomName('SVGPoint.x') |
| 4622 @DocsEditable() | 4406 @DocsEditable() |
| 4623 num get angle => _blink.BlinkSVGPathSegArcAbs.instance.angle_Getter_(this); | 4407 num get x => _blink.BlinkSVGPoint.instance.x_Getter_(this); |
| 4624 | 4408 |
| 4625 @DomName('SVGPathSegArcAbs.angle') | 4409 @DomName('SVGPoint.x') |
| 4626 @DocsEditable() | 4410 @DocsEditable() |
| 4627 set angle(num value) => | 4411 set x(num value) => _blink.BlinkSVGPoint.instance.x_Setter_(this, value); |
| 4628 _blink.BlinkSVGPathSegArcAbs.instance.angle_Setter_(this, value); | |
| 4629 | 4412 |
| 4630 @DomName('SVGPathSegArcAbs.largeArcFlag') | 4413 @DomName('SVGPoint.y') |
| 4631 @DocsEditable() | 4414 @DocsEditable() |
| 4632 bool get largeArcFlag => | 4415 num get y => _blink.BlinkSVGPoint.instance.y_Getter_(this); |
| 4633 _blink.BlinkSVGPathSegArcAbs.instance.largeArcFlag_Getter_(this); | |
| 4634 | 4416 |
| 4635 @DomName('SVGPathSegArcAbs.largeArcFlag') | 4417 @DomName('SVGPoint.y') |
| 4636 @DocsEditable() | 4418 @DocsEditable() |
| 4637 set largeArcFlag(bool value) => | 4419 set y(num value) => _blink.BlinkSVGPoint.instance.y_Setter_(this, value); |
| 4638 _blink.BlinkSVGPathSegArcAbs.instance.largeArcFlag_Setter_(this, value); | |
| 4639 | 4420 |
| 4640 @DomName('SVGPathSegArcAbs.r1') | 4421 @DomName('SVGPoint.matrixTransform') |
| 4641 @DocsEditable() | 4422 @DocsEditable() |
| 4642 num get r1 => _blink.BlinkSVGPathSegArcAbs.instance.r1_Getter_(this); | 4423 Point matrixTransform(Matrix matrix) => |
| 4643 | 4424 _blink.BlinkSVGPoint.instance.matrixTransform_Callback_1_(this, matrix); |
| 4644 @DomName('SVGPathSegArcAbs.r1') | |
| 4645 @DocsEditable() | |
| 4646 set r1(num value) => | |
| 4647 _blink.BlinkSVGPathSegArcAbs.instance.r1_Setter_(this, value); | |
| 4648 | |
| 4649 @DomName('SVGPathSegArcAbs.r2') | |
| 4650 @DocsEditable() | |
| 4651 num get r2 => _blink.BlinkSVGPathSegArcAbs.instance.r2_Getter_(this); | |
| 4652 | |
| 4653 @DomName('SVGPathSegArcAbs.r2') | |
| 4654 @DocsEditable() | |
| 4655 set r2(num value) => | |
| 4656 _blink.BlinkSVGPathSegArcAbs.instance.r2_Setter_(this, value); | |
| 4657 | |
| 4658 @DomName('SVGPathSegArcAbs.sweepFlag') | |
| 4659 @DocsEditable() | |
| 4660 bool get sweepFlag => | |
| 4661 _blink.BlinkSVGPathSegArcAbs.instance.sweepFlag_Getter_(this); | |
| 4662 | |
| 4663 @DomName('SVGPathSegArcAbs.sweepFlag') | |
| 4664 @DocsEditable() | |
| 4665 set sweepFlag(bool value) => | |
| 4666 _blink.BlinkSVGPathSegArcAbs.instance.sweepFlag_Setter_(this, value); | |
| 4667 | |
| 4668 @DomName('SVGPathSegArcAbs.x') | |
| 4669 @DocsEditable() | |
| 4670 num get x => _blink.BlinkSVGPathSegArcAbs.instance.x_Getter_(this); | |
| 4671 | |
| 4672 @DomName('SVGPathSegArcAbs.x') | |
| 4673 @DocsEditable() | |
| 4674 set x(num value) => | |
| 4675 _blink.BlinkSVGPathSegArcAbs.instance.x_Setter_(this, value); | |
| 4676 | |
| 4677 @DomName('SVGPathSegArcAbs.y') | |
| 4678 @DocsEditable() | |
| 4679 num get y => _blink.BlinkSVGPathSegArcAbs.instance.y_Getter_(this); | |
| 4680 | |
| 4681 @DomName('SVGPathSegArcAbs.y') | |
| 4682 @DocsEditable() | |
| 4683 set y(num value) => | |
| 4684 _blink.BlinkSVGPathSegArcAbs.instance.y_Setter_(this, value); | |
| 4685 } | 4425 } |
| 4686 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4687 // for details. All rights reserved. Use of this source code is governed by a | 4427 // for details. All rights reserved. Use of this source code is governed by a |
| 4688 // BSD-style license that can be found in the LICENSE file. | 4428 // BSD-style license that can be found in the LICENSE file. |
| 4689 | 4429 |
| 4690 // WARNING: Do not edit - generated code. | 4430 // WARNING: Do not edit - generated code. |
| 4691 | 4431 |
| 4692 @DocsEditable() | 4432 @DocsEditable() |
| 4693 @DomName('SVGPathSegArcRel') | 4433 @DomName('SVGPointList') |
| 4694 @Unstable() | 4434 @Unstable() |
| 4695 class PathSegArcRel extends PathSeg { | 4435 class PointList extends DartHtmlDomObject { |
| 4696 // To suppress missing implicit constructor warnings. | 4436 // To suppress missing implicit constructor warnings. |
| 4697 factory PathSegArcRel._() { | 4437 factory PointList._() { |
| 4698 throw new UnsupportedError("Not supported"); | 4438 throw new UnsupportedError("Not supported"); |
| 4699 } | 4439 } |
| 4700 | 4440 |
| 4701 @Deprecated("Internal Use Only") | 4441 @Deprecated("Internal Use Only") |
| 4702 external static Type get instanceRuntimeType; | 4442 external static Type get instanceRuntimeType; |
| 4703 | 4443 |
| 4704 @Deprecated("Internal Use Only") | 4444 @Deprecated("Internal Use Only") |
| 4705 PathSegArcRel.internal_() : super.internal_(); | 4445 PointList.internal_() {} |
| 4706 | 4446 |
| 4707 @DomName('SVGPathSegArcRel.angle') | 4447 @DomName('SVGPointList.length') |
| 4708 @DocsEditable() | 4448 @DocsEditable() |
| 4709 num get angle => _blink.BlinkSVGPathSegArcRel.instance.angle_Getter_(this); | 4449 @Experimental() // untriaged |
| 4450 int get length => _blink.BlinkSVGPointList.instance.length_Getter_(this); |
| 4710 | 4451 |
| 4711 @DomName('SVGPathSegArcRel.angle') | 4452 @DomName('SVGPointList.numberOfItems') |
| 4712 @DocsEditable() | 4453 @DocsEditable() |
| 4713 set angle(num value) => | 4454 int get numberOfItems => |
| 4714 _blink.BlinkSVGPathSegArcRel.instance.angle_Setter_(this, value); | 4455 _blink.BlinkSVGPointList.instance.numberOfItems_Getter_(this); |
| 4715 | 4456 |
| 4716 @DomName('SVGPathSegArcRel.largeArcFlag') | 4457 @DomName('SVGPointList.__setter__') |
| 4717 @DocsEditable() | 4458 @DocsEditable() |
| 4718 bool get largeArcFlag => | 4459 @Experimental() // untriaged |
| 4719 _blink.BlinkSVGPathSegArcRel.instance.largeArcFlag_Getter_(this); | 4460 void __setter__(int index, Point newItem) => _blink.BlinkSVGPointList.instance |
| 4461 .$__setter___Callback_2_(this, index, newItem); |
| 4720 | 4462 |
| 4721 @DomName('SVGPathSegArcRel.largeArcFlag') | 4463 @DomName('SVGPointList.appendItem') |
| 4722 @DocsEditable() | 4464 @DocsEditable() |
| 4723 set largeArcFlag(bool value) => | 4465 Point appendItem(Point newItem) => |
| 4724 _blink.BlinkSVGPathSegArcRel.instance.largeArcFlag_Setter_(this, value); | 4466 _blink.BlinkSVGPointList.instance.appendItem_Callback_1_(this, newItem); |
| 4725 | 4467 |
| 4726 @DomName('SVGPathSegArcRel.r1') | 4468 @DomName('SVGPointList.clear') |
| 4727 @DocsEditable() | 4469 @DocsEditable() |
| 4728 num get r1 => _blink.BlinkSVGPathSegArcRel.instance.r1_Getter_(this); | 4470 void clear() => _blink.BlinkSVGPointList.instance.clear_Callback_0_(this); |
| 4729 | 4471 |
| 4730 @DomName('SVGPathSegArcRel.r1') | 4472 @DomName('SVGPointList.getItem') |
| 4731 @DocsEditable() | 4473 @DocsEditable() |
| 4732 set r1(num value) => | 4474 Point getItem(int index) => |
| 4733 _blink.BlinkSVGPathSegArcRel.instance.r1_Setter_(this, value); | 4475 _blink.BlinkSVGPointList.instance.getItem_Callback_1_(this, index); |
| 4734 | 4476 |
| 4735 @DomName('SVGPathSegArcRel.r2') | 4477 @DomName('SVGPointList.initialize') |
| 4736 @DocsEditable() | 4478 @DocsEditable() |
| 4737 num get r2 => _blink.BlinkSVGPathSegArcRel.instance.r2_Getter_(this); | 4479 Point initialize(Point newItem) => |
| 4480 _blink.BlinkSVGPointList.instance.initialize_Callback_1_(this, newItem); |
| 4738 | 4481 |
| 4739 @DomName('SVGPathSegArcRel.r2') | 4482 @DomName('SVGPointList.insertItemBefore') |
| 4740 @DocsEditable() | 4483 @DocsEditable() |
| 4741 set r2(num value) => | 4484 Point insertItemBefore(Point newItem, int index) => |
| 4742 _blink.BlinkSVGPathSegArcRel.instance.r2_Setter_(this, value); | 4485 _blink.BlinkSVGPointList.instance |
| 4486 .insertItemBefore_Callback_2_(this, newItem, index); |
| 4743 | 4487 |
| 4744 @DomName('SVGPathSegArcRel.sweepFlag') | 4488 @DomName('SVGPointList.removeItem') |
| 4745 @DocsEditable() | 4489 @DocsEditable() |
| 4746 bool get sweepFlag => | 4490 Point removeItem(int index) => |
| 4747 _blink.BlinkSVGPathSegArcRel.instance.sweepFlag_Getter_(this); | 4491 _blink.BlinkSVGPointList.instance.removeItem_Callback_1_(this, index); |
| 4748 | 4492 |
| 4749 @DomName('SVGPathSegArcRel.sweepFlag') | 4493 @DomName('SVGPointList.replaceItem') |
| 4750 @DocsEditable() | 4494 @DocsEditable() |
| 4751 set sweepFlag(bool value) => | 4495 Point replaceItem(Point newItem, int index) => |
| 4752 _blink.BlinkSVGPathSegArcRel.instance.sweepFlag_Setter_(this, value); | 4496 _blink.BlinkSVGPointList.instance |
| 4753 | 4497 .replaceItem_Callback_2_(this, newItem, index); |
| 4754 @DomName('SVGPathSegArcRel.x') | |
| 4755 @DocsEditable() | |
| 4756 num get x => _blink.BlinkSVGPathSegArcRel.instance.x_Getter_(this); | |
| 4757 | |
| 4758 @DomName('SVGPathSegArcRel.x') | |
| 4759 @DocsEditable() | |
| 4760 set x(num value) => | |
| 4761 _blink.BlinkSVGPathSegArcRel.instance.x_Setter_(this, value); | |
| 4762 | |
| 4763 @DomName('SVGPathSegArcRel.y') | |
| 4764 @DocsEditable() | |
| 4765 num get y => _blink.BlinkSVGPathSegArcRel.instance.y_Getter_(this); | |
| 4766 | |
| 4767 @DomName('SVGPathSegArcRel.y') | |
| 4768 @DocsEditable() | |
| 4769 set y(num value) => | |
| 4770 _blink.BlinkSVGPathSegArcRel.instance.y_Setter_(this, value); | |
| 4771 } | 4498 } |
| 4772 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4499 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4773 // for details. All rights reserved. Use of this source code is governed by a | 4500 // for details. All rights reserved. Use of this source code is governed by a |
| 4774 // BSD-style license that can be found in the LICENSE file. | 4501 // BSD-style license that can be found in the LICENSE file. |
| 4775 | 4502 |
| 4776 // WARNING: Do not edit - generated code. | 4503 // WARNING: Do not edit - generated code. |
| 4777 | 4504 |
| 4778 @DocsEditable() | 4505 @DocsEditable() |
| 4779 @DomName('SVGPathSegClosePath') | 4506 @DomName('SVGPolygonElement') |
| 4780 @Unstable() | 4507 @Unstable() |
| 4781 class PathSegClosePath extends PathSeg { | 4508 class PolygonElement extends GeometryElement { |
| 4782 // To suppress missing implicit constructor warnings. | 4509 // To suppress missing implicit constructor warnings. |
| 4783 factory PathSegClosePath._() { | 4510 factory PolygonElement._() { |
| 4784 throw new UnsupportedError("Not supported"); | 4511 throw new UnsupportedError("Not supported"); |
| 4785 } | 4512 } |
| 4786 | 4513 |
| 4514 @DomName('SVGPolygonElement.SVGPolygonElement') |
| 4515 @DocsEditable() |
| 4516 factory PolygonElement() => |
| 4517 _SvgElementFactoryProvider.createSvgElement_tag("polygon"); |
| 4518 |
| 4787 @Deprecated("Internal Use Only") | 4519 @Deprecated("Internal Use Only") |
| 4788 external static Type get instanceRuntimeType; | 4520 external static Type get instanceRuntimeType; |
| 4789 | 4521 |
| 4790 @Deprecated("Internal Use Only") | 4522 @Deprecated("Internal Use Only") |
| 4791 PathSegClosePath.internal_() : super.internal_(); | 4523 PolygonElement.internal_() : super.internal_(); |
| 4524 |
| 4525 /** |
| 4526 * Constructor instantiated by the DOM when a custom element has been created. |
| 4527 * |
| 4528 * This can only be called by subclasses from their created constructor. |
| 4529 */ |
| 4530 PolygonElement.created() : super.created(); |
| 4531 |
| 4532 @DomName('SVGPolygonElement.animatedPoints') |
| 4533 @DocsEditable() |
| 4534 PointList get animatedPoints => |
| 4535 _blink.BlinkSVGPolygonElement.instance.animatedPoints_Getter_(this); |
| 4536 |
| 4537 @DomName('SVGPolygonElement.points') |
| 4538 @DocsEditable() |
| 4539 PointList get points => |
| 4540 _blink.BlinkSVGPolygonElement.instance.points_Getter_(this); |
| 4792 } | 4541 } |
| 4793 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4794 // for details. All rights reserved. Use of this source code is governed by a | 4543 // for details. All rights reserved. Use of this source code is governed by a |
| 4795 // BSD-style license that can be found in the LICENSE file. | 4544 // BSD-style license that can be found in the LICENSE file. |
| 4796 | 4545 |
| 4797 // WARNING: Do not edit - generated code. | 4546 // WARNING: Do not edit - generated code. |
| 4798 | 4547 |
| 4799 @DocsEditable() | 4548 @DocsEditable() |
| 4800 @DomName('SVGPathSegCurvetoCubicAbs') | |
| 4801 @Unstable() | |
| 4802 class PathSegCurvetoCubicAbs extends PathSeg { | |
| 4803 // To suppress missing implicit constructor warnings. | |
| 4804 factory PathSegCurvetoCubicAbs._() { | |
| 4805 throw new UnsupportedError("Not supported"); | |
| 4806 } | |
| 4807 | |
| 4808 @Deprecated("Internal Use Only") | |
| 4809 external static Type get instanceRuntimeType; | |
| 4810 | |
| 4811 @Deprecated("Internal Use Only") | |
| 4812 PathSegCurvetoCubicAbs.internal_() : super.internal_(); | |
| 4813 | |
| 4814 @DomName('SVGPathSegCurvetoCubicAbs.x') | |
| 4815 @DocsEditable() | |
| 4816 num get x => _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.x_Getter_(this); | |
| 4817 | |
| 4818 @DomName('SVGPathSegCurvetoCubicAbs.x') | |
| 4819 @DocsEditable() | |
| 4820 set x(num value) => | |
| 4821 _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.x_Setter_(this, value); | |
| 4822 | |
| 4823 @DomName('SVGPathSegCurvetoCubicAbs.x1') | |
| 4824 @DocsEditable() | |
| 4825 num get x1 => _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.x1_Getter_(this); | |
| 4826 | |
| 4827 @DomName('SVGPathSegCurvetoCubicAbs.x1') | |
| 4828 @DocsEditable() | |
| 4829 set x1(num value) => | |
| 4830 _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.x1_Setter_(this, value); | |
| 4831 | |
| 4832 @DomName('SVGPathSegCurvetoCubicAbs.x2') | |
| 4833 @DocsEditable() | |
| 4834 num get x2 => _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.x2_Getter_(this); | |
| 4835 | |
| 4836 @DomName('SVGPathSegCurvetoCubicAbs.x2') | |
| 4837 @DocsEditable() | |
| 4838 set x2(num value) => | |
| 4839 _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.x2_Setter_(this, value); | |
| 4840 | |
| 4841 @DomName('SVGPathSegCurvetoCubicAbs.y') | |
| 4842 @DocsEditable() | |
| 4843 num get y => _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.y_Getter_(this); | |
| 4844 | |
| 4845 @DomName('SVGPathSegCurvetoCubicAbs.y') | |
| 4846 @DocsEditable() | |
| 4847 set y(num value) => | |
| 4848 _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.y_Setter_(this, value); | |
| 4849 | |
| 4850 @DomName('SVGPathSegCurvetoCubicAbs.y1') | |
| 4851 @DocsEditable() | |
| 4852 num get y1 => _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.y1_Getter_(this); | |
| 4853 | |
| 4854 @DomName('SVGPathSegCurvetoCubicAbs.y1') | |
| 4855 @DocsEditable() | |
| 4856 set y1(num value) => | |
| 4857 _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.y1_Setter_(this, value); | |
| 4858 | |
| 4859 @DomName('SVGPathSegCurvetoCubicAbs.y2') | |
| 4860 @DocsEditable() | |
| 4861 num get y2 => _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.y2_Getter_(this); | |
| 4862 | |
| 4863 @DomName('SVGPathSegCurvetoCubicAbs.y2') | |
| 4864 @DocsEditable() | |
| 4865 set y2(num value) => | |
| 4866 _blink.BlinkSVGPathSegCurvetoCubicAbs.instance.y2_Setter_(this, value); | |
| 4867 } | |
| 4868 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 4869 // for details. All rights reserved. Use of this source code is governed by a | |
| 4870 // BSD-style license that can be found in the LICENSE file. | |
| 4871 | |
| 4872 // WARNING: Do not edit - generated code. | |
| 4873 | |
| 4874 @DocsEditable() | |
| 4875 @DomName('SVGPathSegCurvetoCubicRel') | |
| 4876 @Unstable() | |
| 4877 class PathSegCurvetoCubicRel extends PathSeg { | |
| 4878 // To suppress missing implicit constructor warnings. | |
| 4879 factory PathSegCurvetoCubicRel._() { | |
| 4880 throw new UnsupportedError("Not supported"); | |
| 4881 } | |
| 4882 | |
| 4883 @Deprecated("Internal Use Only") | |
| 4884 external static Type get instanceRuntimeType; | |
| 4885 | |
| 4886 @Deprecated("Internal Use Only") | |
| 4887 PathSegCurvetoCubicRel.internal_() : super.internal_(); | |
| 4888 | |
| 4889 @DomName('SVGPathSegCurvetoCubicRel.x') | |
| 4890 @DocsEditable() | |
| 4891 num get x => _blink.BlinkSVGPathSegCurvetoCubicRel.instance.x_Getter_(this); | |
| 4892 | |
| 4893 @DomName('SVGPathSegCurvetoCubicRel.x') | |
| 4894 @DocsEditable() | |
| 4895 set x(num value) => | |
| 4896 _blink.BlinkSVGPathSegCurvetoCubicRel.instance.x_Setter_(this, value); | |
| 4897 | |
| 4898 @DomName('SVGPathSegCurvetoCubicRel.x1') | |
| 4899 @DocsEditable() | |
| 4900 num get x1 => _blink.BlinkSVGPathSegCurvetoCubicRel.instance.x1_Getter_(this); | |
| 4901 | |
| 4902 @DomName('SVGPathSegCurvetoCubicRel.x1') | |
| 4903 @DocsEditable() | |
| 4904 set x1(num value) => | |
| 4905 _blink.BlinkSVGPathSegCurvetoCubicRel.instance.x1_Setter_(this, value); | |
| 4906 | |
| 4907 @DomName('SVGPathSegCurvetoCubicRel.x2') | |
| 4908 @DocsEditable() | |
| 4909 num get x2 => _blink.BlinkSVGPathSegCurvetoCubicRel.instance.x2_Getter_(this); | |
| 4910 | |
| 4911 @DomName('SVGPathSegCurvetoCubicRel.x2') | |
| 4912 @DocsEditable() | |
| 4913 set x2(num value) => | |
| 4914 _blink.BlinkSVGPathSegCurvetoCubicRel.instance.x2_Setter_(this, value); | |
| 4915 | |
| 4916 @DomName('SVGPathSegCurvetoCubicRel.y') | |
| 4917 @DocsEditable() | |
| 4918 num get y => _blink.BlinkSVGPathSegCurvetoCubicRel.instance.y_Getter_(this); | |
| 4919 | |
| 4920 @DomName('SVGPathSegCurvetoCubicRel.y') | |
| 4921 @DocsEditable() | |
| 4922 set y(num value) => | |
| 4923 _blink.BlinkSVGPathSegCurvetoCubicRel.instance.y_Setter_(this, value); | |
| 4924 | |
| 4925 @DomName('SVGPathSegCurvetoCubicRel.y1') | |
| 4926 @DocsEditable() | |
| 4927 num get y1 => _blink.BlinkSVGPathSegCurvetoCubicRel.instance.y1_Getter_(this); | |
| 4928 | |
| 4929 @DomName('SVGPathSegCurvetoCubicRel.y1') | |
| 4930 @DocsEditable() | |
| 4931 set y1(num value) => | |
| 4932 _blink.BlinkSVGPathSegCurvetoCubicRel.instance.y1_Setter_(this, value); | |
| 4933 | |
| 4934 @DomName('SVGPathSegCurvetoCubicRel.y2') | |
| 4935 @DocsEditable() | |
| 4936 num get y2 => _blink.BlinkSVGPathSegCurvetoCubicRel.instance.y2_Getter_(this); | |
| 4937 | |
| 4938 @DomName('SVGPathSegCurvetoCubicRel.y2') | |
| 4939 @DocsEditable() | |
| 4940 set y2(num value) => | |
| 4941 _blink.BlinkSVGPathSegCurvetoCubicRel.instance.y2_Setter_(this, value); | |
| 4942 } | |
| 4943 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 4944 // for details. All rights reserved. Use of this source code is governed by a | |
| 4945 // BSD-style license that can be found in the LICENSE file. | |
| 4946 | |
| 4947 // WARNING: Do not edit - generated code. | |
| 4948 | |
| 4949 @DocsEditable() | |
| 4950 @DomName('SVGPathSegCurvetoCubicSmoothAbs') | |
| 4951 @Unstable() | |
| 4952 class PathSegCurvetoCubicSmoothAbs extends PathSeg { | |
| 4953 // To suppress missing implicit constructor warnings. | |
| 4954 factory PathSegCurvetoCubicSmoothAbs._() { | |
| 4955 throw new UnsupportedError("Not supported"); | |
| 4956 } | |
| 4957 | |
| 4958 @Deprecated("Internal Use Only") | |
| 4959 external static Type get instanceRuntimeType; | |
| 4960 | |
| 4961 @Deprecated("Internal Use Only") | |
| 4962 PathSegCurvetoCubicSmoothAbs.internal_() : super.internal_(); | |
| 4963 | |
| 4964 @DomName('SVGPathSegCurvetoCubicSmoothAbs.x') | |
| 4965 @DocsEditable() | |
| 4966 num get x => | |
| 4967 _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance.x_Getter_(this); | |
| 4968 | |
| 4969 @DomName('SVGPathSegCurvetoCubicSmoothAbs.x') | |
| 4970 @DocsEditable() | |
| 4971 set x(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance | |
| 4972 .x_Setter_(this, value); | |
| 4973 | |
| 4974 @DomName('SVGPathSegCurvetoCubicSmoothAbs.x2') | |
| 4975 @DocsEditable() | |
| 4976 num get x2 => | |
| 4977 _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance.x2_Getter_(this); | |
| 4978 | |
| 4979 @DomName('SVGPathSegCurvetoCubicSmoothAbs.x2') | |
| 4980 @DocsEditable() | |
| 4981 set x2(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance | |
| 4982 .x2_Setter_(this, value); | |
| 4983 | |
| 4984 @DomName('SVGPathSegCurvetoCubicSmoothAbs.y') | |
| 4985 @DocsEditable() | |
| 4986 num get y => | |
| 4987 _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance.y_Getter_(this); | |
| 4988 | |
| 4989 @DomName('SVGPathSegCurvetoCubicSmoothAbs.y') | |
| 4990 @DocsEditable() | |
| 4991 set y(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance | |
| 4992 .y_Setter_(this, value); | |
| 4993 | |
| 4994 @DomName('SVGPathSegCurvetoCubicSmoothAbs.y2') | |
| 4995 @DocsEditable() | |
| 4996 num get y2 => | |
| 4997 _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance.y2_Getter_(this); | |
| 4998 | |
| 4999 @DomName('SVGPathSegCurvetoCubicSmoothAbs.y2') | |
| 5000 @DocsEditable() | |
| 5001 set y2(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothAbs.instance | |
| 5002 .y2_Setter_(this, value); | |
| 5003 } | |
| 5004 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5005 // for details. All rights reserved. Use of this source code is governed by a | |
| 5006 // BSD-style license that can be found in the LICENSE file. | |
| 5007 | |
| 5008 // WARNING: Do not edit - generated code. | |
| 5009 | |
| 5010 @DocsEditable() | |
| 5011 @DomName('SVGPathSegCurvetoCubicSmoothRel') | |
| 5012 @Unstable() | |
| 5013 class PathSegCurvetoCubicSmoothRel extends PathSeg { | |
| 5014 // To suppress missing implicit constructor warnings. | |
| 5015 factory PathSegCurvetoCubicSmoothRel._() { | |
| 5016 throw new UnsupportedError("Not supported"); | |
| 5017 } | |
| 5018 | |
| 5019 @Deprecated("Internal Use Only") | |
| 5020 external static Type get instanceRuntimeType; | |
| 5021 | |
| 5022 @Deprecated("Internal Use Only") | |
| 5023 PathSegCurvetoCubicSmoothRel.internal_() : super.internal_(); | |
| 5024 | |
| 5025 @DomName('SVGPathSegCurvetoCubicSmoothRel.x') | |
| 5026 @DocsEditable() | |
| 5027 num get x => | |
| 5028 _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance.x_Getter_(this); | |
| 5029 | |
| 5030 @DomName('SVGPathSegCurvetoCubicSmoothRel.x') | |
| 5031 @DocsEditable() | |
| 5032 set x(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance | |
| 5033 .x_Setter_(this, value); | |
| 5034 | |
| 5035 @DomName('SVGPathSegCurvetoCubicSmoothRel.x2') | |
| 5036 @DocsEditable() | |
| 5037 num get x2 => | |
| 5038 _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance.x2_Getter_(this); | |
| 5039 | |
| 5040 @DomName('SVGPathSegCurvetoCubicSmoothRel.x2') | |
| 5041 @DocsEditable() | |
| 5042 set x2(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance | |
| 5043 .x2_Setter_(this, value); | |
| 5044 | |
| 5045 @DomName('SVGPathSegCurvetoCubicSmoothRel.y') | |
| 5046 @DocsEditable() | |
| 5047 num get y => | |
| 5048 _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance.y_Getter_(this); | |
| 5049 | |
| 5050 @DomName('SVGPathSegCurvetoCubicSmoothRel.y') | |
| 5051 @DocsEditable() | |
| 5052 set y(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance | |
| 5053 .y_Setter_(this, value); | |
| 5054 | |
| 5055 @DomName('SVGPathSegCurvetoCubicSmoothRel.y2') | |
| 5056 @DocsEditable() | |
| 5057 num get y2 => | |
| 5058 _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance.y2_Getter_(this); | |
| 5059 | |
| 5060 @DomName('SVGPathSegCurvetoCubicSmoothRel.y2') | |
| 5061 @DocsEditable() | |
| 5062 set y2(num value) => _blink.BlinkSVGPathSegCurvetoCubicSmoothRel.instance | |
| 5063 .y2_Setter_(this, value); | |
| 5064 } | |
| 5065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5066 // for details. All rights reserved. Use of this source code is governed by a | |
| 5067 // BSD-style license that can be found in the LICENSE file. | |
| 5068 | |
| 5069 // WARNING: Do not edit - generated code. | |
| 5070 | |
| 5071 @DocsEditable() | |
| 5072 @DomName('SVGPathSegCurvetoQuadraticAbs') | |
| 5073 @Unstable() | |
| 5074 class PathSegCurvetoQuadraticAbs extends PathSeg { | |
| 5075 // To suppress missing implicit constructor warnings. | |
| 5076 factory PathSegCurvetoQuadraticAbs._() { | |
| 5077 throw new UnsupportedError("Not supported"); | |
| 5078 } | |
| 5079 | |
| 5080 @Deprecated("Internal Use Only") | |
| 5081 external static Type get instanceRuntimeType; | |
| 5082 | |
| 5083 @Deprecated("Internal Use Only") | |
| 5084 PathSegCurvetoQuadraticAbs.internal_() : super.internal_(); | |
| 5085 | |
| 5086 @DomName('SVGPathSegCurvetoQuadraticAbs.x') | |
| 5087 @DocsEditable() | |
| 5088 num get x => | |
| 5089 _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance.x_Getter_(this); | |
| 5090 | |
| 5091 @DomName('SVGPathSegCurvetoQuadraticAbs.x') | |
| 5092 @DocsEditable() | |
| 5093 set x(num value) => | |
| 5094 _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance.x_Setter_(this, value); | |
| 5095 | |
| 5096 @DomName('SVGPathSegCurvetoQuadraticAbs.x1') | |
| 5097 @DocsEditable() | |
| 5098 num get x1 => | |
| 5099 _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance.x1_Getter_(this); | |
| 5100 | |
| 5101 @DomName('SVGPathSegCurvetoQuadraticAbs.x1') | |
| 5102 @DocsEditable() | |
| 5103 set x1(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance | |
| 5104 .x1_Setter_(this, value); | |
| 5105 | |
| 5106 @DomName('SVGPathSegCurvetoQuadraticAbs.y') | |
| 5107 @DocsEditable() | |
| 5108 num get y => | |
| 5109 _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance.y_Getter_(this); | |
| 5110 | |
| 5111 @DomName('SVGPathSegCurvetoQuadraticAbs.y') | |
| 5112 @DocsEditable() | |
| 5113 set y(num value) => | |
| 5114 _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance.y_Setter_(this, value); | |
| 5115 | |
| 5116 @DomName('SVGPathSegCurvetoQuadraticAbs.y1') | |
| 5117 @DocsEditable() | |
| 5118 num get y1 => | |
| 5119 _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance.y1_Getter_(this); | |
| 5120 | |
| 5121 @DomName('SVGPathSegCurvetoQuadraticAbs.y1') | |
| 5122 @DocsEditable() | |
| 5123 set y1(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticAbs.instance | |
| 5124 .y1_Setter_(this, value); | |
| 5125 } | |
| 5126 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5127 // for details. All rights reserved. Use of this source code is governed by a | |
| 5128 // BSD-style license that can be found in the LICENSE file. | |
| 5129 | |
| 5130 // WARNING: Do not edit - generated code. | |
| 5131 | |
| 5132 @DocsEditable() | |
| 5133 @DomName('SVGPathSegCurvetoQuadraticRel') | |
| 5134 @Unstable() | |
| 5135 class PathSegCurvetoQuadraticRel extends PathSeg { | |
| 5136 // To suppress missing implicit constructor warnings. | |
| 5137 factory PathSegCurvetoQuadraticRel._() { | |
| 5138 throw new UnsupportedError("Not supported"); | |
| 5139 } | |
| 5140 | |
| 5141 @Deprecated("Internal Use Only") | |
| 5142 external static Type get instanceRuntimeType; | |
| 5143 | |
| 5144 @Deprecated("Internal Use Only") | |
| 5145 PathSegCurvetoQuadraticRel.internal_() : super.internal_(); | |
| 5146 | |
| 5147 @DomName('SVGPathSegCurvetoQuadraticRel.x') | |
| 5148 @DocsEditable() | |
| 5149 num get x => | |
| 5150 _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance.x_Getter_(this); | |
| 5151 | |
| 5152 @DomName('SVGPathSegCurvetoQuadraticRel.x') | |
| 5153 @DocsEditable() | |
| 5154 set x(num value) => | |
| 5155 _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance.x_Setter_(this, value); | |
| 5156 | |
| 5157 @DomName('SVGPathSegCurvetoQuadraticRel.x1') | |
| 5158 @DocsEditable() | |
| 5159 num get x1 => | |
| 5160 _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance.x1_Getter_(this); | |
| 5161 | |
| 5162 @DomName('SVGPathSegCurvetoQuadraticRel.x1') | |
| 5163 @DocsEditable() | |
| 5164 set x1(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance | |
| 5165 .x1_Setter_(this, value); | |
| 5166 | |
| 5167 @DomName('SVGPathSegCurvetoQuadraticRel.y') | |
| 5168 @DocsEditable() | |
| 5169 num get y => | |
| 5170 _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance.y_Getter_(this); | |
| 5171 | |
| 5172 @DomName('SVGPathSegCurvetoQuadraticRel.y') | |
| 5173 @DocsEditable() | |
| 5174 set y(num value) => | |
| 5175 _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance.y_Setter_(this, value); | |
| 5176 | |
| 5177 @DomName('SVGPathSegCurvetoQuadraticRel.y1') | |
| 5178 @DocsEditable() | |
| 5179 num get y1 => | |
| 5180 _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance.y1_Getter_(this); | |
| 5181 | |
| 5182 @DomName('SVGPathSegCurvetoQuadraticRel.y1') | |
| 5183 @DocsEditable() | |
| 5184 set y1(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticRel.instance | |
| 5185 .y1_Setter_(this, value); | |
| 5186 } | |
| 5187 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5188 // for details. All rights reserved. Use of this source code is governed by a | |
| 5189 // BSD-style license that can be found in the LICENSE file. | |
| 5190 | |
| 5191 // WARNING: Do not edit - generated code. | |
| 5192 | |
| 5193 @DocsEditable() | |
| 5194 @DomName('SVGPathSegCurvetoQuadraticSmoothAbs') | |
| 5195 @Unstable() | |
| 5196 class PathSegCurvetoQuadraticSmoothAbs extends PathSeg { | |
| 5197 // To suppress missing implicit constructor warnings. | |
| 5198 factory PathSegCurvetoQuadraticSmoothAbs._() { | |
| 5199 throw new UnsupportedError("Not supported"); | |
| 5200 } | |
| 5201 | |
| 5202 @Deprecated("Internal Use Only") | |
| 5203 external static Type get instanceRuntimeType; | |
| 5204 | |
| 5205 @Deprecated("Internal Use Only") | |
| 5206 PathSegCurvetoQuadraticSmoothAbs.internal_() : super.internal_(); | |
| 5207 | |
| 5208 @DomName('SVGPathSegCurvetoQuadraticSmoothAbs.x') | |
| 5209 @DocsEditable() | |
| 5210 num get x => | |
| 5211 _blink.BlinkSVGPathSegCurvetoQuadraticSmoothAbs.instance.x_Getter_(this); | |
| 5212 | |
| 5213 @DomName('SVGPathSegCurvetoQuadraticSmoothAbs.x') | |
| 5214 @DocsEditable() | |
| 5215 set x(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticSmoothAbs.instance | |
| 5216 .x_Setter_(this, value); | |
| 5217 | |
| 5218 @DomName('SVGPathSegCurvetoQuadraticSmoothAbs.y') | |
| 5219 @DocsEditable() | |
| 5220 num get y => | |
| 5221 _blink.BlinkSVGPathSegCurvetoQuadraticSmoothAbs.instance.y_Getter_(this); | |
| 5222 | |
| 5223 @DomName('SVGPathSegCurvetoQuadraticSmoothAbs.y') | |
| 5224 @DocsEditable() | |
| 5225 set y(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticSmoothAbs.instance | |
| 5226 .y_Setter_(this, value); | |
| 5227 } | |
| 5228 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5229 // for details. All rights reserved. Use of this source code is governed by a | |
| 5230 // BSD-style license that can be found in the LICENSE file. | |
| 5231 | |
| 5232 // WARNING: Do not edit - generated code. | |
| 5233 | |
| 5234 @DocsEditable() | |
| 5235 @DomName('SVGPathSegCurvetoQuadraticSmoothRel') | |
| 5236 @Unstable() | |
| 5237 class PathSegCurvetoQuadraticSmoothRel extends PathSeg { | |
| 5238 // To suppress missing implicit constructor warnings. | |
| 5239 factory PathSegCurvetoQuadraticSmoothRel._() { | |
| 5240 throw new UnsupportedError("Not supported"); | |
| 5241 } | |
| 5242 | |
| 5243 @Deprecated("Internal Use Only") | |
| 5244 external static Type get instanceRuntimeType; | |
| 5245 | |
| 5246 @Deprecated("Internal Use Only") | |
| 5247 PathSegCurvetoQuadraticSmoothRel.internal_() : super.internal_(); | |
| 5248 | |
| 5249 @DomName('SVGPathSegCurvetoQuadraticSmoothRel.x') | |
| 5250 @DocsEditable() | |
| 5251 num get x => | |
| 5252 _blink.BlinkSVGPathSegCurvetoQuadraticSmoothRel.instance.x_Getter_(this); | |
| 5253 | |
| 5254 @DomName('SVGPathSegCurvetoQuadraticSmoothRel.x') | |
| 5255 @DocsEditable() | |
| 5256 set x(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticSmoothRel.instance | |
| 5257 .x_Setter_(this, value); | |
| 5258 | |
| 5259 @DomName('SVGPathSegCurvetoQuadraticSmoothRel.y') | |
| 5260 @DocsEditable() | |
| 5261 num get y => | |
| 5262 _blink.BlinkSVGPathSegCurvetoQuadraticSmoothRel.instance.y_Getter_(this); | |
| 5263 | |
| 5264 @DomName('SVGPathSegCurvetoQuadraticSmoothRel.y') | |
| 5265 @DocsEditable() | |
| 5266 set y(num value) => _blink.BlinkSVGPathSegCurvetoQuadraticSmoothRel.instance | |
| 5267 .y_Setter_(this, value); | |
| 5268 } | |
| 5269 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5270 // for details. All rights reserved. Use of this source code is governed by a | |
| 5271 // BSD-style license that can be found in the LICENSE file. | |
| 5272 | |
| 5273 // WARNING: Do not edit - generated code. | |
| 5274 | |
| 5275 @DocsEditable() | |
| 5276 @DomName('SVGPathSegLinetoAbs') | |
| 5277 @Unstable() | |
| 5278 class PathSegLinetoAbs extends PathSeg { | |
| 5279 // To suppress missing implicit constructor warnings. | |
| 5280 factory PathSegLinetoAbs._() { | |
| 5281 throw new UnsupportedError("Not supported"); | |
| 5282 } | |
| 5283 | |
| 5284 @Deprecated("Internal Use Only") | |
| 5285 external static Type get instanceRuntimeType; | |
| 5286 | |
| 5287 @Deprecated("Internal Use Only") | |
| 5288 PathSegLinetoAbs.internal_() : super.internal_(); | |
| 5289 | |
| 5290 @DomName('SVGPathSegLinetoAbs.x') | |
| 5291 @DocsEditable() | |
| 5292 num get x => _blink.BlinkSVGPathSegLinetoAbs.instance.x_Getter_(this); | |
| 5293 | |
| 5294 @DomName('SVGPathSegLinetoAbs.x') | |
| 5295 @DocsEditable() | |
| 5296 set x(num value) => | |
| 5297 _blink.BlinkSVGPathSegLinetoAbs.instance.x_Setter_(this, value); | |
| 5298 | |
| 5299 @DomName('SVGPathSegLinetoAbs.y') | |
| 5300 @DocsEditable() | |
| 5301 num get y => _blink.BlinkSVGPathSegLinetoAbs.instance.y_Getter_(this); | |
| 5302 | |
| 5303 @DomName('SVGPathSegLinetoAbs.y') | |
| 5304 @DocsEditable() | |
| 5305 set y(num value) => | |
| 5306 _blink.BlinkSVGPathSegLinetoAbs.instance.y_Setter_(this, value); | |
| 5307 } | |
| 5308 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5309 // for details. All rights reserved. Use of this source code is governed by a | |
| 5310 // BSD-style license that can be found in the LICENSE file. | |
| 5311 | |
| 5312 // WARNING: Do not edit - generated code. | |
| 5313 | |
| 5314 @DocsEditable() | |
| 5315 @DomName('SVGPathSegLinetoHorizontalAbs') | |
| 5316 @Unstable() | |
| 5317 class PathSegLinetoHorizontalAbs extends PathSeg { | |
| 5318 // To suppress missing implicit constructor warnings. | |
| 5319 factory PathSegLinetoHorizontalAbs._() { | |
| 5320 throw new UnsupportedError("Not supported"); | |
| 5321 } | |
| 5322 | |
| 5323 @Deprecated("Internal Use Only") | |
| 5324 external static Type get instanceRuntimeType; | |
| 5325 | |
| 5326 @Deprecated("Internal Use Only") | |
| 5327 PathSegLinetoHorizontalAbs.internal_() : super.internal_(); | |
| 5328 | |
| 5329 @DomName('SVGPathSegLinetoHorizontalAbs.x') | |
| 5330 @DocsEditable() | |
| 5331 num get x => | |
| 5332 _blink.BlinkSVGPathSegLinetoHorizontalAbs.instance.x_Getter_(this); | |
| 5333 | |
| 5334 @DomName('SVGPathSegLinetoHorizontalAbs.x') | |
| 5335 @DocsEditable() | |
| 5336 set x(num value) => | |
| 5337 _blink.BlinkSVGPathSegLinetoHorizontalAbs.instance.x_Setter_(this, value); | |
| 5338 } | |
| 5339 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5340 // for details. All rights reserved. Use of this source code is governed by a | |
| 5341 // BSD-style license that can be found in the LICENSE file. | |
| 5342 | |
| 5343 // WARNING: Do not edit - generated code. | |
| 5344 | |
| 5345 @DocsEditable() | |
| 5346 @DomName('SVGPathSegLinetoHorizontalRel') | |
| 5347 @Unstable() | |
| 5348 class PathSegLinetoHorizontalRel extends PathSeg { | |
| 5349 // To suppress missing implicit constructor warnings. | |
| 5350 factory PathSegLinetoHorizontalRel._() { | |
| 5351 throw new UnsupportedError("Not supported"); | |
| 5352 } | |
| 5353 | |
| 5354 @Deprecated("Internal Use Only") | |
| 5355 external static Type get instanceRuntimeType; | |
| 5356 | |
| 5357 @Deprecated("Internal Use Only") | |
| 5358 PathSegLinetoHorizontalRel.internal_() : super.internal_(); | |
| 5359 | |
| 5360 @DomName('SVGPathSegLinetoHorizontalRel.x') | |
| 5361 @DocsEditable() | |
| 5362 num get x => | |
| 5363 _blink.BlinkSVGPathSegLinetoHorizontalRel.instance.x_Getter_(this); | |
| 5364 | |
| 5365 @DomName('SVGPathSegLinetoHorizontalRel.x') | |
| 5366 @DocsEditable() | |
| 5367 set x(num value) => | |
| 5368 _blink.BlinkSVGPathSegLinetoHorizontalRel.instance.x_Setter_(this, value); | |
| 5369 } | |
| 5370 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5371 // for details. All rights reserved. Use of this source code is governed by a | |
| 5372 // BSD-style license that can be found in the LICENSE file. | |
| 5373 | |
| 5374 // WARNING: Do not edit - generated code. | |
| 5375 | |
| 5376 @DocsEditable() | |
| 5377 @DomName('SVGPathSegLinetoRel') | |
| 5378 @Unstable() | |
| 5379 class PathSegLinetoRel extends PathSeg { | |
| 5380 // To suppress missing implicit constructor warnings. | |
| 5381 factory PathSegLinetoRel._() { | |
| 5382 throw new UnsupportedError("Not supported"); | |
| 5383 } | |
| 5384 | |
| 5385 @Deprecated("Internal Use Only") | |
| 5386 external static Type get instanceRuntimeType; | |
| 5387 | |
| 5388 @Deprecated("Internal Use Only") | |
| 5389 PathSegLinetoRel.internal_() : super.internal_(); | |
| 5390 | |
| 5391 @DomName('SVGPathSegLinetoRel.x') | |
| 5392 @DocsEditable() | |
| 5393 num get x => _blink.BlinkSVGPathSegLinetoRel.instance.x_Getter_(this); | |
| 5394 | |
| 5395 @DomName('SVGPathSegLinetoRel.x') | |
| 5396 @DocsEditable() | |
| 5397 set x(num value) => | |
| 5398 _blink.BlinkSVGPathSegLinetoRel.instance.x_Setter_(this, value); | |
| 5399 | |
| 5400 @DomName('SVGPathSegLinetoRel.y') | |
| 5401 @DocsEditable() | |
| 5402 num get y => _blink.BlinkSVGPathSegLinetoRel.instance.y_Getter_(this); | |
| 5403 | |
| 5404 @DomName('SVGPathSegLinetoRel.y') | |
| 5405 @DocsEditable() | |
| 5406 set y(num value) => | |
| 5407 _blink.BlinkSVGPathSegLinetoRel.instance.y_Setter_(this, value); | |
| 5408 } | |
| 5409 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5410 // for details. All rights reserved. Use of this source code is governed by a | |
| 5411 // BSD-style license that can be found in the LICENSE file. | |
| 5412 | |
| 5413 // WARNING: Do not edit - generated code. | |
| 5414 | |
| 5415 @DocsEditable() | |
| 5416 @DomName('SVGPathSegLinetoVerticalAbs') | |
| 5417 @Unstable() | |
| 5418 class PathSegLinetoVerticalAbs extends PathSeg { | |
| 5419 // To suppress missing implicit constructor warnings. | |
| 5420 factory PathSegLinetoVerticalAbs._() { | |
| 5421 throw new UnsupportedError("Not supported"); | |
| 5422 } | |
| 5423 | |
| 5424 @Deprecated("Internal Use Only") | |
| 5425 external static Type get instanceRuntimeType; | |
| 5426 | |
| 5427 @Deprecated("Internal Use Only") | |
| 5428 PathSegLinetoVerticalAbs.internal_() : super.internal_(); | |
| 5429 | |
| 5430 @DomName('SVGPathSegLinetoVerticalAbs.y') | |
| 5431 @DocsEditable() | |
| 5432 num get y => _blink.BlinkSVGPathSegLinetoVerticalAbs.instance.y_Getter_(this); | |
| 5433 | |
| 5434 @DomName('SVGPathSegLinetoVerticalAbs.y') | |
| 5435 @DocsEditable() | |
| 5436 set y(num value) => | |
| 5437 _blink.BlinkSVGPathSegLinetoVerticalAbs.instance.y_Setter_(this, value); | |
| 5438 } | |
| 5439 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5440 // for details. All rights reserved. Use of this source code is governed by a | |
| 5441 // BSD-style license that can be found in the LICENSE file. | |
| 5442 | |
| 5443 // WARNING: Do not edit - generated code. | |
| 5444 | |
| 5445 @DocsEditable() | |
| 5446 @DomName('SVGPathSegLinetoVerticalRel') | |
| 5447 @Unstable() | |
| 5448 class PathSegLinetoVerticalRel extends PathSeg { | |
| 5449 // To suppress missing implicit constructor warnings. | |
| 5450 factory PathSegLinetoVerticalRel._() { | |
| 5451 throw new UnsupportedError("Not supported"); | |
| 5452 } | |
| 5453 | |
| 5454 @Deprecated("Internal Use Only") | |
| 5455 external static Type get instanceRuntimeType; | |
| 5456 | |
| 5457 @Deprecated("Internal Use Only") | |
| 5458 PathSegLinetoVerticalRel.internal_() : super.internal_(); | |
| 5459 | |
| 5460 @DomName('SVGPathSegLinetoVerticalRel.y') | |
| 5461 @DocsEditable() | |
| 5462 num get y => _blink.BlinkSVGPathSegLinetoVerticalRel.instance.y_Getter_(this); | |
| 5463 | |
| 5464 @DomName('SVGPathSegLinetoVerticalRel.y') | |
| 5465 @DocsEditable() | |
| 5466 set y(num value) => | |
| 5467 _blink.BlinkSVGPathSegLinetoVerticalRel.instance.y_Setter_(this, value); | |
| 5468 } | |
| 5469 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5470 // for details. All rights reserved. Use of this source code is governed by a | |
| 5471 // BSD-style license that can be found in the LICENSE file. | |
| 5472 | |
| 5473 // WARNING: Do not edit - generated code. | |
| 5474 | |
| 5475 @DocsEditable() | |
| 5476 @DomName('SVGPathSegList') | |
| 5477 @Unstable() | |
| 5478 class PathSegList extends DartHtmlDomObject | |
| 5479 with ListMixin<PathSeg>, ImmutableListMixin<PathSeg> | |
| 5480 implements List<PathSeg> { | |
| 5481 // To suppress missing implicit constructor warnings. | |
| 5482 factory PathSegList._() { | |
| 5483 throw new UnsupportedError("Not supported"); | |
| 5484 } | |
| 5485 | |
| 5486 @Deprecated("Internal Use Only") | |
| 5487 external static Type get instanceRuntimeType; | |
| 5488 | |
| 5489 @Deprecated("Internal Use Only") | |
| 5490 PathSegList.internal_() {} | |
| 5491 | |
| 5492 @DomName('SVGPathSegList.length') | |
| 5493 @DocsEditable() | |
| 5494 @Experimental() // untriaged | |
| 5495 int get length => _blink.BlinkSVGPathSegList.instance.length_Getter_(this); | |
| 5496 | |
| 5497 @DomName('SVGPathSegList.numberOfItems') | |
| 5498 @DocsEditable() | |
| 5499 int get numberOfItems => | |
| 5500 _blink.BlinkSVGPathSegList.instance.numberOfItems_Getter_(this); | |
| 5501 | |
| 5502 PathSeg operator [](int index) { | |
| 5503 if (index < 0 || index >= length) throw new RangeError.index(index, this); | |
| 5504 return getItem(index); | |
| 5505 } | |
| 5506 | |
| 5507 void operator []=(int index, PathSeg value) { | |
| 5508 throw new UnsupportedError("Cannot assign element of immutable List."); | |
| 5509 } | |
| 5510 // -- start List<PathSeg> mixins. | |
| 5511 // PathSeg is the element type. | |
| 5512 | |
| 5513 set length(int value) { | |
| 5514 throw new UnsupportedError("Cannot resize immutable List."); | |
| 5515 } | |
| 5516 | |
| 5517 PathSeg get first { | |
| 5518 if (this.length > 0) { | |
| 5519 return getItem(0); | |
| 5520 } | |
| 5521 throw new StateError("No elements"); | |
| 5522 } | |
| 5523 | |
| 5524 PathSeg get last { | |
| 5525 int len = this.length; | |
| 5526 if (len > 0) { | |
| 5527 return getItem(len - 1); | |
| 5528 } | |
| 5529 throw new StateError("No elements"); | |
| 5530 } | |
| 5531 | |
| 5532 PathSeg get single { | |
| 5533 int len = this.length; | |
| 5534 if (len == 1) { | |
| 5535 return getItem(0); | |
| 5536 } | |
| 5537 if (len == 0) throw new StateError("No elements"); | |
| 5538 throw new StateError("More than one element"); | |
| 5539 } | |
| 5540 | |
| 5541 PathSeg elementAt(int index) => this[index]; | |
| 5542 // -- end List<PathSeg> mixins. | |
| 5543 | |
| 5544 @DomName('SVGPathSegList.__setter__') | |
| 5545 @DocsEditable() | |
| 5546 @Experimental() // untriaged | |
| 5547 void __setter__(int index, PathSeg newItem) => | |
| 5548 _blink.BlinkSVGPathSegList.instance | |
| 5549 .$__setter___Callback_2_(this, index, newItem); | |
| 5550 | |
| 5551 @DomName('SVGPathSegList.appendItem') | |
| 5552 @DocsEditable() | |
| 5553 PathSeg appendItem(PathSeg newItem) => | |
| 5554 _blink.BlinkSVGPathSegList.instance.appendItem_Callback_1_(this, newItem); | |
| 5555 | |
| 5556 @DomName('SVGPathSegList.clear') | |
| 5557 @DocsEditable() | |
| 5558 void clear() => _blink.BlinkSVGPathSegList.instance.clear_Callback_0_(this); | |
| 5559 | |
| 5560 @DomName('SVGPathSegList.getItem') | |
| 5561 @DocsEditable() | |
| 5562 PathSeg getItem(int index) => | |
| 5563 _blink.BlinkSVGPathSegList.instance.getItem_Callback_1_(this, index); | |
| 5564 | |
| 5565 @DomName('SVGPathSegList.initialize') | |
| 5566 @DocsEditable() | |
| 5567 PathSeg initialize(PathSeg newItem) => | |
| 5568 _blink.BlinkSVGPathSegList.instance.initialize_Callback_1_(this, newItem); | |
| 5569 | |
| 5570 @DomName('SVGPathSegList.insertItemBefore') | |
| 5571 @DocsEditable() | |
| 5572 PathSeg insertItemBefore(PathSeg newItem, int index) => | |
| 5573 _blink.BlinkSVGPathSegList.instance | |
| 5574 .insertItemBefore_Callback_2_(this, newItem, index); | |
| 5575 | |
| 5576 @DomName('SVGPathSegList.removeItem') | |
| 5577 @DocsEditable() | |
| 5578 PathSeg removeItem(int index) => | |
| 5579 _blink.BlinkSVGPathSegList.instance.removeItem_Callback_1_(this, index); | |
| 5580 | |
| 5581 @DomName('SVGPathSegList.replaceItem') | |
| 5582 @DocsEditable() | |
| 5583 PathSeg replaceItem(PathSeg newItem, int index) => | |
| 5584 _blink.BlinkSVGPathSegList.instance | |
| 5585 .replaceItem_Callback_2_(this, newItem, index); | |
| 5586 } | |
| 5587 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5588 // for details. All rights reserved. Use of this source code is governed by a | |
| 5589 // BSD-style license that can be found in the LICENSE file. | |
| 5590 | |
| 5591 // WARNING: Do not edit - generated code. | |
| 5592 | |
| 5593 @DocsEditable() | |
| 5594 @DomName('SVGPathSegMovetoAbs') | |
| 5595 @Unstable() | |
| 5596 class PathSegMovetoAbs extends PathSeg { | |
| 5597 // To suppress missing implicit constructor warnings. | |
| 5598 factory PathSegMovetoAbs._() { | |
| 5599 throw new UnsupportedError("Not supported"); | |
| 5600 } | |
| 5601 | |
| 5602 @Deprecated("Internal Use Only") | |
| 5603 external static Type get instanceRuntimeType; | |
| 5604 | |
| 5605 @Deprecated("Internal Use Only") | |
| 5606 PathSegMovetoAbs.internal_() : super.internal_(); | |
| 5607 | |
| 5608 @DomName('SVGPathSegMovetoAbs.x') | |
| 5609 @DocsEditable() | |
| 5610 num get x => _blink.BlinkSVGPathSegMovetoAbs.instance.x_Getter_(this); | |
| 5611 | |
| 5612 @DomName('SVGPathSegMovetoAbs.x') | |
| 5613 @DocsEditable() | |
| 5614 set x(num value) => | |
| 5615 _blink.BlinkSVGPathSegMovetoAbs.instance.x_Setter_(this, value); | |
| 5616 | |
| 5617 @DomName('SVGPathSegMovetoAbs.y') | |
| 5618 @DocsEditable() | |
| 5619 num get y => _blink.BlinkSVGPathSegMovetoAbs.instance.y_Getter_(this); | |
| 5620 | |
| 5621 @DomName('SVGPathSegMovetoAbs.y') | |
| 5622 @DocsEditable() | |
| 5623 set y(num value) => | |
| 5624 _blink.BlinkSVGPathSegMovetoAbs.instance.y_Setter_(this, value); | |
| 5625 } | |
| 5626 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5627 // for details. All rights reserved. Use of this source code is governed by a | |
| 5628 // BSD-style license that can be found in the LICENSE file. | |
| 5629 | |
| 5630 // WARNING: Do not edit - generated code. | |
| 5631 | |
| 5632 @DocsEditable() | |
| 5633 @DomName('SVGPathSegMovetoRel') | |
| 5634 @Unstable() | |
| 5635 class PathSegMovetoRel extends PathSeg { | |
| 5636 // To suppress missing implicit constructor warnings. | |
| 5637 factory PathSegMovetoRel._() { | |
| 5638 throw new UnsupportedError("Not supported"); | |
| 5639 } | |
| 5640 | |
| 5641 @Deprecated("Internal Use Only") | |
| 5642 external static Type get instanceRuntimeType; | |
| 5643 | |
| 5644 @Deprecated("Internal Use Only") | |
| 5645 PathSegMovetoRel.internal_() : super.internal_(); | |
| 5646 | |
| 5647 @DomName('SVGPathSegMovetoRel.x') | |
| 5648 @DocsEditable() | |
| 5649 num get x => _blink.BlinkSVGPathSegMovetoRel.instance.x_Getter_(this); | |
| 5650 | |
| 5651 @DomName('SVGPathSegMovetoRel.x') | |
| 5652 @DocsEditable() | |
| 5653 set x(num value) => | |
| 5654 _blink.BlinkSVGPathSegMovetoRel.instance.x_Setter_(this, value); | |
| 5655 | |
| 5656 @DomName('SVGPathSegMovetoRel.y') | |
| 5657 @DocsEditable() | |
| 5658 num get y => _blink.BlinkSVGPathSegMovetoRel.instance.y_Getter_(this); | |
| 5659 | |
| 5660 @DomName('SVGPathSegMovetoRel.y') | |
| 5661 @DocsEditable() | |
| 5662 set y(num value) => | |
| 5663 _blink.BlinkSVGPathSegMovetoRel.instance.y_Setter_(this, value); | |
| 5664 } | |
| 5665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5666 // for details. All rights reserved. Use of this source code is governed by a | |
| 5667 // BSD-style license that can be found in the LICENSE file. | |
| 5668 | |
| 5669 // WARNING: Do not edit - generated code. | |
| 5670 | |
| 5671 @DocsEditable() | |
| 5672 @DomName('SVGPatternElement') | |
| 5673 @Unstable() | |
| 5674 class PatternElement extends SvgElement | |
| 5675 implements FitToViewBox, UriReference, Tests { | |
| 5676 // To suppress missing implicit constructor warnings. | |
| 5677 factory PatternElement._() { | |
| 5678 throw new UnsupportedError("Not supported"); | |
| 5679 } | |
| 5680 | |
| 5681 @DomName('SVGPatternElement.SVGPatternElement') | |
| 5682 @DocsEditable() | |
| 5683 factory PatternElement() => | |
| 5684 _SvgElementFactoryProvider.createSvgElement_tag("pattern"); | |
| 5685 | |
| 5686 @Deprecated("Internal Use Only") | |
| 5687 external static Type get instanceRuntimeType; | |
| 5688 | |
| 5689 @Deprecated("Internal Use Only") | |
| 5690 PatternElement.internal_() : super.internal_(); | |
| 5691 | |
| 5692 /** | |
| 5693 * Constructor instantiated by the DOM when a custom element has been created. | |
| 5694 * | |
| 5695 * This can only be called by subclasses from their created constructor. | |
| 5696 */ | |
| 5697 PatternElement.created() : super.created(); | |
| 5698 | |
| 5699 @DomName('SVGPatternElement.height') | |
| 5700 @DocsEditable() | |
| 5701 AnimatedLength get height => | |
| 5702 _blink.BlinkSVGPatternElement.instance.height_Getter_(this); | |
| 5703 | |
| 5704 @DomName('SVGPatternElement.patternContentUnits') | |
| 5705 @DocsEditable() | |
| 5706 AnimatedEnumeration get patternContentUnits => | |
| 5707 _blink.BlinkSVGPatternElement.instance.patternContentUnits_Getter_(this); | |
| 5708 | |
| 5709 @DomName('SVGPatternElement.patternTransform') | |
| 5710 @DocsEditable() | |
| 5711 AnimatedTransformList get patternTransform => | |
| 5712 _blink.BlinkSVGPatternElement.instance.patternTransform_Getter_(this); | |
| 5713 | |
| 5714 @DomName('SVGPatternElement.patternUnits') | |
| 5715 @DocsEditable() | |
| 5716 AnimatedEnumeration get patternUnits => | |
| 5717 _blink.BlinkSVGPatternElement.instance.patternUnits_Getter_(this); | |
| 5718 | |
| 5719 @DomName('SVGPatternElement.width') | |
| 5720 @DocsEditable() | |
| 5721 AnimatedLength get width => | |
| 5722 _blink.BlinkSVGPatternElement.instance.width_Getter_(this); | |
| 5723 | |
| 5724 @DomName('SVGPatternElement.x') | |
| 5725 @DocsEditable() | |
| 5726 AnimatedLength get x => | |
| 5727 _blink.BlinkSVGPatternElement.instance.x_Getter_(this); | |
| 5728 | |
| 5729 @DomName('SVGPatternElement.y') | |
| 5730 @DocsEditable() | |
| 5731 AnimatedLength get y => | |
| 5732 _blink.BlinkSVGPatternElement.instance.y_Getter_(this); | |
| 5733 | |
| 5734 @DomName('SVGPatternElement.preserveAspectRatio') | |
| 5735 @DocsEditable() | |
| 5736 AnimatedPreserveAspectRatio get preserveAspectRatio => | |
| 5737 _blink.BlinkSVGPatternElement.instance.preserveAspectRatio_Getter_(this); | |
| 5738 | |
| 5739 @DomName('SVGPatternElement.viewBox') | |
| 5740 @DocsEditable() | |
| 5741 AnimatedRect get viewBox => | |
| 5742 _blink.BlinkSVGPatternElement.instance.viewBox_Getter_(this); | |
| 5743 | |
| 5744 @DomName('SVGPatternElement.requiredExtensions') | |
| 5745 @DocsEditable() | |
| 5746 StringList get requiredExtensions => | |
| 5747 _blink.BlinkSVGPatternElement.instance.requiredExtensions_Getter_(this); | |
| 5748 | |
| 5749 @DomName('SVGPatternElement.requiredFeatures') | |
| 5750 @DocsEditable() | |
| 5751 StringList get requiredFeatures => | |
| 5752 _blink.BlinkSVGPatternElement.instance.requiredFeatures_Getter_(this); | |
| 5753 | |
| 5754 @DomName('SVGPatternElement.systemLanguage') | |
| 5755 @DocsEditable() | |
| 5756 StringList get systemLanguage => | |
| 5757 _blink.BlinkSVGPatternElement.instance.systemLanguage_Getter_(this); | |
| 5758 | |
| 5759 @DomName('SVGPatternElement.hasExtension') | |
| 5760 @DocsEditable() | |
| 5761 bool hasExtension(String extension) => _blink.BlinkSVGPatternElement.instance | |
| 5762 .hasExtension_Callback_1_(this, extension); | |
| 5763 | |
| 5764 @DomName('SVGPatternElement.href') | |
| 5765 @DocsEditable() | |
| 5766 AnimatedString get href => | |
| 5767 _blink.BlinkSVGPatternElement.instance.href_Getter_(this); | |
| 5768 } | |
| 5769 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5770 // for details. All rights reserved. Use of this source code is governed by a | |
| 5771 // BSD-style license that can be found in the LICENSE file. | |
| 5772 | |
| 5773 // WARNING: Do not edit - generated code. | |
| 5774 | |
| 5775 @DocsEditable() | |
| 5776 @DomName('SVGPoint') | |
| 5777 @Unstable() | |
| 5778 class Point extends DartHtmlDomObject { | |
| 5779 // To suppress missing implicit constructor warnings. | |
| 5780 factory Point._() { | |
| 5781 throw new UnsupportedError("Not supported"); | |
| 5782 } | |
| 5783 | |
| 5784 @Deprecated("Internal Use Only") | |
| 5785 external static Type get instanceRuntimeType; | |
| 5786 | |
| 5787 @Deprecated("Internal Use Only") | |
| 5788 Point.internal_() {} | |
| 5789 | |
| 5790 @DomName('SVGPoint.x') | |
| 5791 @DocsEditable() | |
| 5792 num get x => _blink.BlinkSVGPoint.instance.x_Getter_(this); | |
| 5793 | |
| 5794 @DomName('SVGPoint.x') | |
| 5795 @DocsEditable() | |
| 5796 set x(num value) => _blink.BlinkSVGPoint.instance.x_Setter_(this, value); | |
| 5797 | |
| 5798 @DomName('SVGPoint.y') | |
| 5799 @DocsEditable() | |
| 5800 num get y => _blink.BlinkSVGPoint.instance.y_Getter_(this); | |
| 5801 | |
| 5802 @DomName('SVGPoint.y') | |
| 5803 @DocsEditable() | |
| 5804 set y(num value) => _blink.BlinkSVGPoint.instance.y_Setter_(this, value); | |
| 5805 | |
| 5806 @DomName('SVGPoint.matrixTransform') | |
| 5807 @DocsEditable() | |
| 5808 Point matrixTransform(Matrix matrix) => | |
| 5809 _blink.BlinkSVGPoint.instance.matrixTransform_Callback_1_(this, matrix); | |
| 5810 } | |
| 5811 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5812 // for details. All rights reserved. Use of this source code is governed by a | |
| 5813 // BSD-style license that can be found in the LICENSE file. | |
| 5814 | |
| 5815 // WARNING: Do not edit - generated code. | |
| 5816 | |
| 5817 @DocsEditable() | |
| 5818 @DomName('SVGPointList') | |
| 5819 @Unstable() | |
| 5820 class PointList extends DartHtmlDomObject { | |
| 5821 // To suppress missing implicit constructor warnings. | |
| 5822 factory PointList._() { | |
| 5823 throw new UnsupportedError("Not supported"); | |
| 5824 } | |
| 5825 | |
| 5826 @Deprecated("Internal Use Only") | |
| 5827 external static Type get instanceRuntimeType; | |
| 5828 | |
| 5829 @Deprecated("Internal Use Only") | |
| 5830 PointList.internal_() {} | |
| 5831 | |
| 5832 @DomName('SVGPointList.length') | |
| 5833 @DocsEditable() | |
| 5834 @Experimental() // untriaged | |
| 5835 int get length => _blink.BlinkSVGPointList.instance.length_Getter_(this); | |
| 5836 | |
| 5837 @DomName('SVGPointList.numberOfItems') | |
| 5838 @DocsEditable() | |
| 5839 int get numberOfItems => | |
| 5840 _blink.BlinkSVGPointList.instance.numberOfItems_Getter_(this); | |
| 5841 | |
| 5842 @DomName('SVGPointList.__setter__') | |
| 5843 @DocsEditable() | |
| 5844 @Experimental() // untriaged | |
| 5845 void __setter__(int index, Point newItem) => _blink.BlinkSVGPointList.instance | |
| 5846 .$__setter___Callback_2_(this, index, newItem); | |
| 5847 | |
| 5848 @DomName('SVGPointList.appendItem') | |
| 5849 @DocsEditable() | |
| 5850 Point appendItem(Point newItem) => | |
| 5851 _blink.BlinkSVGPointList.instance.appendItem_Callback_1_(this, newItem); | |
| 5852 | |
| 5853 @DomName('SVGPointList.clear') | |
| 5854 @DocsEditable() | |
| 5855 void clear() => _blink.BlinkSVGPointList.instance.clear_Callback_0_(this); | |
| 5856 | |
| 5857 @DomName('SVGPointList.getItem') | |
| 5858 @DocsEditable() | |
| 5859 Point getItem(int index) => | |
| 5860 _blink.BlinkSVGPointList.instance.getItem_Callback_1_(this, index); | |
| 5861 | |
| 5862 @DomName('SVGPointList.initialize') | |
| 5863 @DocsEditable() | |
| 5864 Point initialize(Point newItem) => | |
| 5865 _blink.BlinkSVGPointList.instance.initialize_Callback_1_(this, newItem); | |
| 5866 | |
| 5867 @DomName('SVGPointList.insertItemBefore') | |
| 5868 @DocsEditable() | |
| 5869 Point insertItemBefore(Point newItem, int index) => | |
| 5870 _blink.BlinkSVGPointList.instance | |
| 5871 .insertItemBefore_Callback_2_(this, newItem, index); | |
| 5872 | |
| 5873 @DomName('SVGPointList.removeItem') | |
| 5874 @DocsEditable() | |
| 5875 Point removeItem(int index) => | |
| 5876 _blink.BlinkSVGPointList.instance.removeItem_Callback_1_(this, index); | |
| 5877 | |
| 5878 @DomName('SVGPointList.replaceItem') | |
| 5879 @DocsEditable() | |
| 5880 Point replaceItem(Point newItem, int index) => | |
| 5881 _blink.BlinkSVGPointList.instance | |
| 5882 .replaceItem_Callback_2_(this, newItem, index); | |
| 5883 } | |
| 5884 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5885 // for details. All rights reserved. Use of this source code is governed by a | |
| 5886 // BSD-style license that can be found in the LICENSE file. | |
| 5887 | |
| 5888 // WARNING: Do not edit - generated code. | |
| 5889 | |
| 5890 @DocsEditable() | |
| 5891 @DomName('SVGPolygonElement') | |
| 5892 @Unstable() | |
| 5893 class PolygonElement extends GeometryElement { | |
| 5894 // To suppress missing implicit constructor warnings. | |
| 5895 factory PolygonElement._() { | |
| 5896 throw new UnsupportedError("Not supported"); | |
| 5897 } | |
| 5898 | |
| 5899 @DomName('SVGPolygonElement.SVGPolygonElement') | |
| 5900 @DocsEditable() | |
| 5901 factory PolygonElement() => | |
| 5902 _SvgElementFactoryProvider.createSvgElement_tag("polygon"); | |
| 5903 | |
| 5904 @Deprecated("Internal Use Only") | |
| 5905 external static Type get instanceRuntimeType; | |
| 5906 | |
| 5907 @Deprecated("Internal Use Only") | |
| 5908 PolygonElement.internal_() : super.internal_(); | |
| 5909 | |
| 5910 /** | |
| 5911 * Constructor instantiated by the DOM when a custom element has been created. | |
| 5912 * | |
| 5913 * This can only be called by subclasses from their created constructor. | |
| 5914 */ | |
| 5915 PolygonElement.created() : super.created(); | |
| 5916 | |
| 5917 @DomName('SVGPolygonElement.animatedPoints') | |
| 5918 @DocsEditable() | |
| 5919 PointList get animatedPoints => | |
| 5920 _blink.BlinkSVGPolygonElement.instance.animatedPoints_Getter_(this); | |
| 5921 | |
| 5922 @DomName('SVGPolygonElement.points') | |
| 5923 @DocsEditable() | |
| 5924 PointList get points => | |
| 5925 _blink.BlinkSVGPolygonElement.instance.points_Getter_(this); | |
| 5926 } | |
| 5927 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5928 // for details. All rights reserved. Use of this source code is governed by a | |
| 5929 // BSD-style license that can be found in the LICENSE file. | |
| 5930 | |
| 5931 // WARNING: Do not edit - generated code. | |
| 5932 | |
| 5933 @DocsEditable() | |
| 5934 @DomName('SVGPolylineElement') | 4549 @DomName('SVGPolylineElement') |
| 5935 @Unstable() | 4550 @Unstable() |
| 5936 class PolylineElement extends GeometryElement { | 4551 class PolylineElement extends GeometryElement { |
| 5937 // To suppress missing implicit constructor warnings. | 4552 // To suppress missing implicit constructor warnings. |
| 5938 factory PolylineElement._() { | 4553 factory PolylineElement._() { |
| 5939 throw new UnsupportedError("Not supported"); | 4554 throw new UnsupportedError("Not supported"); |
| 5940 } | 4555 } |
| 5941 | 4556 |
| 5942 @DomName('SVGPolylineElement.SVGPolylineElement') | 4557 @DomName('SVGPolylineElement.SVGPolylineElement') |
| 5943 @DocsEditable() | 4558 @DocsEditable() |
| (...skipping 613 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 6557 | 5172 |
| 6558 @DomName('SVGStyleElement.type') | 5173 @DomName('SVGStyleElement.type') |
| 6559 @DocsEditable() | 5174 @DocsEditable() |
| 6560 set type(String value) => | 5175 set type(String value) => |
| 6561 _blink.BlinkSVGStyleElement.instance.type_Setter_(this, value); | 5176 _blink.BlinkSVGStyleElement.instance.type_Setter_(this, value); |
| 6562 } | 5177 } |
| 6563 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | 5178 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 6564 // for details. All rights reserved. Use of this source code is governed by a | 5179 // for details. All rights reserved. Use of this source code is governed by a |
| 6565 // BSD-style license that can be found in the LICENSE file. | 5180 // BSD-style license that can be found in the LICENSE file. |
| 6566 | 5181 |
| 6567 class _AttributeClassSet extends CssClassSetImpl { | 5182 class AttributeClassSet extends CssClassSetImpl { |
| 6568 final Element _element; | 5183 final Element _element; |
| 6569 | 5184 |
| 6570 _AttributeClassSet(this._element); | 5185 AttributeClassSet(this._element); |
| 6571 | 5186 |
| 6572 Set<String> readClasses() { | 5187 Set<String> readClasses() { |
| 6573 var classname = _element.attributes['class']; | 5188 var classname = _element.attributes['class']; |
| 5189 if (classname is AnimatedString) { |
| 5190 classname = classname.baseVal; |
| 5191 } |
| 6574 | 5192 |
| 6575 Set<String> s = new LinkedHashSet<String>(); | 5193 Set<String> s = new LinkedHashSet<String>(); |
| 6576 if (classname == null) { | 5194 if (classname == null) { |
| 6577 return s; | 5195 return s; |
| 6578 } | 5196 } |
| 6579 for (String name in classname.split(' ')) { | 5197 for (String name in classname.split(' ')) { |
| 6580 String trimmed = name.trim(); | 5198 String trimmed = name.trim(); |
| 6581 if (!trimmed.isEmpty) { | 5199 if (!trimmed.isEmpty) { |
| 6582 s.add(trimmed); | 5200 s.add(trimmed); |
| 6583 } | 5201 } |
| 6584 } | 5202 } |
| 6585 return s; | 5203 return s; |
| 6586 } | 5204 } |
| 6587 | 5205 |
| 6588 void writeClasses(Set s) { | 5206 void writeClasses(Set s) { |
| 6589 _element.attributes['class'] = s.join(' '); | 5207 _element.setAttribute('class', s.join(' ')); |
| 6590 } | 5208 } |
| 6591 } | 5209 } |
| 6592 | 5210 |
| 6593 @DomName('SVGElement') | 5211 @DomName('SVGElement') |
| 6594 @Unstable() | 5212 @Unstable() |
| 6595 class SvgElement extends Element implements GlobalEventHandlers { | 5213 class SvgElement extends Element implements GlobalEventHandlers { |
| 6596 static final _START_TAG_REGEXP = new RegExp('<(\\w+)'); | 5214 static final _START_TAG_REGEXP = new RegExp('<(\\w+)'); |
| 6597 | 5215 |
| 6598 factory SvgElement.tag(String tag) => | 5216 factory SvgElement.tag(String tag) => |
| 6599 document.createElementNS("http://www.w3.org/2000/svg", tag); | 5217 document.createElementNS("http://www.w3.org/2000/svg", tag); |
| 6600 factory SvgElement.svg(String svg, | 5218 factory SvgElement.svg(String svg, |
| 6601 {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { | 5219 {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { |
| 6602 if (validator == null && treeSanitizer == null) { | 5220 if (validator == null && treeSanitizer == null) { |
| 6603 validator = new NodeValidatorBuilder.common()..allowSvg(); | 5221 validator = new NodeValidatorBuilder.common()..allowSvg(); |
| 6604 } | 5222 } |
| 6605 | 5223 |
| 6606 final match = _START_TAG_REGEXP.firstMatch(svg); | 5224 final match = _START_TAG_REGEXP.firstMatch(svg); |
| 6607 var parentElement; | 5225 var parentElement; |
| 6608 if (match != null && match.group(1).toLowerCase() == 'svg') { | 5226 if (match != null && match.group(1).toLowerCase() == 'svg') { |
| 6609 parentElement = document.body; | 5227 parentElement = document.body; |
| 6610 } else { | 5228 } else { |
| 6611 parentElement = new SvgSvgElement(); | 5229 parentElement = new SvgSvgElement(); |
| 6612 } | 5230 } |
| 6613 var fragment = parentElement.createFragment(svg, | 5231 var fragment = parentElement.createFragment(svg, |
| 6614 validator: validator, treeSanitizer: treeSanitizer); | 5232 validator: validator, treeSanitizer: treeSanitizer); |
| 6615 return fragment.nodes.where((e) => e is SvgElement).single; | 5233 return fragment.nodes.where((e) => e is SvgElement).single; |
| 6616 } | 5234 } |
| 6617 | 5235 |
| 6618 CssClassSet get classes => new _AttributeClassSet(this); | 5236 CssClassSet get classes => new AttributeClassSet(this); |
| 6619 | 5237 |
| 6620 List<Element> get children => new FilteredElementList(this); | 5238 List<Element> get children => new FilteredElementList(this); |
| 6621 | 5239 |
| 6622 set children(List<Element> value) { | 5240 set children(List<Element> value) { |
| 6623 final children = this.children; | 5241 final children = this.children; |
| 6624 children.clear(); | 5242 children.clear(); |
| 6625 children.addAll(value); | 5243 children.addAll(value); |
| 6626 } | 5244 } |
| 6627 | 5245 |
| 6628 String get outerHtml { | 5246 String get outerHtml { |
| (...skipping 375 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7004 @Experimental() // untriaged | 5622 @Experimental() // untriaged |
| 7005 static const EventStreamProvider<Event> suspendEvent = | 5623 static const EventStreamProvider<Event> suspendEvent = |
| 7006 const EventStreamProvider<Event>('suspend'); | 5624 const EventStreamProvider<Event>('suspend'); |
| 7007 | 5625 |
| 7008 @DomName('SVGElement.timeupdateEvent') | 5626 @DomName('SVGElement.timeupdateEvent') |
| 7009 @DocsEditable() | 5627 @DocsEditable() |
| 7010 @Experimental() // untriaged | 5628 @Experimental() // untriaged |
| 7011 static const EventStreamProvider<Event> timeUpdateEvent = | 5629 static const EventStreamProvider<Event> timeUpdateEvent = |
| 7012 const EventStreamProvider<Event>('timeupdate'); | 5630 const EventStreamProvider<Event>('timeupdate'); |
| 7013 | 5631 |
| 5632 @DomName('SVGElement.touchcancelEvent') |
| 5633 @DocsEditable() |
| 5634 @Experimental() // untriaged |
| 5635 static const EventStreamProvider<TouchEvent> touchCancelEvent = |
| 5636 const EventStreamProvider<TouchEvent>('touchcancel'); |
| 5637 |
| 5638 @DomName('SVGElement.touchendEvent') |
| 5639 @DocsEditable() |
| 5640 @Experimental() // untriaged |
| 5641 static const EventStreamProvider<TouchEvent> touchEndEvent = |
| 5642 const EventStreamProvider<TouchEvent>('touchend'); |
| 5643 |
| 5644 @DomName('SVGElement.touchmoveEvent') |
| 5645 @DocsEditable() |
| 5646 @Experimental() // untriaged |
| 5647 static const EventStreamProvider<TouchEvent> touchMoveEvent = |
| 5648 const EventStreamProvider<TouchEvent>('touchmove'); |
| 5649 |
| 5650 @DomName('SVGElement.touchstartEvent') |
| 5651 @DocsEditable() |
| 5652 @Experimental() // untriaged |
| 5653 static const EventStreamProvider<TouchEvent> touchStartEvent = |
| 5654 const EventStreamProvider<TouchEvent>('touchstart'); |
| 5655 |
| 7014 @DomName('SVGElement.volumechangeEvent') | 5656 @DomName('SVGElement.volumechangeEvent') |
| 7015 @DocsEditable() | 5657 @DocsEditable() |
| 7016 @Experimental() // untriaged | 5658 @Experimental() // untriaged |
| 7017 static const EventStreamProvider<Event> volumeChangeEvent = | 5659 static const EventStreamProvider<Event> volumeChangeEvent = |
| 7018 const EventStreamProvider<Event>('volumechange'); | 5660 const EventStreamProvider<Event>('volumechange'); |
| 7019 | 5661 |
| 7020 @DomName('SVGElement.waitingEvent') | 5662 @DomName('SVGElement.waitingEvent') |
| 7021 @DocsEditable() | 5663 @DocsEditable() |
| 7022 @Experimental() // untriaged | 5664 @Experimental() // untriaged |
| 7023 static const EventStreamProvider<Event> waitingEvent = | 5665 static const EventStreamProvider<Event> waitingEvent = |
| (...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7329 @DomName('SVGElement.onsuspend') | 5971 @DomName('SVGElement.onsuspend') |
| 7330 @DocsEditable() | 5972 @DocsEditable() |
| 7331 @Experimental() // untriaged | 5973 @Experimental() // untriaged |
| 7332 ElementStream<Event> get onSuspend => suspendEvent.forElement(this); | 5974 ElementStream<Event> get onSuspend => suspendEvent.forElement(this); |
| 7333 | 5975 |
| 7334 @DomName('SVGElement.ontimeupdate') | 5976 @DomName('SVGElement.ontimeupdate') |
| 7335 @DocsEditable() | 5977 @DocsEditable() |
| 7336 @Experimental() // untriaged | 5978 @Experimental() // untriaged |
| 7337 ElementStream<Event> get onTimeUpdate => timeUpdateEvent.forElement(this); | 5979 ElementStream<Event> get onTimeUpdate => timeUpdateEvent.forElement(this); |
| 7338 | 5980 |
| 5981 @DomName('SVGElement.ontouchcancel') |
| 5982 @DocsEditable() |
| 5983 @Experimental() // untriaged |
| 5984 ElementStream<TouchEvent> get onTouchCancel => |
| 5985 touchCancelEvent.forElement(this); |
| 5986 |
| 5987 @DomName('SVGElement.ontouchend') |
| 5988 @DocsEditable() |
| 5989 @Experimental() // untriaged |
| 5990 ElementStream<TouchEvent> get onTouchEnd => touchEndEvent.forElement(this); |
| 5991 |
| 5992 @DomName('SVGElement.ontouchmove') |
| 5993 @DocsEditable() |
| 5994 @Experimental() // untriaged |
| 5995 ElementStream<TouchEvent> get onTouchMove => touchMoveEvent.forElement(this); |
| 5996 |
| 5997 @DomName('SVGElement.ontouchstart') |
| 5998 @DocsEditable() |
| 5999 @Experimental() // untriaged |
| 6000 ElementStream<TouchEvent> get onTouchStart => |
| 6001 touchStartEvent.forElement(this); |
| 6002 |
| 7339 @DomName('SVGElement.onvolumechange') | 6003 @DomName('SVGElement.onvolumechange') |
| 7340 @DocsEditable() | 6004 @DocsEditable() |
| 7341 @Experimental() // untriaged | 6005 @Experimental() // untriaged |
| 7342 ElementStream<Event> get onVolumeChange => volumeChangeEvent.forElement(this); | 6006 ElementStream<Event> get onVolumeChange => volumeChangeEvent.forElement(this); |
| 7343 | 6007 |
| 7344 @DomName('SVGElement.onwaiting') | 6008 @DomName('SVGElement.onwaiting') |
| 7345 @DocsEditable() | 6009 @DocsEditable() |
| 7346 @Experimental() // untriaged | 6010 @Experimental() // untriaged |
| 7347 ElementStream<Event> get onWaiting => waitingEvent.forElement(this); | 6011 ElementStream<Event> get onWaiting => waitingEvent.forElement(this); |
| 7348 } | 6012 } |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7397 @DomName('SVGSVGElement.currentView') | 6061 @DomName('SVGSVGElement.currentView') |
| 7398 @DocsEditable() | 6062 @DocsEditable() |
| 7399 ViewSpec get currentView => | 6063 ViewSpec get currentView => |
| 7400 _blink.BlinkSVGSVGElement.instance.currentView_Getter_(this); | 6064 _blink.BlinkSVGSVGElement.instance.currentView_Getter_(this); |
| 7401 | 6065 |
| 7402 @DomName('SVGSVGElement.height') | 6066 @DomName('SVGSVGElement.height') |
| 7403 @DocsEditable() | 6067 @DocsEditable() |
| 7404 AnimatedLength get height => | 6068 AnimatedLength get height => |
| 7405 _blink.BlinkSVGSVGElement.instance.height_Getter_(this); | 6069 _blink.BlinkSVGSVGElement.instance.height_Getter_(this); |
| 7406 | 6070 |
| 7407 @DomName('SVGSVGElement.pixelUnitToMillimeterX') | |
| 7408 @DocsEditable() | |
| 7409 num get pixelUnitToMillimeterX => | |
| 7410 _blink.BlinkSVGSVGElement.instance.pixelUnitToMillimeterX_Getter_(this); | |
| 7411 | |
| 7412 @DomName('SVGSVGElement.pixelUnitToMillimeterY') | |
| 7413 @DocsEditable() | |
| 7414 num get pixelUnitToMillimeterY => | |
| 7415 _blink.BlinkSVGSVGElement.instance.pixelUnitToMillimeterY_Getter_(this); | |
| 7416 | |
| 7417 @DomName('SVGSVGElement.screenPixelToMillimeterX') | |
| 7418 @DocsEditable() | |
| 7419 num get screenPixelToMillimeterX => | |
| 7420 _blink.BlinkSVGSVGElement.instance.screenPixelToMillimeterX_Getter_(this); | |
| 7421 | |
| 7422 @DomName('SVGSVGElement.screenPixelToMillimeterY') | |
| 7423 @DocsEditable() | |
| 7424 num get screenPixelToMillimeterY => | |
| 7425 _blink.BlinkSVGSVGElement.instance.screenPixelToMillimeterY_Getter_(this); | |
| 7426 | |
| 7427 @DomName('SVGSVGElement.useCurrentView') | 6071 @DomName('SVGSVGElement.useCurrentView') |
| 7428 @DocsEditable() | 6072 @DocsEditable() |
| 7429 bool get useCurrentView => | 6073 bool get useCurrentView => |
| 7430 _blink.BlinkSVGSVGElement.instance.useCurrentView_Getter_(this); | 6074 _blink.BlinkSVGSVGElement.instance.useCurrentView_Getter_(this); |
| 7431 | 6075 |
| 7432 @DomName('SVGSVGElement.viewport') | 6076 @DomName('SVGSVGElement.viewport') |
| 7433 @DocsEditable() | 6077 @DocsEditable() |
| 7434 Rect get viewport => | 6078 Rect get viewport => |
| 7435 _blink.BlinkSVGSVGElement.instance.viewport_Getter_(this); | 6079 _blink.BlinkSVGSVGElement.instance.viewport_Getter_(this); |
| 7436 | 6080 |
| (...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 7717 @DocsEditable() | 6361 @DocsEditable() |
| 7718 StringList get requiredExtensions; | 6362 StringList get requiredExtensions; |
| 7719 | 6363 |
| 7720 @DomName('SVGTests.requiredFeatures') | 6364 @DomName('SVGTests.requiredFeatures') |
| 7721 @DocsEditable() | 6365 @DocsEditable() |
| 7722 StringList get requiredFeatures; | 6366 StringList get requiredFeatures; |
| 7723 | 6367 |
| 7724 @DomName('SVGTests.systemLanguage') | 6368 @DomName('SVGTests.systemLanguage') |
| 7725 @DocsEditable() | 6369 @DocsEditable() |
| 7726 StringList get systemLanguage; | 6370 StringList get systemLanguage; |
| 7727 | |
| 7728 @DomName('SVGTests.hasExtension') | |
| 7729 @DocsEditable() | |
| 7730 bool hasExtension(String extension); | |
| 7731 } | 6371 } |
| 7732 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6372 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 7733 // for details. All rights reserved. Use of this source code is governed by a | 6373 // for details. All rights reserved. Use of this source code is governed by a |
| 7734 // BSD-style license that can be found in the LICENSE file. | 6374 // BSD-style license that can be found in the LICENSE file. |
| 7735 | 6375 |
| 7736 // WARNING: Do not edit - generated code. | 6376 // WARNING: Do not edit - generated code. |
| 7737 | 6377 |
| 7738 @DocsEditable() | 6378 @DocsEditable() |
| 7739 @DomName('SVGTextContentElement') | 6379 @DomName('SVGTextContentElement') |
| 7740 @Unstable() | 6380 @Unstable() |
| (...skipping 1030 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 8771 * Constructor instantiated by the DOM when a custom element has been created. | 7411 * Constructor instantiated by the DOM when a custom element has been created. |
| 8772 * | 7412 * |
| 8773 * This can only be called by subclasses from their created constructor. | 7413 * This can only be called by subclasses from their created constructor. |
| 8774 */ | 7414 */ |
| 8775 _SVGMPathElement.created() : super.created(); | 7415 _SVGMPathElement.created() : super.created(); |
| 8776 | 7416 |
| 8777 // Override these methods for Dartium _SVGMPathElement can't be abstract. | 7417 // Override these methods for Dartium _SVGMPathElement can't be abstract. |
| 8778 AnimatedString get href => | 7418 AnimatedString get href => |
| 8779 _blink.BlinkSVGMPathElement.instance.href_Getter_(this); | 7419 _blink.BlinkSVGMPathElement.instance.href_Getter_(this); |
| 8780 } | 7420 } |
| OLD | NEW |