OLD | NEW |
| (Empty) |
1 /** | |
2 * Scalable Vector Graphics: | |
3 * Two-dimensional vector graphics with support for events and animation. | |
4 * | |
5 * For details about the features and syntax of SVG, a W3C standard, | |
6 * refer to the | |
7 * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/). | |
8 */ | |
9 library dart.dom.svg; | |
10 | |
11 import 'dart:async'; | |
12 import 'dart:collection' hide LinkedList, LinkedListEntry; | |
13 import 'dart:_internal'; | |
14 import 'dart:html'; | |
15 import 'dart:html_common'; | |
16 import 'dart:nativewrappers'; | |
17 import 'dart:_blink' as _blink; | |
18 import 'dart:js' as js; | |
19 // DO NOT EDIT | |
20 // Auto-generated dart:svg library. | |
21 | |
22 // FIXME: Can we make this private? | |
23 @Deprecated("Internal Use Only") | |
24 final svgBlinkMap = { | |
25 'SVGAElement': () => AElement.instanceRuntimeType, | |
26 'SVGAngle': () => Angle.instanceRuntimeType, | |
27 'SVGAnimateElement': () => AnimateElement.instanceRuntimeType, | |
28 'SVGAnimateMotionElement': () => AnimateMotionElement.instanceRuntimeType, | |
29 'SVGAnimateTransformElement': () => | |
30 AnimateTransformElement.instanceRuntimeType, | |
31 'SVGAnimatedAngle': () => AnimatedAngle.instanceRuntimeType, | |
32 'SVGAnimatedBoolean': () => AnimatedBoolean.instanceRuntimeType, | |
33 'SVGAnimatedEnumeration': () => AnimatedEnumeration.instanceRuntimeType, | |
34 'SVGAnimatedInteger': () => AnimatedInteger.instanceRuntimeType, | |
35 'SVGAnimatedLength': () => AnimatedLength.instanceRuntimeType, | |
36 'SVGAnimatedLengthList': () => AnimatedLengthList.instanceRuntimeType, | |
37 'SVGAnimatedNumber': () => AnimatedNumber.instanceRuntimeType, | |
38 'SVGAnimatedNumberList': () => AnimatedNumberList.instanceRuntimeType, | |
39 'SVGAnimatedPreserveAspectRatio': () => | |
40 AnimatedPreserveAspectRatio.instanceRuntimeType, | |
41 'SVGAnimatedRect': () => AnimatedRect.instanceRuntimeType, | |
42 'SVGAnimatedString': () => AnimatedString.instanceRuntimeType, | |
43 'SVGAnimatedTransformList': () => AnimatedTransformList.instanceRuntimeType, | |
44 'SVGAnimationElement': () => AnimationElement.instanceRuntimeType, | |
45 'SVGCircleElement': () => CircleElement.instanceRuntimeType, | |
46 'SVGClipPathElement': () => ClipPathElement.instanceRuntimeType, | |
47 'SVGComponentTransferFunctionElement': () => | |
48 _SVGComponentTransferFunctionElement.instanceRuntimeType, | |
49 'SVGCursorElement': () => _SVGCursorElement.instanceRuntimeType, | |
50 'SVGDefsElement': () => DefsElement.instanceRuntimeType, | |
51 'SVGDescElement': () => DescElement.instanceRuntimeType, | |
52 'SVGDiscardElement': () => DiscardElement.instanceRuntimeType, | |
53 'SVGElement': () => SvgElement.instanceRuntimeType, | |
54 'SVGEllipseElement': () => EllipseElement.instanceRuntimeType, | |
55 'SVGFEBlendElement': () => FEBlendElement.instanceRuntimeType, | |
56 'SVGFEColorMatrixElement': () => FEColorMatrixElement.instanceRuntimeType, | |
57 'SVGFEComponentTransferElement': () => | |
58 FEComponentTransferElement.instanceRuntimeType, | |
59 'SVGFECompositeElement': () => FECompositeElement.instanceRuntimeType, | |
60 'SVGFEConvolveMatrixElement': () => | |
61 FEConvolveMatrixElement.instanceRuntimeType, | |
62 'SVGFEDiffuseLightingElement': () => | |
63 FEDiffuseLightingElement.instanceRuntimeType, | |
64 'SVGFEDisplacementMapElement': () => | |
65 FEDisplacementMapElement.instanceRuntimeType, | |
66 'SVGFEDistantLightElement': () => FEDistantLightElement.instanceRuntimeType, | |
67 'SVGFEDropShadowElement': () => _SVGFEDropShadowElement.instanceRuntimeType, | |
68 'SVGFEFloodElement': () => FEFloodElement.instanceRuntimeType, | |
69 'SVGFEFuncAElement': () => FEFuncAElement.instanceRuntimeType, | |
70 'SVGFEFuncBElement': () => FEFuncBElement.instanceRuntimeType, | |
71 'SVGFEFuncGElement': () => FEFuncGElement.instanceRuntimeType, | |
72 'SVGFEFuncRElement': () => FEFuncRElement.instanceRuntimeType, | |
73 'SVGFEGaussianBlurElement': () => FEGaussianBlurElement.instanceRuntimeType, | |
74 'SVGFEImageElement': () => FEImageElement.instanceRuntimeType, | |
75 'SVGFEMergeElement': () => FEMergeElement.instanceRuntimeType, | |
76 'SVGFEMergeNodeElement': () => FEMergeNodeElement.instanceRuntimeType, | |
77 'SVGFEMorphologyElement': () => FEMorphologyElement.instanceRuntimeType, | |
78 'SVGFEOffsetElement': () => FEOffsetElement.instanceRuntimeType, | |
79 'SVGFEPointLightElement': () => FEPointLightElement.instanceRuntimeType, | |
80 'SVGFESpecularLightingElement': () => | |
81 FESpecularLightingElement.instanceRuntimeType, | |
82 'SVGFESpotLightElement': () => FESpotLightElement.instanceRuntimeType, | |
83 'SVGFETileElement': () => FETileElement.instanceRuntimeType, | |
84 'SVGFETurbulenceElement': () => FETurbulenceElement.instanceRuntimeType, | |
85 'SVGFilterElement': () => FilterElement.instanceRuntimeType, | |
86 'SVGFilterPrimitiveStandardAttributes': () => | |
87 FilterPrimitiveStandardAttributes.instanceRuntimeType, | |
88 'SVGFitToViewBox': () => FitToViewBox.instanceRuntimeType, | |
89 'SVGForeignObjectElement': () => ForeignObjectElement.instanceRuntimeType, | |
90 'SVGGElement': () => GElement.instanceRuntimeType, | |
91 'SVGGeometryElement': () => GeometryElement.instanceRuntimeType, | |
92 'SVGGradientElement': () => _GradientElement.instanceRuntimeType, | |
93 'SVGGraphicsElement': () => GraphicsElement.instanceRuntimeType, | |
94 'SVGImageElement': () => ImageElement.instanceRuntimeType, | |
95 'SVGLength': () => Length.instanceRuntimeType, | |
96 'SVGLengthList': () => LengthList.instanceRuntimeType, | |
97 'SVGLineElement': () => LineElement.instanceRuntimeType, | |
98 'SVGLinearGradientElement': () => LinearGradientElement.instanceRuntimeType, | |
99 'SVGMPathElement': () => _SVGMPathElement.instanceRuntimeType, | |
100 'SVGMarkerElement': () => MarkerElement.instanceRuntimeType, | |
101 'SVGMaskElement': () => MaskElement.instanceRuntimeType, | |
102 'SVGMatrix': () => Matrix.instanceRuntimeType, | |
103 'SVGMetadataElement': () => MetadataElement.instanceRuntimeType, | |
104 'SVGNumber': () => Number.instanceRuntimeType, | |
105 'SVGNumberList': () => NumberList.instanceRuntimeType, | |
106 'SVGPathElement': () => PathElement.instanceRuntimeType, | |
107 'SVGPatternElement': () => PatternElement.instanceRuntimeType, | |
108 'SVGPoint': () => Point.instanceRuntimeType, | |
109 'SVGPointList': () => PointList.instanceRuntimeType, | |
110 'SVGPolygonElement': () => PolygonElement.instanceRuntimeType, | |
111 'SVGPolylineElement': () => PolylineElement.instanceRuntimeType, | |
112 'SVGPreserveAspectRatio': () => PreserveAspectRatio.instanceRuntimeType, | |
113 'SVGRadialGradientElement': () => RadialGradientElement.instanceRuntimeType, | |
114 'SVGRect': () => Rect.instanceRuntimeType, | |
115 'SVGRectElement': () => RectElement.instanceRuntimeType, | |
116 'SVGSVGElement': () => SvgSvgElement.instanceRuntimeType, | |
117 'SVGScriptElement': () => ScriptElement.instanceRuntimeType, | |
118 'SVGSetElement': () => SetElement.instanceRuntimeType, | |
119 'SVGStopElement': () => StopElement.instanceRuntimeType, | |
120 'SVGStringList': () => StringList.instanceRuntimeType, | |
121 'SVGStyleElement': () => StyleElement.instanceRuntimeType, | |
122 'SVGSwitchElement': () => SwitchElement.instanceRuntimeType, | |
123 'SVGSymbolElement': () => SymbolElement.instanceRuntimeType, | |
124 'SVGTSpanElement': () => TSpanElement.instanceRuntimeType, | |
125 'SVGTests': () => Tests.instanceRuntimeType, | |
126 'SVGTextContentElement': () => TextContentElement.instanceRuntimeType, | |
127 'SVGTextElement': () => TextElement.instanceRuntimeType, | |
128 'SVGTextPathElement': () => TextPathElement.instanceRuntimeType, | |
129 'SVGTextPositioningElement': () => TextPositioningElement.instanceRuntimeType, | |
130 'SVGTitleElement': () => TitleElement.instanceRuntimeType, | |
131 'SVGTransform': () => Transform.instanceRuntimeType, | |
132 'SVGTransformList': () => TransformList.instanceRuntimeType, | |
133 'SVGURIReference': () => UriReference.instanceRuntimeType, | |
134 'SVGUnitTypes': () => UnitTypes.instanceRuntimeType, | |
135 'SVGUseElement': () => UseElement.instanceRuntimeType, | |
136 'SVGViewElement': () => ViewElement.instanceRuntimeType, | |
137 'SVGViewSpec': () => ViewSpec.instanceRuntimeType, | |
138 'SVGZoomAndPan': () => ZoomAndPan.instanceRuntimeType, | |
139 'SVGZoomEvent': () => ZoomEvent.instanceRuntimeType, | |
140 }; | |
141 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
142 // for details. All rights reserved. Use of this source code is governed by a | |
143 // BSD-style license that can be found in the LICENSE file. | |
144 | |
145 class _SvgElementFactoryProvider { | |
146 static SvgElement createSvgElement_tag(String tag) { | |
147 final Element temp = | |
148 document.createElementNS("http://www.w3.org/2000/svg", tag); | |
149 return temp; | |
150 } | |
151 } | |
152 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
153 // for details. All rights reserved. Use of this source code is governed by a | |
154 // BSD-style license that can be found in the LICENSE file. | |
155 | |
156 // WARNING: Do not edit - generated code. | |
157 | |
158 @DocsEditable() | |
159 @DomName('SVGAElement') | |
160 @Unstable() | |
161 class AElement extends GraphicsElement implements UriReference { | |
162 // To suppress missing implicit constructor warnings. | |
163 factory AElement._() { | |
164 throw new UnsupportedError("Not supported"); | |
165 } | |
166 | |
167 @DomName('SVGAElement.SVGAElement') | |
168 @DocsEditable() | |
169 factory AElement() => _SvgElementFactoryProvider.createSvgElement_tag("a"); | |
170 | |
171 @Deprecated("Internal Use Only") | |
172 external static Type get instanceRuntimeType; | |
173 | |
174 @Deprecated("Internal Use Only") | |
175 AElement.internal_() : super.internal_(); | |
176 | |
177 /** | |
178 * Constructor instantiated by the DOM when a custom element has been created. | |
179 * | |
180 * This can only be called by subclasses from their created constructor. | |
181 */ | |
182 AElement.created() : super.created(); | |
183 | |
184 @DomName('SVGAElement.target') | |
185 @DocsEditable() | |
186 AnimatedString get target => | |
187 _blink.BlinkSVGAElement.instance.target_Getter_(this); | |
188 | |
189 @DomName('SVGAElement.href') | |
190 @DocsEditable() | |
191 AnimatedString get href => | |
192 _blink.BlinkSVGAElement.instance.href_Getter_(this); | |
193 } | |
194 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
195 // for details. All rights reserved. Use of this source code is governed by a | |
196 // BSD-style license that can be found in the LICENSE file. | |
197 | |
198 // WARNING: Do not edit - generated code. | |
199 | |
200 @DocsEditable() | |
201 @DomName('SVGAngle') | |
202 @Unstable() | |
203 class Angle extends DartHtmlDomObject { | |
204 // To suppress missing implicit constructor warnings. | |
205 factory Angle._() { | |
206 throw new UnsupportedError("Not supported"); | |
207 } | |
208 | |
209 @Deprecated("Internal Use Only") | |
210 external static Type get instanceRuntimeType; | |
211 | |
212 @Deprecated("Internal Use Only") | |
213 Angle.internal_() {} | |
214 | |
215 @DomName('SVGAngle.SVG_ANGLETYPE_DEG') | |
216 @DocsEditable() | |
217 static const int SVG_ANGLETYPE_DEG = 2; | |
218 | |
219 @DomName('SVGAngle.SVG_ANGLETYPE_GRAD') | |
220 @DocsEditable() | |
221 static const int SVG_ANGLETYPE_GRAD = 4; | |
222 | |
223 @DomName('SVGAngle.SVG_ANGLETYPE_RAD') | |
224 @DocsEditable() | |
225 static const int SVG_ANGLETYPE_RAD = 3; | |
226 | |
227 @DomName('SVGAngle.SVG_ANGLETYPE_UNKNOWN') | |
228 @DocsEditable() | |
229 static const int SVG_ANGLETYPE_UNKNOWN = 0; | |
230 | |
231 @DomName('SVGAngle.SVG_ANGLETYPE_UNSPECIFIED') | |
232 @DocsEditable() | |
233 static const int SVG_ANGLETYPE_UNSPECIFIED = 1; | |
234 | |
235 @DomName('SVGAngle.unitType') | |
236 @DocsEditable() | |
237 int get unitType => _blink.BlinkSVGAngle.instance.unitType_Getter_(this); | |
238 | |
239 @DomName('SVGAngle.value') | |
240 @DocsEditable() | |
241 num get value => _blink.BlinkSVGAngle.instance.value_Getter_(this); | |
242 | |
243 @DomName('SVGAngle.value') | |
244 @DocsEditable() | |
245 set value(num value) => | |
246 _blink.BlinkSVGAngle.instance.value_Setter_(this, value); | |
247 | |
248 @DomName('SVGAngle.valueAsString') | |
249 @DocsEditable() | |
250 String get valueAsString => | |
251 _blink.BlinkSVGAngle.instance.valueAsString_Getter_(this); | |
252 | |
253 @DomName('SVGAngle.valueAsString') | |
254 @DocsEditable() | |
255 set valueAsString(String value) => | |
256 _blink.BlinkSVGAngle.instance.valueAsString_Setter_(this, value); | |
257 | |
258 @DomName('SVGAngle.valueInSpecifiedUnits') | |
259 @DocsEditable() | |
260 num get valueInSpecifiedUnits => | |
261 _blink.BlinkSVGAngle.instance.valueInSpecifiedUnits_Getter_(this); | |
262 | |
263 @DomName('SVGAngle.valueInSpecifiedUnits') | |
264 @DocsEditable() | |
265 set valueInSpecifiedUnits(num value) => | |
266 _blink.BlinkSVGAngle.instance.valueInSpecifiedUnits_Setter_(this, value); | |
267 | |
268 @DomName('SVGAngle.convertToSpecifiedUnits') | |
269 @DocsEditable() | |
270 void convertToSpecifiedUnits(int unitType) => _blink.BlinkSVGAngle.instance | |
271 .convertToSpecifiedUnits_Callback_1_(this, unitType); | |
272 | |
273 @DomName('SVGAngle.newValueSpecifiedUnits') | |
274 @DocsEditable() | |
275 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) => | |
276 _blink.BlinkSVGAngle.instance.newValueSpecifiedUnits_Callback_2_( | |
277 this, unitType, valueInSpecifiedUnits); | |
278 } | |
279 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
280 // for details. All rights reserved. Use of this source code is governed by a | |
281 // BSD-style license that can be found in the LICENSE file. | |
282 | |
283 // WARNING: Do not edit - generated code. | |
284 | |
285 @DocsEditable() | |
286 @DomName('SVGAnimateElement') | |
287 @SupportedBrowser(SupportedBrowser.CHROME) | |
288 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
289 @SupportedBrowser(SupportedBrowser.SAFARI) | |
290 @Unstable() | |
291 class AnimateElement extends AnimationElement { | |
292 // To suppress missing implicit constructor warnings. | |
293 factory AnimateElement._() { | |
294 throw new UnsupportedError("Not supported"); | |
295 } | |
296 | |
297 @DomName('SVGAnimateElement.SVGAnimateElement') | |
298 @DocsEditable() | |
299 factory AnimateElement() => | |
300 _SvgElementFactoryProvider.createSvgElement_tag("animate"); | |
301 | |
302 @Deprecated("Internal Use Only") | |
303 external static Type get instanceRuntimeType; | |
304 | |
305 @Deprecated("Internal Use Only") | |
306 AnimateElement.internal_() : super.internal_(); | |
307 | |
308 /** | |
309 * Constructor instantiated by the DOM when a custom element has been created. | |
310 * | |
311 * This can only be called by subclasses from their created constructor. | |
312 */ | |
313 AnimateElement.created() : super.created(); | |
314 | |
315 /// Checks if this type is supported on the current platform. | |
316 static bool get supported => true; | |
317 } | |
318 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
319 // for details. All rights reserved. Use of this source code is governed by a | |
320 // BSD-style license that can be found in the LICENSE file. | |
321 | |
322 // WARNING: Do not edit - generated code. | |
323 | |
324 @DocsEditable() | |
325 @DomName('SVGAnimateMotionElement') | |
326 @SupportedBrowser(SupportedBrowser.CHROME) | |
327 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
328 @SupportedBrowser(SupportedBrowser.SAFARI) | |
329 @Unstable() | |
330 class AnimateMotionElement extends AnimationElement { | |
331 // To suppress missing implicit constructor warnings. | |
332 factory AnimateMotionElement._() { | |
333 throw new UnsupportedError("Not supported"); | |
334 } | |
335 | |
336 @DomName('SVGAnimateMotionElement.SVGAnimateMotionElement') | |
337 @DocsEditable() | |
338 factory AnimateMotionElement() => | |
339 _SvgElementFactoryProvider.createSvgElement_tag("animateMotion"); | |
340 | |
341 @Deprecated("Internal Use Only") | |
342 external static Type get instanceRuntimeType; | |
343 | |
344 @Deprecated("Internal Use Only") | |
345 AnimateMotionElement.internal_() : super.internal_(); | |
346 | |
347 /** | |
348 * Constructor instantiated by the DOM when a custom element has been created. | |
349 * | |
350 * This can only be called by subclasses from their created constructor. | |
351 */ | |
352 AnimateMotionElement.created() : super.created(); | |
353 | |
354 /// Checks if this type is supported on the current platform. | |
355 static bool get supported => true; | |
356 } | |
357 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
358 // for details. All rights reserved. Use of this source code is governed by a | |
359 // BSD-style license that can be found in the LICENSE file. | |
360 | |
361 // WARNING: Do not edit - generated code. | |
362 | |
363 @DocsEditable() | |
364 @DomName('SVGAnimateTransformElement') | |
365 @SupportedBrowser(SupportedBrowser.CHROME) | |
366 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
367 @SupportedBrowser(SupportedBrowser.SAFARI) | |
368 @Unstable() | |
369 class AnimateTransformElement extends AnimationElement { | |
370 // To suppress missing implicit constructor warnings. | |
371 factory AnimateTransformElement._() { | |
372 throw new UnsupportedError("Not supported"); | |
373 } | |
374 | |
375 @DomName('SVGAnimateTransformElement.SVGAnimateTransformElement') | |
376 @DocsEditable() | |
377 factory AnimateTransformElement() => | |
378 _SvgElementFactoryProvider.createSvgElement_tag("animateTransform"); | |
379 | |
380 @Deprecated("Internal Use Only") | |
381 external static Type get instanceRuntimeType; | |
382 | |
383 @Deprecated("Internal Use Only") | |
384 AnimateTransformElement.internal_() : super.internal_(); | |
385 | |
386 /** | |
387 * Constructor instantiated by the DOM when a custom element has been created. | |
388 * | |
389 * This can only be called by subclasses from their created constructor. | |
390 */ | |
391 AnimateTransformElement.created() : super.created(); | |
392 | |
393 /// Checks if this type is supported on the current platform. | |
394 static bool get supported => true; | |
395 } | |
396 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
397 // for details. All rights reserved. Use of this source code is governed by a | |
398 // BSD-style license that can be found in the LICENSE file. | |
399 | |
400 // WARNING: Do not edit - generated code. | |
401 | |
402 @DocsEditable() | |
403 @DomName('SVGAnimatedAngle') | |
404 @Unstable() | |
405 class AnimatedAngle extends DartHtmlDomObject { | |
406 // To suppress missing implicit constructor warnings. | |
407 factory AnimatedAngle._() { | |
408 throw new UnsupportedError("Not supported"); | |
409 } | |
410 | |
411 @Deprecated("Internal Use Only") | |
412 external static Type get instanceRuntimeType; | |
413 | |
414 @Deprecated("Internal Use Only") | |
415 AnimatedAngle.internal_() {} | |
416 | |
417 @DomName('SVGAnimatedAngle.animVal') | |
418 @DocsEditable() | |
419 Angle get animVal => | |
420 _blink.BlinkSVGAnimatedAngle.instance.animVal_Getter_(this); | |
421 | |
422 @DomName('SVGAnimatedAngle.baseVal') | |
423 @DocsEditable() | |
424 Angle get baseVal => | |
425 _blink.BlinkSVGAnimatedAngle.instance.baseVal_Getter_(this); | |
426 } | |
427 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
428 // for details. All rights reserved. Use of this source code is governed by a | |
429 // BSD-style license that can be found in the LICENSE file. | |
430 | |
431 // WARNING: Do not edit - generated code. | |
432 | |
433 @DocsEditable() | |
434 @DomName('SVGAnimatedBoolean') | |
435 @Unstable() | |
436 class AnimatedBoolean extends DartHtmlDomObject { | |
437 // To suppress missing implicit constructor warnings. | |
438 factory AnimatedBoolean._() { | |
439 throw new UnsupportedError("Not supported"); | |
440 } | |
441 | |
442 @Deprecated("Internal Use Only") | |
443 external static Type get instanceRuntimeType; | |
444 | |
445 @Deprecated("Internal Use Only") | |
446 AnimatedBoolean.internal_() {} | |
447 | |
448 @DomName('SVGAnimatedBoolean.animVal') | |
449 @DocsEditable() | |
450 bool get animVal => | |
451 _blink.BlinkSVGAnimatedBoolean.instance.animVal_Getter_(this); | |
452 | |
453 @DomName('SVGAnimatedBoolean.baseVal') | |
454 @DocsEditable() | |
455 bool get baseVal => | |
456 _blink.BlinkSVGAnimatedBoolean.instance.baseVal_Getter_(this); | |
457 | |
458 @DomName('SVGAnimatedBoolean.baseVal') | |
459 @DocsEditable() | |
460 set baseVal(bool value) => | |
461 _blink.BlinkSVGAnimatedBoolean.instance.baseVal_Setter_(this, value); | |
462 } | |
463 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
464 // for details. All rights reserved. Use of this source code is governed by a | |
465 // BSD-style license that can be found in the LICENSE file. | |
466 | |
467 // WARNING: Do not edit - generated code. | |
468 | |
469 @DocsEditable() | |
470 @DomName('SVGAnimatedEnumeration') | |
471 @Unstable() | |
472 class AnimatedEnumeration extends DartHtmlDomObject { | |
473 // To suppress missing implicit constructor warnings. | |
474 factory AnimatedEnumeration._() { | |
475 throw new UnsupportedError("Not supported"); | |
476 } | |
477 | |
478 @Deprecated("Internal Use Only") | |
479 external static Type get instanceRuntimeType; | |
480 | |
481 @Deprecated("Internal Use Only") | |
482 AnimatedEnumeration.internal_() {} | |
483 | |
484 @DomName('SVGAnimatedEnumeration.animVal') | |
485 @DocsEditable() | |
486 int get animVal => | |
487 _blink.BlinkSVGAnimatedEnumeration.instance.animVal_Getter_(this); | |
488 | |
489 @DomName('SVGAnimatedEnumeration.baseVal') | |
490 @DocsEditable() | |
491 int get baseVal => | |
492 _blink.BlinkSVGAnimatedEnumeration.instance.baseVal_Getter_(this); | |
493 | |
494 @DomName('SVGAnimatedEnumeration.baseVal') | |
495 @DocsEditable() | |
496 set baseVal(int value) => | |
497 _blink.BlinkSVGAnimatedEnumeration.instance.baseVal_Setter_(this, value); | |
498 } | |
499 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
500 // for details. All rights reserved. Use of this source code is governed by a | |
501 // BSD-style license that can be found in the LICENSE file. | |
502 | |
503 // WARNING: Do not edit - generated code. | |
504 | |
505 @DocsEditable() | |
506 @DomName('SVGAnimatedInteger') | |
507 @Unstable() | |
508 class AnimatedInteger extends DartHtmlDomObject { | |
509 // To suppress missing implicit constructor warnings. | |
510 factory AnimatedInteger._() { | |
511 throw new UnsupportedError("Not supported"); | |
512 } | |
513 | |
514 @Deprecated("Internal Use Only") | |
515 external static Type get instanceRuntimeType; | |
516 | |
517 @Deprecated("Internal Use Only") | |
518 AnimatedInteger.internal_() {} | |
519 | |
520 @DomName('SVGAnimatedInteger.animVal') | |
521 @DocsEditable() | |
522 int get animVal => | |
523 _blink.BlinkSVGAnimatedInteger.instance.animVal_Getter_(this); | |
524 | |
525 @DomName('SVGAnimatedInteger.baseVal') | |
526 @DocsEditable() | |
527 int get baseVal => | |
528 _blink.BlinkSVGAnimatedInteger.instance.baseVal_Getter_(this); | |
529 | |
530 @DomName('SVGAnimatedInteger.baseVal') | |
531 @DocsEditable() | |
532 set baseVal(int value) => | |
533 _blink.BlinkSVGAnimatedInteger.instance.baseVal_Setter_(this, value); | |
534 } | |
535 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
536 // for details. All rights reserved. Use of this source code is governed by a | |
537 // BSD-style license that can be found in the LICENSE file. | |
538 | |
539 // WARNING: Do not edit - generated code. | |
540 | |
541 @DocsEditable() | |
542 @DomName('SVGAnimatedLength') | |
543 @Unstable() | |
544 class AnimatedLength extends DartHtmlDomObject { | |
545 // To suppress missing implicit constructor warnings. | |
546 factory AnimatedLength._() { | |
547 throw new UnsupportedError("Not supported"); | |
548 } | |
549 | |
550 @Deprecated("Internal Use Only") | |
551 external static Type get instanceRuntimeType; | |
552 | |
553 @Deprecated("Internal Use Only") | |
554 AnimatedLength.internal_() {} | |
555 | |
556 @DomName('SVGAnimatedLength.animVal') | |
557 @DocsEditable() | |
558 Length get animVal => | |
559 _blink.BlinkSVGAnimatedLength.instance.animVal_Getter_(this); | |
560 | |
561 @DomName('SVGAnimatedLength.baseVal') | |
562 @DocsEditable() | |
563 Length get baseVal => | |
564 _blink.BlinkSVGAnimatedLength.instance.baseVal_Getter_(this); | |
565 } | |
566 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
567 // for details. All rights reserved. Use of this source code is governed by a | |
568 // BSD-style license that can be found in the LICENSE file. | |
569 | |
570 // WARNING: Do not edit - generated code. | |
571 | |
572 @DocsEditable() | |
573 @DomName('SVGAnimatedLengthList') | |
574 @Unstable() | |
575 class AnimatedLengthList extends DartHtmlDomObject { | |
576 // To suppress missing implicit constructor warnings. | |
577 factory AnimatedLengthList._() { | |
578 throw new UnsupportedError("Not supported"); | |
579 } | |
580 | |
581 @Deprecated("Internal Use Only") | |
582 external static Type get instanceRuntimeType; | |
583 | |
584 @Deprecated("Internal Use Only") | |
585 AnimatedLengthList.internal_() {} | |
586 | |
587 @DomName('SVGAnimatedLengthList.animVal') | |
588 @DocsEditable() | |
589 LengthList get animVal => | |
590 _blink.BlinkSVGAnimatedLengthList.instance.animVal_Getter_(this); | |
591 | |
592 @DomName('SVGAnimatedLengthList.baseVal') | |
593 @DocsEditable() | |
594 LengthList get baseVal => | |
595 _blink.BlinkSVGAnimatedLengthList.instance.baseVal_Getter_(this); | |
596 } | |
597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
598 // for details. All rights reserved. Use of this source code is governed by a | |
599 // BSD-style license that can be found in the LICENSE file. | |
600 | |
601 // WARNING: Do not edit - generated code. | |
602 | |
603 @DocsEditable() | |
604 @DomName('SVGAnimatedNumber') | |
605 @Unstable() | |
606 class AnimatedNumber extends DartHtmlDomObject { | |
607 // To suppress missing implicit constructor warnings. | |
608 factory AnimatedNumber._() { | |
609 throw new UnsupportedError("Not supported"); | |
610 } | |
611 | |
612 @Deprecated("Internal Use Only") | |
613 external static Type get instanceRuntimeType; | |
614 | |
615 @Deprecated("Internal Use Only") | |
616 AnimatedNumber.internal_() {} | |
617 | |
618 @DomName('SVGAnimatedNumber.animVal') | |
619 @DocsEditable() | |
620 num get animVal => | |
621 _blink.BlinkSVGAnimatedNumber.instance.animVal_Getter_(this); | |
622 | |
623 @DomName('SVGAnimatedNumber.baseVal') | |
624 @DocsEditable() | |
625 num get baseVal => | |
626 _blink.BlinkSVGAnimatedNumber.instance.baseVal_Getter_(this); | |
627 | |
628 @DomName('SVGAnimatedNumber.baseVal') | |
629 @DocsEditable() | |
630 set baseVal(num value) => | |
631 _blink.BlinkSVGAnimatedNumber.instance.baseVal_Setter_(this, value); | |
632 } | |
633 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
634 // for details. All rights reserved. Use of this source code is governed by a | |
635 // BSD-style license that can be found in the LICENSE file. | |
636 | |
637 // WARNING: Do not edit - generated code. | |
638 | |
639 @DocsEditable() | |
640 @DomName('SVGAnimatedNumberList') | |
641 @Unstable() | |
642 class AnimatedNumberList extends DartHtmlDomObject { | |
643 // To suppress missing implicit constructor warnings. | |
644 factory AnimatedNumberList._() { | |
645 throw new UnsupportedError("Not supported"); | |
646 } | |
647 | |
648 @Deprecated("Internal Use Only") | |
649 external static Type get instanceRuntimeType; | |
650 | |
651 @Deprecated("Internal Use Only") | |
652 AnimatedNumberList.internal_() {} | |
653 | |
654 @DomName('SVGAnimatedNumberList.animVal') | |
655 @DocsEditable() | |
656 NumberList get animVal => | |
657 _blink.BlinkSVGAnimatedNumberList.instance.animVal_Getter_(this); | |
658 | |
659 @DomName('SVGAnimatedNumberList.baseVal') | |
660 @DocsEditable() | |
661 NumberList get baseVal => | |
662 _blink.BlinkSVGAnimatedNumberList.instance.baseVal_Getter_(this); | |
663 } | |
664 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
665 // for details. All rights reserved. Use of this source code is governed by a | |
666 // BSD-style license that can be found in the LICENSE file. | |
667 | |
668 // WARNING: Do not edit - generated code. | |
669 | |
670 @DocsEditable() | |
671 @DomName('SVGAnimatedPreserveAspectRatio') | |
672 @Unstable() | |
673 class AnimatedPreserveAspectRatio extends DartHtmlDomObject { | |
674 // To suppress missing implicit constructor warnings. | |
675 factory AnimatedPreserveAspectRatio._() { | |
676 throw new UnsupportedError("Not supported"); | |
677 } | |
678 | |
679 @Deprecated("Internal Use Only") | |
680 external static Type get instanceRuntimeType; | |
681 | |
682 @Deprecated("Internal Use Only") | |
683 AnimatedPreserveAspectRatio.internal_() {} | |
684 | |
685 @DomName('SVGAnimatedPreserveAspectRatio.animVal') | |
686 @DocsEditable() | |
687 PreserveAspectRatio get animVal => | |
688 _blink.BlinkSVGAnimatedPreserveAspectRatio.instance.animVal_Getter_(this); | |
689 | |
690 @DomName('SVGAnimatedPreserveAspectRatio.baseVal') | |
691 @DocsEditable() | |
692 PreserveAspectRatio get baseVal => | |
693 _blink.BlinkSVGAnimatedPreserveAspectRatio.instance.baseVal_Getter_(this); | |
694 } | |
695 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
696 // for details. All rights reserved. Use of this source code is governed by a | |
697 // BSD-style license that can be found in the LICENSE file. | |
698 | |
699 // WARNING: Do not edit - generated code. | |
700 | |
701 @DocsEditable() | |
702 @DomName('SVGAnimatedRect') | |
703 @Unstable() | |
704 class AnimatedRect extends DartHtmlDomObject { | |
705 // To suppress missing implicit constructor warnings. | |
706 factory AnimatedRect._() { | |
707 throw new UnsupportedError("Not supported"); | |
708 } | |
709 | |
710 @Deprecated("Internal Use Only") | |
711 external static Type get instanceRuntimeType; | |
712 | |
713 @Deprecated("Internal Use Only") | |
714 AnimatedRect.internal_() {} | |
715 | |
716 @DomName('SVGAnimatedRect.animVal') | |
717 @DocsEditable() | |
718 Rect get animVal => | |
719 _blink.BlinkSVGAnimatedRect.instance.animVal_Getter_(this); | |
720 | |
721 @DomName('SVGAnimatedRect.baseVal') | |
722 @DocsEditable() | |
723 Rect get baseVal => | |
724 _blink.BlinkSVGAnimatedRect.instance.baseVal_Getter_(this); | |
725 } | |
726 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
727 // for details. All rights reserved. Use of this source code is governed by a | |
728 // BSD-style license that can be found in the LICENSE file. | |
729 | |
730 // WARNING: Do not edit - generated code. | |
731 | |
732 @DocsEditable() | |
733 @DomName('SVGAnimatedString') | |
734 @Unstable() | |
735 class AnimatedString extends DartHtmlDomObject { | |
736 // To suppress missing implicit constructor warnings. | |
737 factory AnimatedString._() { | |
738 throw new UnsupportedError("Not supported"); | |
739 } | |
740 | |
741 @Deprecated("Internal Use Only") | |
742 external static Type get instanceRuntimeType; | |
743 | |
744 @Deprecated("Internal Use Only") | |
745 AnimatedString.internal_() {} | |
746 | |
747 @DomName('SVGAnimatedString.animVal') | |
748 @DocsEditable() | |
749 String get animVal => | |
750 _blink.BlinkSVGAnimatedString.instance.animVal_Getter_(this); | |
751 | |
752 @DomName('SVGAnimatedString.baseVal') | |
753 @DocsEditable() | |
754 String get baseVal => | |
755 _blink.BlinkSVGAnimatedString.instance.baseVal_Getter_(this); | |
756 | |
757 @DomName('SVGAnimatedString.baseVal') | |
758 @DocsEditable() | |
759 set baseVal(String value) => | |
760 _blink.BlinkSVGAnimatedString.instance.baseVal_Setter_(this, value); | |
761 } | |
762 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
763 // for details. All rights reserved. Use of this source code is governed by a | |
764 // BSD-style license that can be found in the LICENSE file. | |
765 | |
766 // WARNING: Do not edit - generated code. | |
767 | |
768 @DocsEditable() | |
769 @DomName('SVGAnimatedTransformList') | |
770 @Unstable() | |
771 class AnimatedTransformList extends DartHtmlDomObject { | |
772 // To suppress missing implicit constructor warnings. | |
773 factory AnimatedTransformList._() { | |
774 throw new UnsupportedError("Not supported"); | |
775 } | |
776 | |
777 @Deprecated("Internal Use Only") | |
778 external static Type get instanceRuntimeType; | |
779 | |
780 @Deprecated("Internal Use Only") | |
781 AnimatedTransformList.internal_() {} | |
782 | |
783 @DomName('SVGAnimatedTransformList.animVal') | |
784 @DocsEditable() | |
785 TransformList get animVal => | |
786 _blink.BlinkSVGAnimatedTransformList.instance.animVal_Getter_(this); | |
787 | |
788 @DomName('SVGAnimatedTransformList.baseVal') | |
789 @DocsEditable() | |
790 TransformList get baseVal => | |
791 _blink.BlinkSVGAnimatedTransformList.instance.baseVal_Getter_(this); | |
792 } | |
793 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
794 // for details. All rights reserved. Use of this source code is governed by a | |
795 // BSD-style license that can be found in the LICENSE file. | |
796 | |
797 // WARNING: Do not edit - generated code. | |
798 | |
799 @DocsEditable() | |
800 @DomName('SVGAnimationElement') | |
801 @Unstable() | |
802 class AnimationElement extends SvgElement implements Tests { | |
803 // To suppress missing implicit constructor warnings. | |
804 factory AnimationElement._() { | |
805 throw new UnsupportedError("Not supported"); | |
806 } | |
807 | |
808 @DomName('SVGAnimationElement.SVGAnimationElement') | |
809 @DocsEditable() | |
810 factory AnimationElement() => | |
811 _SvgElementFactoryProvider.createSvgElement_tag("animation"); | |
812 | |
813 @Deprecated("Internal Use Only") | |
814 external static Type get instanceRuntimeType; | |
815 | |
816 @Deprecated("Internal Use Only") | |
817 AnimationElement.internal_() : super.internal_(); | |
818 | |
819 /** | |
820 * Constructor instantiated by the DOM when a custom element has been created. | |
821 * | |
822 * This can only be called by subclasses from their created constructor. | |
823 */ | |
824 AnimationElement.created() : super.created(); | |
825 | |
826 @DomName('SVGAnimationElement.targetElement') | |
827 @DocsEditable() | |
828 SvgElement get targetElement => | |
829 _blink.BlinkSVGAnimationElement.instance.targetElement_Getter_(this); | |
830 | |
831 @DomName('SVGAnimationElement.beginElement') | |
832 @DocsEditable() | |
833 void beginElement() => | |
834 _blink.BlinkSVGAnimationElement.instance.beginElement_Callback_0_(this); | |
835 | |
836 @DomName('SVGAnimationElement.beginElementAt') | |
837 @DocsEditable() | |
838 void beginElementAt(num offset) => _blink.BlinkSVGAnimationElement.instance | |
839 .beginElementAt_Callback_1_(this, offset); | |
840 | |
841 @DomName('SVGAnimationElement.endElement') | |
842 @DocsEditable() | |
843 void endElement() => | |
844 _blink.BlinkSVGAnimationElement.instance.endElement_Callback_0_(this); | |
845 | |
846 @DomName('SVGAnimationElement.endElementAt') | |
847 @DocsEditable() | |
848 void endElementAt(num offset) => _blink.BlinkSVGAnimationElement.instance | |
849 .endElementAt_Callback_1_(this, offset); | |
850 | |
851 @DomName('SVGAnimationElement.getCurrentTime') | |
852 @DocsEditable() | |
853 num getCurrentTime() => | |
854 _blink.BlinkSVGAnimationElement.instance.getCurrentTime_Callback_0_(this); | |
855 | |
856 @DomName('SVGAnimationElement.getSimpleDuration') | |
857 @DocsEditable() | |
858 num getSimpleDuration() => _blink.BlinkSVGAnimationElement.instance | |
859 .getSimpleDuration_Callback_0_(this); | |
860 | |
861 @DomName('SVGAnimationElement.getStartTime') | |
862 @DocsEditable() | |
863 num getStartTime() => | |
864 _blink.BlinkSVGAnimationElement.instance.getStartTime_Callback_0_(this); | |
865 | |
866 @DomName('SVGAnimationElement.requiredExtensions') | |
867 @DocsEditable() | |
868 StringList get requiredExtensions => | |
869 _blink.BlinkSVGAnimationElement.instance.requiredExtensions_Getter_(this); | |
870 | |
871 @DomName('SVGAnimationElement.requiredFeatures') | |
872 @DocsEditable() | |
873 StringList get requiredFeatures => | |
874 _blink.BlinkSVGAnimationElement.instance.requiredFeatures_Getter_(this); | |
875 | |
876 @DomName('SVGAnimationElement.systemLanguage') | |
877 @DocsEditable() | |
878 StringList get systemLanguage => | |
879 _blink.BlinkSVGAnimationElement.instance.systemLanguage_Getter_(this); | |
880 } | |
881 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
882 // for details. All rights reserved. Use of this source code is governed by a | |
883 // BSD-style license that can be found in the LICENSE file. | |
884 | |
885 // WARNING: Do not edit - generated code. | |
886 | |
887 @DocsEditable() | |
888 @DomName('SVGCircleElement') | |
889 @Unstable() | |
890 class CircleElement extends GeometryElement { | |
891 // To suppress missing implicit constructor warnings. | |
892 factory CircleElement._() { | |
893 throw new UnsupportedError("Not supported"); | |
894 } | |
895 | |
896 @DomName('SVGCircleElement.SVGCircleElement') | |
897 @DocsEditable() | |
898 factory CircleElement() => | |
899 _SvgElementFactoryProvider.createSvgElement_tag("circle"); | |
900 | |
901 @Deprecated("Internal Use Only") | |
902 external static Type get instanceRuntimeType; | |
903 | |
904 @Deprecated("Internal Use Only") | |
905 CircleElement.internal_() : super.internal_(); | |
906 | |
907 /** | |
908 * Constructor instantiated by the DOM when a custom element has been created. | |
909 * | |
910 * This can only be called by subclasses from their created constructor. | |
911 */ | |
912 CircleElement.created() : super.created(); | |
913 | |
914 @DomName('SVGCircleElement.cx') | |
915 @DocsEditable() | |
916 AnimatedLength get cx => | |
917 _blink.BlinkSVGCircleElement.instance.cx_Getter_(this); | |
918 | |
919 @DomName('SVGCircleElement.cy') | |
920 @DocsEditable() | |
921 AnimatedLength get cy => | |
922 _blink.BlinkSVGCircleElement.instance.cy_Getter_(this); | |
923 | |
924 @DomName('SVGCircleElement.r') | |
925 @DocsEditable() | |
926 AnimatedLength get r => _blink.BlinkSVGCircleElement.instance.r_Getter_(this); | |
927 } | |
928 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
929 // for details. All rights reserved. Use of this source code is governed by a | |
930 // BSD-style license that can be found in the LICENSE file. | |
931 | |
932 // WARNING: Do not edit - generated code. | |
933 | |
934 @DocsEditable() | |
935 @DomName('SVGClipPathElement') | |
936 @Unstable() | |
937 class ClipPathElement extends GraphicsElement { | |
938 // To suppress missing implicit constructor warnings. | |
939 factory ClipPathElement._() { | |
940 throw new UnsupportedError("Not supported"); | |
941 } | |
942 | |
943 @DomName('SVGClipPathElement.SVGClipPathElement') | |
944 @DocsEditable() | |
945 factory ClipPathElement() => | |
946 _SvgElementFactoryProvider.createSvgElement_tag("clipPath"); | |
947 | |
948 @Deprecated("Internal Use Only") | |
949 external static Type get instanceRuntimeType; | |
950 | |
951 @Deprecated("Internal Use Only") | |
952 ClipPathElement.internal_() : super.internal_(); | |
953 | |
954 /** | |
955 * Constructor instantiated by the DOM when a custom element has been created. | |
956 * | |
957 * This can only be called by subclasses from their created constructor. | |
958 */ | |
959 ClipPathElement.created() : super.created(); | |
960 | |
961 @DomName('SVGClipPathElement.clipPathUnits') | |
962 @DocsEditable() | |
963 AnimatedEnumeration get clipPathUnits => | |
964 _blink.BlinkSVGClipPathElement.instance.clipPathUnits_Getter_(this); | |
965 } | |
966 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
967 // for details. All rights reserved. Use of this source code is governed by a | |
968 // BSD-style license that can be found in the LICENSE file. | |
969 | |
970 // WARNING: Do not edit - generated code. | |
971 | |
972 @DocsEditable() | |
973 @DomName('SVGDefsElement') | |
974 @Unstable() | |
975 class DefsElement extends GraphicsElement { | |
976 // To suppress missing implicit constructor warnings. | |
977 factory DefsElement._() { | |
978 throw new UnsupportedError("Not supported"); | |
979 } | |
980 | |
981 @DomName('SVGDefsElement.SVGDefsElement') | |
982 @DocsEditable() | |
983 factory DefsElement() => | |
984 _SvgElementFactoryProvider.createSvgElement_tag("defs"); | |
985 | |
986 @Deprecated("Internal Use Only") | |
987 external static Type get instanceRuntimeType; | |
988 | |
989 @Deprecated("Internal Use Only") | |
990 DefsElement.internal_() : super.internal_(); | |
991 | |
992 /** | |
993 * Constructor instantiated by the DOM when a custom element has been created. | |
994 * | |
995 * This can only be called by subclasses from their created constructor. | |
996 */ | |
997 DefsElement.created() : super.created(); | |
998 } | |
999 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1000 // for details. All rights reserved. Use of this source code is governed by a | |
1001 // BSD-style license that can be found in the LICENSE file. | |
1002 | |
1003 // WARNING: Do not edit - generated code. | |
1004 | |
1005 @DocsEditable() | |
1006 @DomName('SVGDescElement') | |
1007 @Unstable() | |
1008 class DescElement extends SvgElement { | |
1009 // To suppress missing implicit constructor warnings. | |
1010 factory DescElement._() { | |
1011 throw new UnsupportedError("Not supported"); | |
1012 } | |
1013 | |
1014 @DomName('SVGDescElement.SVGDescElement') | |
1015 @DocsEditable() | |
1016 factory DescElement() => | |
1017 _SvgElementFactoryProvider.createSvgElement_tag("desc"); | |
1018 | |
1019 @Deprecated("Internal Use Only") | |
1020 external static Type get instanceRuntimeType; | |
1021 | |
1022 @Deprecated("Internal Use Only") | |
1023 DescElement.internal_() : super.internal_(); | |
1024 | |
1025 /** | |
1026 * Constructor instantiated by the DOM when a custom element has been created. | |
1027 * | |
1028 * This can only be called by subclasses from their created constructor. | |
1029 */ | |
1030 DescElement.created() : super.created(); | |
1031 } | |
1032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1033 // for details. All rights reserved. Use of this source code is governed by a | |
1034 // BSD-style license that can be found in the LICENSE file. | |
1035 | |
1036 // WARNING: Do not edit - generated code. | |
1037 | |
1038 @DocsEditable() | |
1039 @DomName('SVGDiscardElement') | |
1040 @Experimental() // untriaged | |
1041 class DiscardElement extends SvgElement { | |
1042 // To suppress missing implicit constructor warnings. | |
1043 factory DiscardElement._() { | |
1044 throw new UnsupportedError("Not supported"); | |
1045 } | |
1046 | |
1047 @Deprecated("Internal Use Only") | |
1048 external static Type get instanceRuntimeType; | |
1049 | |
1050 @Deprecated("Internal Use Only") | |
1051 DiscardElement.internal_() : super.internal_(); | |
1052 | |
1053 /** | |
1054 * Constructor instantiated by the DOM when a custom element has been created. | |
1055 * | |
1056 * This can only be called by subclasses from their created constructor. | |
1057 */ | |
1058 DiscardElement.created() : super.created(); | |
1059 } | |
1060 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1061 // for details. All rights reserved. Use of this source code is governed by a | |
1062 // BSD-style license that can be found in the LICENSE file. | |
1063 | |
1064 // WARNING: Do not edit - generated code. | |
1065 | |
1066 @DocsEditable() | |
1067 @DomName('SVGEllipseElement') | |
1068 @Unstable() | |
1069 class EllipseElement extends GeometryElement { | |
1070 // To suppress missing implicit constructor warnings. | |
1071 factory EllipseElement._() { | |
1072 throw new UnsupportedError("Not supported"); | |
1073 } | |
1074 | |
1075 @DomName('SVGEllipseElement.SVGEllipseElement') | |
1076 @DocsEditable() | |
1077 factory EllipseElement() => | |
1078 _SvgElementFactoryProvider.createSvgElement_tag("ellipse"); | |
1079 | |
1080 @Deprecated("Internal Use Only") | |
1081 external static Type get instanceRuntimeType; | |
1082 | |
1083 @Deprecated("Internal Use Only") | |
1084 EllipseElement.internal_() : super.internal_(); | |
1085 | |
1086 /** | |
1087 * Constructor instantiated by the DOM when a custom element has been created. | |
1088 * | |
1089 * This can only be called by subclasses from their created constructor. | |
1090 */ | |
1091 EllipseElement.created() : super.created(); | |
1092 | |
1093 @DomName('SVGEllipseElement.cx') | |
1094 @DocsEditable() | |
1095 AnimatedLength get cx => | |
1096 _blink.BlinkSVGEllipseElement.instance.cx_Getter_(this); | |
1097 | |
1098 @DomName('SVGEllipseElement.cy') | |
1099 @DocsEditable() | |
1100 AnimatedLength get cy => | |
1101 _blink.BlinkSVGEllipseElement.instance.cy_Getter_(this); | |
1102 | |
1103 @DomName('SVGEllipseElement.rx') | |
1104 @DocsEditable() | |
1105 AnimatedLength get rx => | |
1106 _blink.BlinkSVGEllipseElement.instance.rx_Getter_(this); | |
1107 | |
1108 @DomName('SVGEllipseElement.ry') | |
1109 @DocsEditable() | |
1110 AnimatedLength get ry => | |
1111 _blink.BlinkSVGEllipseElement.instance.ry_Getter_(this); | |
1112 } | |
1113 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1114 // for details. All rights reserved. Use of this source code is governed by a | |
1115 // BSD-style license that can be found in the LICENSE file. | |
1116 | |
1117 // WARNING: Do not edit - generated code. | |
1118 | |
1119 @DocsEditable() | |
1120 @DomName('SVGFEBlendElement') | |
1121 @SupportedBrowser(SupportedBrowser.CHROME) | |
1122 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
1123 @SupportedBrowser(SupportedBrowser.IE, '10') | |
1124 @SupportedBrowser(SupportedBrowser.SAFARI) | |
1125 @Unstable() | |
1126 class FEBlendElement extends SvgElement | |
1127 implements FilterPrimitiveStandardAttributes { | |
1128 // To suppress missing implicit constructor warnings. | |
1129 factory FEBlendElement._() { | |
1130 throw new UnsupportedError("Not supported"); | |
1131 } | |
1132 | |
1133 @DomName('SVGFEBlendElement.SVGFEBlendElement') | |
1134 @DocsEditable() | |
1135 factory FEBlendElement() => | |
1136 _SvgElementFactoryProvider.createSvgElement_tag("feBlend"); | |
1137 | |
1138 @Deprecated("Internal Use Only") | |
1139 external static Type get instanceRuntimeType; | |
1140 | |
1141 @Deprecated("Internal Use Only") | |
1142 FEBlendElement.internal_() : super.internal_(); | |
1143 | |
1144 /** | |
1145 * Constructor instantiated by the DOM when a custom element has been created. | |
1146 * | |
1147 * This can only be called by subclasses from their created constructor. | |
1148 */ | |
1149 FEBlendElement.created() : super.created(); | |
1150 | |
1151 /// Checks if this type is supported on the current platform. | |
1152 static bool get supported => true; | |
1153 | |
1154 @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_DARKEN') | |
1155 @DocsEditable() | |
1156 static const int SVG_FEBLEND_MODE_DARKEN = 4; | |
1157 | |
1158 @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_LIGHTEN') | |
1159 @DocsEditable() | |
1160 static const int SVG_FEBLEND_MODE_LIGHTEN = 5; | |
1161 | |
1162 @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_MULTIPLY') | |
1163 @DocsEditable() | |
1164 static const int SVG_FEBLEND_MODE_MULTIPLY = 2; | |
1165 | |
1166 @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_NORMAL') | |
1167 @DocsEditable() | |
1168 static const int SVG_FEBLEND_MODE_NORMAL = 1; | |
1169 | |
1170 @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_SCREEN') | |
1171 @DocsEditable() | |
1172 static const int SVG_FEBLEND_MODE_SCREEN = 3; | |
1173 | |
1174 @DomName('SVGFEBlendElement.SVG_FEBLEND_MODE_UNKNOWN') | |
1175 @DocsEditable() | |
1176 static const int SVG_FEBLEND_MODE_UNKNOWN = 0; | |
1177 | |
1178 @DomName('SVGFEBlendElement.in1') | |
1179 @DocsEditable() | |
1180 AnimatedString get in1 => | |
1181 _blink.BlinkSVGFEBlendElement.instance.in1_Getter_(this); | |
1182 | |
1183 @DomName('SVGFEBlendElement.in2') | |
1184 @DocsEditable() | |
1185 AnimatedString get in2 => | |
1186 _blink.BlinkSVGFEBlendElement.instance.in2_Getter_(this); | |
1187 | |
1188 @DomName('SVGFEBlendElement.mode') | |
1189 @DocsEditable() | |
1190 AnimatedEnumeration get mode => | |
1191 _blink.BlinkSVGFEBlendElement.instance.mode_Getter_(this); | |
1192 | |
1193 @DomName('SVGFEBlendElement.height') | |
1194 @DocsEditable() | |
1195 AnimatedLength get height => | |
1196 _blink.BlinkSVGFEBlendElement.instance.height_Getter_(this); | |
1197 | |
1198 @DomName('SVGFEBlendElement.result') | |
1199 @DocsEditable() | |
1200 AnimatedString get result => | |
1201 _blink.BlinkSVGFEBlendElement.instance.result_Getter_(this); | |
1202 | |
1203 @DomName('SVGFEBlendElement.width') | |
1204 @DocsEditable() | |
1205 AnimatedLength get width => | |
1206 _blink.BlinkSVGFEBlendElement.instance.width_Getter_(this); | |
1207 | |
1208 @DomName('SVGFEBlendElement.x') | |
1209 @DocsEditable() | |
1210 AnimatedLength get x => | |
1211 _blink.BlinkSVGFEBlendElement.instance.x_Getter_(this); | |
1212 | |
1213 @DomName('SVGFEBlendElement.y') | |
1214 @DocsEditable() | |
1215 AnimatedLength get y => | |
1216 _blink.BlinkSVGFEBlendElement.instance.y_Getter_(this); | |
1217 } | |
1218 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1219 // for details. All rights reserved. Use of this source code is governed by a | |
1220 // BSD-style license that can be found in the LICENSE file. | |
1221 | |
1222 // WARNING: Do not edit - generated code. | |
1223 | |
1224 @DocsEditable() | |
1225 @DomName('SVGFEColorMatrixElement') | |
1226 @SupportedBrowser(SupportedBrowser.CHROME) | |
1227 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
1228 @SupportedBrowser(SupportedBrowser.IE, '10') | |
1229 @SupportedBrowser(SupportedBrowser.SAFARI) | |
1230 @Unstable() | |
1231 class FEColorMatrixElement extends SvgElement | |
1232 implements FilterPrimitiveStandardAttributes { | |
1233 // To suppress missing implicit constructor warnings. | |
1234 factory FEColorMatrixElement._() { | |
1235 throw new UnsupportedError("Not supported"); | |
1236 } | |
1237 | |
1238 @DomName('SVGFEColorMatrixElement.SVGFEColorMatrixElement') | |
1239 @DocsEditable() | |
1240 factory FEColorMatrixElement() => | |
1241 _SvgElementFactoryProvider.createSvgElement_tag("feColorMatrix"); | |
1242 | |
1243 @Deprecated("Internal Use Only") | |
1244 external static Type get instanceRuntimeType; | |
1245 | |
1246 @Deprecated("Internal Use Only") | |
1247 FEColorMatrixElement.internal_() : super.internal_(); | |
1248 | |
1249 /** | |
1250 * Constructor instantiated by the DOM when a custom element has been created. | |
1251 * | |
1252 * This can only be called by subclasses from their created constructor. | |
1253 */ | |
1254 FEColorMatrixElement.created() : super.created(); | |
1255 | |
1256 /// Checks if this type is supported on the current platform. | |
1257 static bool get supported => true; | |
1258 | |
1259 @DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_HUEROTATE') | |
1260 @DocsEditable() | |
1261 static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3; | |
1262 | |
1263 @DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA') | |
1264 @DocsEditable() | |
1265 static const int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4; | |
1266 | |
1267 @DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_MATRIX') | |
1268 @DocsEditable() | |
1269 static const int SVG_FECOLORMATRIX_TYPE_MATRIX = 1; | |
1270 | |
1271 @DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_SATURATE') | |
1272 @DocsEditable() | |
1273 static const int SVG_FECOLORMATRIX_TYPE_SATURATE = 2; | |
1274 | |
1275 @DomName('SVGFEColorMatrixElement.SVG_FECOLORMATRIX_TYPE_UNKNOWN') | |
1276 @DocsEditable() | |
1277 static const int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0; | |
1278 | |
1279 @DomName('SVGFEColorMatrixElement.in1') | |
1280 @DocsEditable() | |
1281 AnimatedString get in1 => | |
1282 _blink.BlinkSVGFEColorMatrixElement.instance.in1_Getter_(this); | |
1283 | |
1284 @DomName('SVGFEColorMatrixElement.type') | |
1285 @DocsEditable() | |
1286 AnimatedEnumeration get type => | |
1287 _blink.BlinkSVGFEColorMatrixElement.instance.type_Getter_(this); | |
1288 | |
1289 @DomName('SVGFEColorMatrixElement.values') | |
1290 @DocsEditable() | |
1291 AnimatedNumberList get values => | |
1292 _blink.BlinkSVGFEColorMatrixElement.instance.values_Getter_(this); | |
1293 | |
1294 @DomName('SVGFEColorMatrixElement.height') | |
1295 @DocsEditable() | |
1296 AnimatedLength get height => | |
1297 _blink.BlinkSVGFEColorMatrixElement.instance.height_Getter_(this); | |
1298 | |
1299 @DomName('SVGFEColorMatrixElement.result') | |
1300 @DocsEditable() | |
1301 AnimatedString get result => | |
1302 _blink.BlinkSVGFEColorMatrixElement.instance.result_Getter_(this); | |
1303 | |
1304 @DomName('SVGFEColorMatrixElement.width') | |
1305 @DocsEditable() | |
1306 AnimatedLength get width => | |
1307 _blink.BlinkSVGFEColorMatrixElement.instance.width_Getter_(this); | |
1308 | |
1309 @DomName('SVGFEColorMatrixElement.x') | |
1310 @DocsEditable() | |
1311 AnimatedLength get x => | |
1312 _blink.BlinkSVGFEColorMatrixElement.instance.x_Getter_(this); | |
1313 | |
1314 @DomName('SVGFEColorMatrixElement.y') | |
1315 @DocsEditable() | |
1316 AnimatedLength get y => | |
1317 _blink.BlinkSVGFEColorMatrixElement.instance.y_Getter_(this); | |
1318 } | |
1319 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1320 // for details. All rights reserved. Use of this source code is governed by a | |
1321 // BSD-style license that can be found in the LICENSE file. | |
1322 | |
1323 // WARNING: Do not edit - generated code. | |
1324 | |
1325 @DocsEditable() | |
1326 @DomName('SVGFEComponentTransferElement') | |
1327 @SupportedBrowser(SupportedBrowser.CHROME) | |
1328 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
1329 @SupportedBrowser(SupportedBrowser.IE, '10') | |
1330 @SupportedBrowser(SupportedBrowser.SAFARI) | |
1331 @Unstable() | |
1332 class FEComponentTransferElement extends SvgElement | |
1333 implements FilterPrimitiveStandardAttributes { | |
1334 // To suppress missing implicit constructor warnings. | |
1335 factory FEComponentTransferElement._() { | |
1336 throw new UnsupportedError("Not supported"); | |
1337 } | |
1338 | |
1339 @DomName('SVGFEComponentTransferElement.SVGFEComponentTransferElement') | |
1340 @DocsEditable() | |
1341 factory FEComponentTransferElement() => | |
1342 _SvgElementFactoryProvider.createSvgElement_tag("feComponentTransfer"); | |
1343 | |
1344 @Deprecated("Internal Use Only") | |
1345 external static Type get instanceRuntimeType; | |
1346 | |
1347 @Deprecated("Internal Use Only") | |
1348 FEComponentTransferElement.internal_() : super.internal_(); | |
1349 | |
1350 /** | |
1351 * Constructor instantiated by the DOM when a custom element has been created. | |
1352 * | |
1353 * This can only be called by subclasses from their created constructor. | |
1354 */ | |
1355 FEComponentTransferElement.created() : super.created(); | |
1356 | |
1357 /// Checks if this type is supported on the current platform. | |
1358 static bool get supported => true; | |
1359 | |
1360 @DomName('SVGFEComponentTransferElement.in1') | |
1361 @DocsEditable() | |
1362 AnimatedString get in1 => | |
1363 _blink.BlinkSVGFEComponentTransferElement.instance.in1_Getter_(this); | |
1364 | |
1365 @DomName('SVGFEComponentTransferElement.height') | |
1366 @DocsEditable() | |
1367 AnimatedLength get height => | |
1368 _blink.BlinkSVGFEComponentTransferElement.instance.height_Getter_(this); | |
1369 | |
1370 @DomName('SVGFEComponentTransferElement.result') | |
1371 @DocsEditable() | |
1372 AnimatedString get result => | |
1373 _blink.BlinkSVGFEComponentTransferElement.instance.result_Getter_(this); | |
1374 | |
1375 @DomName('SVGFEComponentTransferElement.width') | |
1376 @DocsEditable() | |
1377 AnimatedLength get width => | |
1378 _blink.BlinkSVGFEComponentTransferElement.instance.width_Getter_(this); | |
1379 | |
1380 @DomName('SVGFEComponentTransferElement.x') | |
1381 @DocsEditable() | |
1382 AnimatedLength get x => | |
1383 _blink.BlinkSVGFEComponentTransferElement.instance.x_Getter_(this); | |
1384 | |
1385 @DomName('SVGFEComponentTransferElement.y') | |
1386 @DocsEditable() | |
1387 AnimatedLength get y => | |
1388 _blink.BlinkSVGFEComponentTransferElement.instance.y_Getter_(this); | |
1389 } | |
1390 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1391 // for details. All rights reserved. Use of this source code is governed by a | |
1392 // BSD-style license that can be found in the LICENSE file. | |
1393 | |
1394 // WARNING: Do not edit - generated code. | |
1395 | |
1396 @DocsEditable() | |
1397 @DomName('SVGFECompositeElement') | |
1398 @Unstable() | |
1399 class FECompositeElement extends SvgElement | |
1400 implements FilterPrimitiveStandardAttributes { | |
1401 // To suppress missing implicit constructor warnings. | |
1402 factory FECompositeElement._() { | |
1403 throw new UnsupportedError("Not supported"); | |
1404 } | |
1405 | |
1406 @Deprecated("Internal Use Only") | |
1407 external static Type get instanceRuntimeType; | |
1408 | |
1409 @Deprecated("Internal Use Only") | |
1410 FECompositeElement.internal_() : super.internal_(); | |
1411 | |
1412 /** | |
1413 * Constructor instantiated by the DOM when a custom element has been created. | |
1414 * | |
1415 * This can only be called by subclasses from their created constructor. | |
1416 */ | |
1417 FECompositeElement.created() : super.created(); | |
1418 | |
1419 @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ARITHMETIC') | |
1420 @DocsEditable() | |
1421 static const int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6; | |
1422 | |
1423 @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_ATOP') | |
1424 @DocsEditable() | |
1425 static const int SVG_FECOMPOSITE_OPERATOR_ATOP = 4; | |
1426 | |
1427 @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_IN') | |
1428 @DocsEditable() | |
1429 static const int SVG_FECOMPOSITE_OPERATOR_IN = 2; | |
1430 | |
1431 @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OUT') | |
1432 @DocsEditable() | |
1433 static const int SVG_FECOMPOSITE_OPERATOR_OUT = 3; | |
1434 | |
1435 @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_OVER') | |
1436 @DocsEditable() | |
1437 static const int SVG_FECOMPOSITE_OPERATOR_OVER = 1; | |
1438 | |
1439 @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_UNKNOWN') | |
1440 @DocsEditable() | |
1441 static const int SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0; | |
1442 | |
1443 @DomName('SVGFECompositeElement.SVG_FECOMPOSITE_OPERATOR_XOR') | |
1444 @DocsEditable() | |
1445 static const int SVG_FECOMPOSITE_OPERATOR_XOR = 5; | |
1446 | |
1447 @DomName('SVGFECompositeElement.in1') | |
1448 @DocsEditable() | |
1449 AnimatedString get in1 => | |
1450 _blink.BlinkSVGFECompositeElement.instance.in1_Getter_(this); | |
1451 | |
1452 @DomName('SVGFECompositeElement.in2') | |
1453 @DocsEditable() | |
1454 AnimatedString get in2 => | |
1455 _blink.BlinkSVGFECompositeElement.instance.in2_Getter_(this); | |
1456 | |
1457 @DomName('SVGFECompositeElement.k1') | |
1458 @DocsEditable() | |
1459 AnimatedNumber get k1 => | |
1460 _blink.BlinkSVGFECompositeElement.instance.k1_Getter_(this); | |
1461 | |
1462 @DomName('SVGFECompositeElement.k2') | |
1463 @DocsEditable() | |
1464 AnimatedNumber get k2 => | |
1465 _blink.BlinkSVGFECompositeElement.instance.k2_Getter_(this); | |
1466 | |
1467 @DomName('SVGFECompositeElement.k3') | |
1468 @DocsEditable() | |
1469 AnimatedNumber get k3 => | |
1470 _blink.BlinkSVGFECompositeElement.instance.k3_Getter_(this); | |
1471 | |
1472 @DomName('SVGFECompositeElement.k4') | |
1473 @DocsEditable() | |
1474 AnimatedNumber get k4 => | |
1475 _blink.BlinkSVGFECompositeElement.instance.k4_Getter_(this); | |
1476 | |
1477 @DomName('SVGFECompositeElement.operator') | |
1478 @DocsEditable() | |
1479 AnimatedEnumeration get operator => | |
1480 _blink.BlinkSVGFECompositeElement.instance.operator_Getter_(this); | |
1481 | |
1482 @DomName('SVGFECompositeElement.height') | |
1483 @DocsEditable() | |
1484 AnimatedLength get height => | |
1485 _blink.BlinkSVGFECompositeElement.instance.height_Getter_(this); | |
1486 | |
1487 @DomName('SVGFECompositeElement.result') | |
1488 @DocsEditable() | |
1489 AnimatedString get result => | |
1490 _blink.BlinkSVGFECompositeElement.instance.result_Getter_(this); | |
1491 | |
1492 @DomName('SVGFECompositeElement.width') | |
1493 @DocsEditable() | |
1494 AnimatedLength get width => | |
1495 _blink.BlinkSVGFECompositeElement.instance.width_Getter_(this); | |
1496 | |
1497 @DomName('SVGFECompositeElement.x') | |
1498 @DocsEditable() | |
1499 AnimatedLength get x => | |
1500 _blink.BlinkSVGFECompositeElement.instance.x_Getter_(this); | |
1501 | |
1502 @DomName('SVGFECompositeElement.y') | |
1503 @DocsEditable() | |
1504 AnimatedLength get y => | |
1505 _blink.BlinkSVGFECompositeElement.instance.y_Getter_(this); | |
1506 } | |
1507 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1508 // for details. All rights reserved. Use of this source code is governed by a | |
1509 // BSD-style license that can be found in the LICENSE file. | |
1510 | |
1511 // WARNING: Do not edit - generated code. | |
1512 | |
1513 @DocsEditable() | |
1514 @DomName('SVGFEConvolveMatrixElement') | |
1515 @SupportedBrowser(SupportedBrowser.CHROME) | |
1516 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
1517 @SupportedBrowser(SupportedBrowser.IE, '10') | |
1518 @SupportedBrowser(SupportedBrowser.SAFARI) | |
1519 @Unstable() | |
1520 class FEConvolveMatrixElement extends SvgElement | |
1521 implements FilterPrimitiveStandardAttributes { | |
1522 // To suppress missing implicit constructor warnings. | |
1523 factory FEConvolveMatrixElement._() { | |
1524 throw new UnsupportedError("Not supported"); | |
1525 } | |
1526 | |
1527 @DomName('SVGFEConvolveMatrixElement.SVGFEConvolveMatrixElement') | |
1528 @DocsEditable() | |
1529 factory FEConvolveMatrixElement() => | |
1530 _SvgElementFactoryProvider.createSvgElement_tag("feConvolveMatrix"); | |
1531 | |
1532 @Deprecated("Internal Use Only") | |
1533 external static Type get instanceRuntimeType; | |
1534 | |
1535 @Deprecated("Internal Use Only") | |
1536 FEConvolveMatrixElement.internal_() : super.internal_(); | |
1537 | |
1538 /** | |
1539 * Constructor instantiated by the DOM when a custom element has been created. | |
1540 * | |
1541 * This can only be called by subclasses from their created constructor. | |
1542 */ | |
1543 FEConvolveMatrixElement.created() : super.created(); | |
1544 | |
1545 /// Checks if this type is supported on the current platform. | |
1546 static bool get supported => true; | |
1547 | |
1548 @DomName('SVGFEConvolveMatrixElement.SVG_EDGEMODE_DUPLICATE') | |
1549 @DocsEditable() | |
1550 static const int SVG_EDGEMODE_DUPLICATE = 1; | |
1551 | |
1552 @DomName('SVGFEConvolveMatrixElement.SVG_EDGEMODE_NONE') | |
1553 @DocsEditable() | |
1554 static const int SVG_EDGEMODE_NONE = 3; | |
1555 | |
1556 @DomName('SVGFEConvolveMatrixElement.SVG_EDGEMODE_UNKNOWN') | |
1557 @DocsEditable() | |
1558 static const int SVG_EDGEMODE_UNKNOWN = 0; | |
1559 | |
1560 @DomName('SVGFEConvolveMatrixElement.SVG_EDGEMODE_WRAP') | |
1561 @DocsEditable() | |
1562 static const int SVG_EDGEMODE_WRAP = 2; | |
1563 | |
1564 @DomName('SVGFEConvolveMatrixElement.bias') | |
1565 @DocsEditable() | |
1566 AnimatedNumber get bias => | |
1567 _blink.BlinkSVGFEConvolveMatrixElement.instance.bias_Getter_(this); | |
1568 | |
1569 @DomName('SVGFEConvolveMatrixElement.divisor') | |
1570 @DocsEditable() | |
1571 AnimatedNumber get divisor => | |
1572 _blink.BlinkSVGFEConvolveMatrixElement.instance.divisor_Getter_(this); | |
1573 | |
1574 @DomName('SVGFEConvolveMatrixElement.edgeMode') | |
1575 @DocsEditable() | |
1576 AnimatedEnumeration get edgeMode => | |
1577 _blink.BlinkSVGFEConvolveMatrixElement.instance.edgeMode_Getter_(this); | |
1578 | |
1579 @DomName('SVGFEConvolveMatrixElement.in1') | |
1580 @DocsEditable() | |
1581 AnimatedString get in1 => | |
1582 _blink.BlinkSVGFEConvolveMatrixElement.instance.in1_Getter_(this); | |
1583 | |
1584 @DomName('SVGFEConvolveMatrixElement.kernelMatrix') | |
1585 @DocsEditable() | |
1586 AnimatedNumberList get kernelMatrix => | |
1587 _blink.BlinkSVGFEConvolveMatrixElement.instance | |
1588 .kernelMatrix_Getter_(this); | |
1589 | |
1590 @DomName('SVGFEConvolveMatrixElement.kernelUnitLengthX') | |
1591 @DocsEditable() | |
1592 AnimatedNumber get kernelUnitLengthX => | |
1593 _blink.BlinkSVGFEConvolveMatrixElement.instance | |
1594 .kernelUnitLengthX_Getter_(this); | |
1595 | |
1596 @DomName('SVGFEConvolveMatrixElement.kernelUnitLengthY') | |
1597 @DocsEditable() | |
1598 AnimatedNumber get kernelUnitLengthY => | |
1599 _blink.BlinkSVGFEConvolveMatrixElement.instance | |
1600 .kernelUnitLengthY_Getter_(this); | |
1601 | |
1602 @DomName('SVGFEConvolveMatrixElement.orderX') | |
1603 @DocsEditable() | |
1604 AnimatedInteger get orderX => | |
1605 _blink.BlinkSVGFEConvolveMatrixElement.instance.orderX_Getter_(this); | |
1606 | |
1607 @DomName('SVGFEConvolveMatrixElement.orderY') | |
1608 @DocsEditable() | |
1609 AnimatedInteger get orderY => | |
1610 _blink.BlinkSVGFEConvolveMatrixElement.instance.orderY_Getter_(this); | |
1611 | |
1612 @DomName('SVGFEConvolveMatrixElement.preserveAlpha') | |
1613 @DocsEditable() | |
1614 AnimatedBoolean get preserveAlpha => | |
1615 _blink.BlinkSVGFEConvolveMatrixElement.instance | |
1616 .preserveAlpha_Getter_(this); | |
1617 | |
1618 @DomName('SVGFEConvolveMatrixElement.targetX') | |
1619 @DocsEditable() | |
1620 AnimatedInteger get targetX => | |
1621 _blink.BlinkSVGFEConvolveMatrixElement.instance.targetX_Getter_(this); | |
1622 | |
1623 @DomName('SVGFEConvolveMatrixElement.targetY') | |
1624 @DocsEditable() | |
1625 AnimatedInteger get targetY => | |
1626 _blink.BlinkSVGFEConvolveMatrixElement.instance.targetY_Getter_(this); | |
1627 | |
1628 @DomName('SVGFEConvolveMatrixElement.height') | |
1629 @DocsEditable() | |
1630 AnimatedLength get height => | |
1631 _blink.BlinkSVGFEConvolveMatrixElement.instance.height_Getter_(this); | |
1632 | |
1633 @DomName('SVGFEConvolveMatrixElement.result') | |
1634 @DocsEditable() | |
1635 AnimatedString get result => | |
1636 _blink.BlinkSVGFEConvolveMatrixElement.instance.result_Getter_(this); | |
1637 | |
1638 @DomName('SVGFEConvolveMatrixElement.width') | |
1639 @DocsEditable() | |
1640 AnimatedLength get width => | |
1641 _blink.BlinkSVGFEConvolveMatrixElement.instance.width_Getter_(this); | |
1642 | |
1643 @DomName('SVGFEConvolveMatrixElement.x') | |
1644 @DocsEditable() | |
1645 AnimatedLength get x => | |
1646 _blink.BlinkSVGFEConvolveMatrixElement.instance.x_Getter_(this); | |
1647 | |
1648 @DomName('SVGFEConvolveMatrixElement.y') | |
1649 @DocsEditable() | |
1650 AnimatedLength get y => | |
1651 _blink.BlinkSVGFEConvolveMatrixElement.instance.y_Getter_(this); | |
1652 } | |
1653 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1654 // for details. All rights reserved. Use of this source code is governed by a | |
1655 // BSD-style license that can be found in the LICENSE file. | |
1656 | |
1657 // WARNING: Do not edit - generated code. | |
1658 | |
1659 @DocsEditable() | |
1660 @DomName('SVGFEDiffuseLightingElement') | |
1661 @SupportedBrowser(SupportedBrowser.CHROME) | |
1662 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
1663 @SupportedBrowser(SupportedBrowser.IE, '10') | |
1664 @SupportedBrowser(SupportedBrowser.SAFARI) | |
1665 @Unstable() | |
1666 class FEDiffuseLightingElement extends SvgElement | |
1667 implements FilterPrimitiveStandardAttributes { | |
1668 // To suppress missing implicit constructor warnings. | |
1669 factory FEDiffuseLightingElement._() { | |
1670 throw new UnsupportedError("Not supported"); | |
1671 } | |
1672 | |
1673 @DomName('SVGFEDiffuseLightingElement.SVGFEDiffuseLightingElement') | |
1674 @DocsEditable() | |
1675 factory FEDiffuseLightingElement() => | |
1676 _SvgElementFactoryProvider.createSvgElement_tag("feDiffuseLighting"); | |
1677 | |
1678 @Deprecated("Internal Use Only") | |
1679 external static Type get instanceRuntimeType; | |
1680 | |
1681 @Deprecated("Internal Use Only") | |
1682 FEDiffuseLightingElement.internal_() : super.internal_(); | |
1683 | |
1684 /** | |
1685 * Constructor instantiated by the DOM when a custom element has been created. | |
1686 * | |
1687 * This can only be called by subclasses from their created constructor. | |
1688 */ | |
1689 FEDiffuseLightingElement.created() : super.created(); | |
1690 | |
1691 /// Checks if this type is supported on the current platform. | |
1692 static bool get supported => true; | |
1693 | |
1694 @DomName('SVGFEDiffuseLightingElement.diffuseConstant') | |
1695 @DocsEditable() | |
1696 AnimatedNumber get diffuseConstant => | |
1697 _blink.BlinkSVGFEDiffuseLightingElement.instance | |
1698 .diffuseConstant_Getter_(this); | |
1699 | |
1700 @DomName('SVGFEDiffuseLightingElement.in1') | |
1701 @DocsEditable() | |
1702 AnimatedString get in1 => | |
1703 _blink.BlinkSVGFEDiffuseLightingElement.instance.in1_Getter_(this); | |
1704 | |
1705 @DomName('SVGFEDiffuseLightingElement.kernelUnitLengthX') | |
1706 @DocsEditable() | |
1707 AnimatedNumber get kernelUnitLengthX => | |
1708 _blink.BlinkSVGFEDiffuseLightingElement.instance | |
1709 .kernelUnitLengthX_Getter_(this); | |
1710 | |
1711 @DomName('SVGFEDiffuseLightingElement.kernelUnitLengthY') | |
1712 @DocsEditable() | |
1713 AnimatedNumber get kernelUnitLengthY => | |
1714 _blink.BlinkSVGFEDiffuseLightingElement.instance | |
1715 .kernelUnitLengthY_Getter_(this); | |
1716 | |
1717 @DomName('SVGFEDiffuseLightingElement.surfaceScale') | |
1718 @DocsEditable() | |
1719 AnimatedNumber get surfaceScale => | |
1720 _blink.BlinkSVGFEDiffuseLightingElement.instance | |
1721 .surfaceScale_Getter_(this); | |
1722 | |
1723 @DomName('SVGFEDiffuseLightingElement.height') | |
1724 @DocsEditable() | |
1725 AnimatedLength get height => | |
1726 _blink.BlinkSVGFEDiffuseLightingElement.instance.height_Getter_(this); | |
1727 | |
1728 @DomName('SVGFEDiffuseLightingElement.result') | |
1729 @DocsEditable() | |
1730 AnimatedString get result => | |
1731 _blink.BlinkSVGFEDiffuseLightingElement.instance.result_Getter_(this); | |
1732 | |
1733 @DomName('SVGFEDiffuseLightingElement.width') | |
1734 @DocsEditable() | |
1735 AnimatedLength get width => | |
1736 _blink.BlinkSVGFEDiffuseLightingElement.instance.width_Getter_(this); | |
1737 | |
1738 @DomName('SVGFEDiffuseLightingElement.x') | |
1739 @DocsEditable() | |
1740 AnimatedLength get x => | |
1741 _blink.BlinkSVGFEDiffuseLightingElement.instance.x_Getter_(this); | |
1742 | |
1743 @DomName('SVGFEDiffuseLightingElement.y') | |
1744 @DocsEditable() | |
1745 AnimatedLength get y => | |
1746 _blink.BlinkSVGFEDiffuseLightingElement.instance.y_Getter_(this); | |
1747 } | |
1748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1749 // for details. All rights reserved. Use of this source code is governed by a | |
1750 // BSD-style license that can be found in the LICENSE file. | |
1751 | |
1752 // WARNING: Do not edit - generated code. | |
1753 | |
1754 @DocsEditable() | |
1755 @DomName('SVGFEDisplacementMapElement') | |
1756 @SupportedBrowser(SupportedBrowser.CHROME) | |
1757 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
1758 @SupportedBrowser(SupportedBrowser.IE, '10') | |
1759 @SupportedBrowser(SupportedBrowser.SAFARI) | |
1760 @Unstable() | |
1761 class FEDisplacementMapElement extends SvgElement | |
1762 implements FilterPrimitiveStandardAttributes { | |
1763 // To suppress missing implicit constructor warnings. | |
1764 factory FEDisplacementMapElement._() { | |
1765 throw new UnsupportedError("Not supported"); | |
1766 } | |
1767 | |
1768 @DomName('SVGFEDisplacementMapElement.SVGFEDisplacementMapElement') | |
1769 @DocsEditable() | |
1770 factory FEDisplacementMapElement() => | |
1771 _SvgElementFactoryProvider.createSvgElement_tag("feDisplacementMap"); | |
1772 | |
1773 @Deprecated("Internal Use Only") | |
1774 external static Type get instanceRuntimeType; | |
1775 | |
1776 @Deprecated("Internal Use Only") | |
1777 FEDisplacementMapElement.internal_() : super.internal_(); | |
1778 | |
1779 /** | |
1780 * Constructor instantiated by the DOM when a custom element has been created. | |
1781 * | |
1782 * This can only be called by subclasses from their created constructor. | |
1783 */ | |
1784 FEDisplacementMapElement.created() : super.created(); | |
1785 | |
1786 /// Checks if this type is supported on the current platform. | |
1787 static bool get supported => true; | |
1788 | |
1789 @DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_A') | |
1790 @DocsEditable() | |
1791 static const int SVG_CHANNEL_A = 4; | |
1792 | |
1793 @DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_B') | |
1794 @DocsEditable() | |
1795 static const int SVG_CHANNEL_B = 3; | |
1796 | |
1797 @DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_G') | |
1798 @DocsEditable() | |
1799 static const int SVG_CHANNEL_G = 2; | |
1800 | |
1801 @DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_R') | |
1802 @DocsEditable() | |
1803 static const int SVG_CHANNEL_R = 1; | |
1804 | |
1805 @DomName('SVGFEDisplacementMapElement.SVG_CHANNEL_UNKNOWN') | |
1806 @DocsEditable() | |
1807 static const int SVG_CHANNEL_UNKNOWN = 0; | |
1808 | |
1809 @DomName('SVGFEDisplacementMapElement.in1') | |
1810 @DocsEditable() | |
1811 AnimatedString get in1 => | |
1812 _blink.BlinkSVGFEDisplacementMapElement.instance.in1_Getter_(this); | |
1813 | |
1814 @DomName('SVGFEDisplacementMapElement.in2') | |
1815 @DocsEditable() | |
1816 AnimatedString get in2 => | |
1817 _blink.BlinkSVGFEDisplacementMapElement.instance.in2_Getter_(this); | |
1818 | |
1819 @DomName('SVGFEDisplacementMapElement.scale') | |
1820 @DocsEditable() | |
1821 AnimatedNumber get scale => | |
1822 _blink.BlinkSVGFEDisplacementMapElement.instance.scale_Getter_(this); | |
1823 | |
1824 @DomName('SVGFEDisplacementMapElement.xChannelSelector') | |
1825 @DocsEditable() | |
1826 AnimatedEnumeration get xChannelSelector => | |
1827 _blink.BlinkSVGFEDisplacementMapElement.instance | |
1828 .xChannelSelector_Getter_(this); | |
1829 | |
1830 @DomName('SVGFEDisplacementMapElement.yChannelSelector') | |
1831 @DocsEditable() | |
1832 AnimatedEnumeration get yChannelSelector => | |
1833 _blink.BlinkSVGFEDisplacementMapElement.instance | |
1834 .yChannelSelector_Getter_(this); | |
1835 | |
1836 @DomName('SVGFEDisplacementMapElement.height') | |
1837 @DocsEditable() | |
1838 AnimatedLength get height => | |
1839 _blink.BlinkSVGFEDisplacementMapElement.instance.height_Getter_(this); | |
1840 | |
1841 @DomName('SVGFEDisplacementMapElement.result') | |
1842 @DocsEditable() | |
1843 AnimatedString get result => | |
1844 _blink.BlinkSVGFEDisplacementMapElement.instance.result_Getter_(this); | |
1845 | |
1846 @DomName('SVGFEDisplacementMapElement.width') | |
1847 @DocsEditable() | |
1848 AnimatedLength get width => | |
1849 _blink.BlinkSVGFEDisplacementMapElement.instance.width_Getter_(this); | |
1850 | |
1851 @DomName('SVGFEDisplacementMapElement.x') | |
1852 @DocsEditable() | |
1853 AnimatedLength get x => | |
1854 _blink.BlinkSVGFEDisplacementMapElement.instance.x_Getter_(this); | |
1855 | |
1856 @DomName('SVGFEDisplacementMapElement.y') | |
1857 @DocsEditable() | |
1858 AnimatedLength get y => | |
1859 _blink.BlinkSVGFEDisplacementMapElement.instance.y_Getter_(this); | |
1860 } | |
1861 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1862 // for details. All rights reserved. Use of this source code is governed by a | |
1863 // BSD-style license that can be found in the LICENSE file. | |
1864 | |
1865 // WARNING: Do not edit - generated code. | |
1866 | |
1867 @DocsEditable() | |
1868 @DomName('SVGFEDistantLightElement') | |
1869 @SupportedBrowser(SupportedBrowser.CHROME) | |
1870 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
1871 @SupportedBrowser(SupportedBrowser.IE, '10') | |
1872 @SupportedBrowser(SupportedBrowser.SAFARI) | |
1873 @Unstable() | |
1874 class FEDistantLightElement extends SvgElement { | |
1875 // To suppress missing implicit constructor warnings. | |
1876 factory FEDistantLightElement._() { | |
1877 throw new UnsupportedError("Not supported"); | |
1878 } | |
1879 | |
1880 @DomName('SVGFEDistantLightElement.SVGFEDistantLightElement') | |
1881 @DocsEditable() | |
1882 factory FEDistantLightElement() => | |
1883 _SvgElementFactoryProvider.createSvgElement_tag("feDistantLight"); | |
1884 | |
1885 @Deprecated("Internal Use Only") | |
1886 external static Type get instanceRuntimeType; | |
1887 | |
1888 @Deprecated("Internal Use Only") | |
1889 FEDistantLightElement.internal_() : super.internal_(); | |
1890 | |
1891 /** | |
1892 * Constructor instantiated by the DOM when a custom element has been created. | |
1893 * | |
1894 * This can only be called by subclasses from their created constructor. | |
1895 */ | |
1896 FEDistantLightElement.created() : super.created(); | |
1897 | |
1898 /// Checks if this type is supported on the current platform. | |
1899 static bool get supported => true; | |
1900 | |
1901 @DomName('SVGFEDistantLightElement.azimuth') | |
1902 @DocsEditable() | |
1903 AnimatedNumber get azimuth => | |
1904 _blink.BlinkSVGFEDistantLightElement.instance.azimuth_Getter_(this); | |
1905 | |
1906 @DomName('SVGFEDistantLightElement.elevation') | |
1907 @DocsEditable() | |
1908 AnimatedNumber get elevation => | |
1909 _blink.BlinkSVGFEDistantLightElement.instance.elevation_Getter_(this); | |
1910 } | |
1911 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1912 // for details. All rights reserved. Use of this source code is governed by a | |
1913 // BSD-style license that can be found in the LICENSE file. | |
1914 | |
1915 // WARNING: Do not edit - generated code. | |
1916 | |
1917 @DocsEditable() | |
1918 @DomName('SVGFEFloodElement') | |
1919 @SupportedBrowser(SupportedBrowser.CHROME) | |
1920 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
1921 @SupportedBrowser(SupportedBrowser.IE, '10') | |
1922 @SupportedBrowser(SupportedBrowser.SAFARI) | |
1923 @Unstable() | |
1924 class FEFloodElement extends SvgElement | |
1925 implements FilterPrimitiveStandardAttributes { | |
1926 // To suppress missing implicit constructor warnings. | |
1927 factory FEFloodElement._() { | |
1928 throw new UnsupportedError("Not supported"); | |
1929 } | |
1930 | |
1931 @DomName('SVGFEFloodElement.SVGFEFloodElement') | |
1932 @DocsEditable() | |
1933 factory FEFloodElement() => | |
1934 _SvgElementFactoryProvider.createSvgElement_tag("feFlood"); | |
1935 | |
1936 @Deprecated("Internal Use Only") | |
1937 external static Type get instanceRuntimeType; | |
1938 | |
1939 @Deprecated("Internal Use Only") | |
1940 FEFloodElement.internal_() : super.internal_(); | |
1941 | |
1942 /** | |
1943 * Constructor instantiated by the DOM when a custom element has been created. | |
1944 * | |
1945 * This can only be called by subclasses from their created constructor. | |
1946 */ | |
1947 FEFloodElement.created() : super.created(); | |
1948 | |
1949 /// Checks if this type is supported on the current platform. | |
1950 static bool get supported => true; | |
1951 | |
1952 @DomName('SVGFEFloodElement.height') | |
1953 @DocsEditable() | |
1954 AnimatedLength get height => | |
1955 _blink.BlinkSVGFEFloodElement.instance.height_Getter_(this); | |
1956 | |
1957 @DomName('SVGFEFloodElement.result') | |
1958 @DocsEditable() | |
1959 AnimatedString get result => | |
1960 _blink.BlinkSVGFEFloodElement.instance.result_Getter_(this); | |
1961 | |
1962 @DomName('SVGFEFloodElement.width') | |
1963 @DocsEditable() | |
1964 AnimatedLength get width => | |
1965 _blink.BlinkSVGFEFloodElement.instance.width_Getter_(this); | |
1966 | |
1967 @DomName('SVGFEFloodElement.x') | |
1968 @DocsEditable() | |
1969 AnimatedLength get x => | |
1970 _blink.BlinkSVGFEFloodElement.instance.x_Getter_(this); | |
1971 | |
1972 @DomName('SVGFEFloodElement.y') | |
1973 @DocsEditable() | |
1974 AnimatedLength get y => | |
1975 _blink.BlinkSVGFEFloodElement.instance.y_Getter_(this); | |
1976 } | |
1977 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
1978 // for details. All rights reserved. Use of this source code is governed by a | |
1979 // BSD-style license that can be found in the LICENSE file. | |
1980 | |
1981 // WARNING: Do not edit - generated code. | |
1982 | |
1983 @DocsEditable() | |
1984 @DomName('SVGFEFuncAElement') | |
1985 @SupportedBrowser(SupportedBrowser.CHROME) | |
1986 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
1987 @SupportedBrowser(SupportedBrowser.IE, '10') | |
1988 @SupportedBrowser(SupportedBrowser.SAFARI) | |
1989 @Unstable() | |
1990 class FEFuncAElement extends _SVGComponentTransferFunctionElement { | |
1991 // To suppress missing implicit constructor warnings. | |
1992 factory FEFuncAElement._() { | |
1993 throw new UnsupportedError("Not supported"); | |
1994 } | |
1995 | |
1996 @DomName('SVGFEFuncAElement.SVGFEFuncAElement') | |
1997 @DocsEditable() | |
1998 factory FEFuncAElement() => | |
1999 _SvgElementFactoryProvider.createSvgElement_tag("feFuncA"); | |
2000 | |
2001 @Deprecated("Internal Use Only") | |
2002 external static Type get instanceRuntimeType; | |
2003 | |
2004 @Deprecated("Internal Use Only") | |
2005 FEFuncAElement.internal_() : super.internal_(); | |
2006 | |
2007 /** | |
2008 * Constructor instantiated by the DOM when a custom element has been created. | |
2009 * | |
2010 * This can only be called by subclasses from their created constructor. | |
2011 */ | |
2012 FEFuncAElement.created() : super.created(); | |
2013 | |
2014 /// Checks if this type is supported on the current platform. | |
2015 static bool get supported => true; | |
2016 } | |
2017 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2018 // for details. All rights reserved. Use of this source code is governed by a | |
2019 // BSD-style license that can be found in the LICENSE file. | |
2020 | |
2021 // WARNING: Do not edit - generated code. | |
2022 | |
2023 @DocsEditable() | |
2024 @DomName('SVGFEFuncBElement') | |
2025 @SupportedBrowser(SupportedBrowser.CHROME) | |
2026 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
2027 @SupportedBrowser(SupportedBrowser.IE, '10') | |
2028 @SupportedBrowser(SupportedBrowser.SAFARI) | |
2029 @Unstable() | |
2030 class FEFuncBElement extends _SVGComponentTransferFunctionElement { | |
2031 // To suppress missing implicit constructor warnings. | |
2032 factory FEFuncBElement._() { | |
2033 throw new UnsupportedError("Not supported"); | |
2034 } | |
2035 | |
2036 @DomName('SVGFEFuncBElement.SVGFEFuncBElement') | |
2037 @DocsEditable() | |
2038 factory FEFuncBElement() => | |
2039 _SvgElementFactoryProvider.createSvgElement_tag("feFuncB"); | |
2040 | |
2041 @Deprecated("Internal Use Only") | |
2042 external static Type get instanceRuntimeType; | |
2043 | |
2044 @Deprecated("Internal Use Only") | |
2045 FEFuncBElement.internal_() : super.internal_(); | |
2046 | |
2047 /** | |
2048 * Constructor instantiated by the DOM when a custom element has been created. | |
2049 * | |
2050 * This can only be called by subclasses from their created constructor. | |
2051 */ | |
2052 FEFuncBElement.created() : super.created(); | |
2053 | |
2054 /// Checks if this type is supported on the current platform. | |
2055 static bool get supported => true; | |
2056 } | |
2057 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2058 // for details. All rights reserved. Use of this source code is governed by a | |
2059 // BSD-style license that can be found in the LICENSE file. | |
2060 | |
2061 // WARNING: Do not edit - generated code. | |
2062 | |
2063 @DocsEditable() | |
2064 @DomName('SVGFEFuncGElement') | |
2065 @SupportedBrowser(SupportedBrowser.CHROME) | |
2066 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
2067 @SupportedBrowser(SupportedBrowser.IE, '10') | |
2068 @SupportedBrowser(SupportedBrowser.SAFARI) | |
2069 @Unstable() | |
2070 class FEFuncGElement extends _SVGComponentTransferFunctionElement { | |
2071 // To suppress missing implicit constructor warnings. | |
2072 factory FEFuncGElement._() { | |
2073 throw new UnsupportedError("Not supported"); | |
2074 } | |
2075 | |
2076 @DomName('SVGFEFuncGElement.SVGFEFuncGElement') | |
2077 @DocsEditable() | |
2078 factory FEFuncGElement() => | |
2079 _SvgElementFactoryProvider.createSvgElement_tag("feFuncG"); | |
2080 | |
2081 @Deprecated("Internal Use Only") | |
2082 external static Type get instanceRuntimeType; | |
2083 | |
2084 @Deprecated("Internal Use Only") | |
2085 FEFuncGElement.internal_() : super.internal_(); | |
2086 | |
2087 /** | |
2088 * Constructor instantiated by the DOM when a custom element has been created. | |
2089 * | |
2090 * This can only be called by subclasses from their created constructor. | |
2091 */ | |
2092 FEFuncGElement.created() : super.created(); | |
2093 | |
2094 /// Checks if this type is supported on the current platform. | |
2095 static bool get supported => true; | |
2096 } | |
2097 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2098 // for details. All rights reserved. Use of this source code is governed by a | |
2099 // BSD-style license that can be found in the LICENSE file. | |
2100 | |
2101 // WARNING: Do not edit - generated code. | |
2102 | |
2103 @DocsEditable() | |
2104 @DomName('SVGFEFuncRElement') | |
2105 @SupportedBrowser(SupportedBrowser.CHROME) | |
2106 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
2107 @SupportedBrowser(SupportedBrowser.IE, '10') | |
2108 @SupportedBrowser(SupportedBrowser.SAFARI) | |
2109 @Unstable() | |
2110 class FEFuncRElement extends _SVGComponentTransferFunctionElement { | |
2111 // To suppress missing implicit constructor warnings. | |
2112 factory FEFuncRElement._() { | |
2113 throw new UnsupportedError("Not supported"); | |
2114 } | |
2115 | |
2116 @DomName('SVGFEFuncRElement.SVGFEFuncRElement') | |
2117 @DocsEditable() | |
2118 factory FEFuncRElement() => | |
2119 _SvgElementFactoryProvider.createSvgElement_tag("feFuncR"); | |
2120 | |
2121 @Deprecated("Internal Use Only") | |
2122 external static Type get instanceRuntimeType; | |
2123 | |
2124 @Deprecated("Internal Use Only") | |
2125 FEFuncRElement.internal_() : super.internal_(); | |
2126 | |
2127 /** | |
2128 * Constructor instantiated by the DOM when a custom element has been created. | |
2129 * | |
2130 * This can only be called by subclasses from their created constructor. | |
2131 */ | |
2132 FEFuncRElement.created() : super.created(); | |
2133 | |
2134 /// Checks if this type is supported on the current platform. | |
2135 static bool get supported => true; | |
2136 } | |
2137 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2138 // for details. All rights reserved. Use of this source code is governed by a | |
2139 // BSD-style license that can be found in the LICENSE file. | |
2140 | |
2141 // WARNING: Do not edit - generated code. | |
2142 | |
2143 @DocsEditable() | |
2144 @DomName('SVGFEGaussianBlurElement') | |
2145 @SupportedBrowser(SupportedBrowser.CHROME) | |
2146 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
2147 @SupportedBrowser(SupportedBrowser.IE, '10') | |
2148 @SupportedBrowser(SupportedBrowser.SAFARI) | |
2149 @Unstable() | |
2150 class FEGaussianBlurElement extends SvgElement | |
2151 implements FilterPrimitiveStandardAttributes { | |
2152 // To suppress missing implicit constructor warnings. | |
2153 factory FEGaussianBlurElement._() { | |
2154 throw new UnsupportedError("Not supported"); | |
2155 } | |
2156 | |
2157 @DomName('SVGFEGaussianBlurElement.SVGFEGaussianBlurElement') | |
2158 @DocsEditable() | |
2159 factory FEGaussianBlurElement() => | |
2160 _SvgElementFactoryProvider.createSvgElement_tag("feGaussianBlur"); | |
2161 | |
2162 @Deprecated("Internal Use Only") | |
2163 external static Type get instanceRuntimeType; | |
2164 | |
2165 @Deprecated("Internal Use Only") | |
2166 FEGaussianBlurElement.internal_() : super.internal_(); | |
2167 | |
2168 /** | |
2169 * Constructor instantiated by the DOM when a custom element has been created. | |
2170 * | |
2171 * This can only be called by subclasses from their created constructor. | |
2172 */ | |
2173 FEGaussianBlurElement.created() : super.created(); | |
2174 | |
2175 /// Checks if this type is supported on the current platform. | |
2176 static bool get supported => true; | |
2177 | |
2178 @DomName('SVGFEGaussianBlurElement.in1') | |
2179 @DocsEditable() | |
2180 AnimatedString get in1 => | |
2181 _blink.BlinkSVGFEGaussianBlurElement.instance.in1_Getter_(this); | |
2182 | |
2183 @DomName('SVGFEGaussianBlurElement.stdDeviationX') | |
2184 @DocsEditable() | |
2185 AnimatedNumber get stdDeviationX => | |
2186 _blink.BlinkSVGFEGaussianBlurElement.instance.stdDeviationX_Getter_(this); | |
2187 | |
2188 @DomName('SVGFEGaussianBlurElement.stdDeviationY') | |
2189 @DocsEditable() | |
2190 AnimatedNumber get stdDeviationY => | |
2191 _blink.BlinkSVGFEGaussianBlurElement.instance.stdDeviationY_Getter_(this); | |
2192 | |
2193 @DomName('SVGFEGaussianBlurElement.setStdDeviation') | |
2194 @DocsEditable() | |
2195 void setStdDeviation(num stdDeviationX, num stdDeviationY) => | |
2196 _blink.BlinkSVGFEGaussianBlurElement.instance | |
2197 .setStdDeviation_Callback_2_(this, stdDeviationX, stdDeviationY); | |
2198 | |
2199 @DomName('SVGFEGaussianBlurElement.height') | |
2200 @DocsEditable() | |
2201 AnimatedLength get height => | |
2202 _blink.BlinkSVGFEGaussianBlurElement.instance.height_Getter_(this); | |
2203 | |
2204 @DomName('SVGFEGaussianBlurElement.result') | |
2205 @DocsEditable() | |
2206 AnimatedString get result => | |
2207 _blink.BlinkSVGFEGaussianBlurElement.instance.result_Getter_(this); | |
2208 | |
2209 @DomName('SVGFEGaussianBlurElement.width') | |
2210 @DocsEditable() | |
2211 AnimatedLength get width => | |
2212 _blink.BlinkSVGFEGaussianBlurElement.instance.width_Getter_(this); | |
2213 | |
2214 @DomName('SVGFEGaussianBlurElement.x') | |
2215 @DocsEditable() | |
2216 AnimatedLength get x => | |
2217 _blink.BlinkSVGFEGaussianBlurElement.instance.x_Getter_(this); | |
2218 | |
2219 @DomName('SVGFEGaussianBlurElement.y') | |
2220 @DocsEditable() | |
2221 AnimatedLength get y => | |
2222 _blink.BlinkSVGFEGaussianBlurElement.instance.y_Getter_(this); | |
2223 } | |
2224 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2225 // for details. All rights reserved. Use of this source code is governed by a | |
2226 // BSD-style license that can be found in the LICENSE file. | |
2227 | |
2228 // WARNING: Do not edit - generated code. | |
2229 | |
2230 @DocsEditable() | |
2231 @DomName('SVGFEImageElement') | |
2232 @SupportedBrowser(SupportedBrowser.CHROME) | |
2233 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
2234 @SupportedBrowser(SupportedBrowser.IE, '10') | |
2235 @SupportedBrowser(SupportedBrowser.SAFARI) | |
2236 @Unstable() | |
2237 class FEImageElement extends SvgElement | |
2238 implements FilterPrimitiveStandardAttributes, UriReference { | |
2239 // To suppress missing implicit constructor warnings. | |
2240 factory FEImageElement._() { | |
2241 throw new UnsupportedError("Not supported"); | |
2242 } | |
2243 | |
2244 @DomName('SVGFEImageElement.SVGFEImageElement') | |
2245 @DocsEditable() | |
2246 factory FEImageElement() => | |
2247 _SvgElementFactoryProvider.createSvgElement_tag("feImage"); | |
2248 | |
2249 @Deprecated("Internal Use Only") | |
2250 external static Type get instanceRuntimeType; | |
2251 | |
2252 @Deprecated("Internal Use Only") | |
2253 FEImageElement.internal_() : super.internal_(); | |
2254 | |
2255 /** | |
2256 * Constructor instantiated by the DOM when a custom element has been created. | |
2257 * | |
2258 * This can only be called by subclasses from their created constructor. | |
2259 */ | |
2260 FEImageElement.created() : super.created(); | |
2261 | |
2262 /// Checks if this type is supported on the current platform. | |
2263 static bool get supported => true; | |
2264 | |
2265 @DomName('SVGFEImageElement.preserveAspectRatio') | |
2266 @DocsEditable() | |
2267 AnimatedPreserveAspectRatio get preserveAspectRatio => | |
2268 _blink.BlinkSVGFEImageElement.instance.preserveAspectRatio_Getter_(this); | |
2269 | |
2270 @DomName('SVGFEImageElement.height') | |
2271 @DocsEditable() | |
2272 AnimatedLength get height => | |
2273 _blink.BlinkSVGFEImageElement.instance.height_Getter_(this); | |
2274 | |
2275 @DomName('SVGFEImageElement.result') | |
2276 @DocsEditable() | |
2277 AnimatedString get result => | |
2278 _blink.BlinkSVGFEImageElement.instance.result_Getter_(this); | |
2279 | |
2280 @DomName('SVGFEImageElement.width') | |
2281 @DocsEditable() | |
2282 AnimatedLength get width => | |
2283 _blink.BlinkSVGFEImageElement.instance.width_Getter_(this); | |
2284 | |
2285 @DomName('SVGFEImageElement.x') | |
2286 @DocsEditable() | |
2287 AnimatedLength get x => | |
2288 _blink.BlinkSVGFEImageElement.instance.x_Getter_(this); | |
2289 | |
2290 @DomName('SVGFEImageElement.y') | |
2291 @DocsEditable() | |
2292 AnimatedLength get y => | |
2293 _blink.BlinkSVGFEImageElement.instance.y_Getter_(this); | |
2294 | |
2295 @DomName('SVGFEImageElement.href') | |
2296 @DocsEditable() | |
2297 AnimatedString get href => | |
2298 _blink.BlinkSVGFEImageElement.instance.href_Getter_(this); | |
2299 } | |
2300 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2301 // for details. All rights reserved. Use of this source code is governed by a | |
2302 // BSD-style license that can be found in the LICENSE file. | |
2303 | |
2304 // WARNING: Do not edit - generated code. | |
2305 | |
2306 @DocsEditable() | |
2307 @DomName('SVGFEMergeElement') | |
2308 @SupportedBrowser(SupportedBrowser.CHROME) | |
2309 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
2310 @SupportedBrowser(SupportedBrowser.IE, '10') | |
2311 @SupportedBrowser(SupportedBrowser.SAFARI) | |
2312 @Unstable() | |
2313 class FEMergeElement extends SvgElement | |
2314 implements FilterPrimitiveStandardAttributes { | |
2315 // To suppress missing implicit constructor warnings. | |
2316 factory FEMergeElement._() { | |
2317 throw new UnsupportedError("Not supported"); | |
2318 } | |
2319 | |
2320 @DomName('SVGFEMergeElement.SVGFEMergeElement') | |
2321 @DocsEditable() | |
2322 factory FEMergeElement() => | |
2323 _SvgElementFactoryProvider.createSvgElement_tag("feMerge"); | |
2324 | |
2325 @Deprecated("Internal Use Only") | |
2326 external static Type get instanceRuntimeType; | |
2327 | |
2328 @Deprecated("Internal Use Only") | |
2329 FEMergeElement.internal_() : super.internal_(); | |
2330 | |
2331 /** | |
2332 * Constructor instantiated by the DOM when a custom element has been created. | |
2333 * | |
2334 * This can only be called by subclasses from their created constructor. | |
2335 */ | |
2336 FEMergeElement.created() : super.created(); | |
2337 | |
2338 /// Checks if this type is supported on the current platform. | |
2339 static bool get supported => true; | |
2340 | |
2341 @DomName('SVGFEMergeElement.height') | |
2342 @DocsEditable() | |
2343 AnimatedLength get height => | |
2344 _blink.BlinkSVGFEMergeElement.instance.height_Getter_(this); | |
2345 | |
2346 @DomName('SVGFEMergeElement.result') | |
2347 @DocsEditable() | |
2348 AnimatedString get result => | |
2349 _blink.BlinkSVGFEMergeElement.instance.result_Getter_(this); | |
2350 | |
2351 @DomName('SVGFEMergeElement.width') | |
2352 @DocsEditable() | |
2353 AnimatedLength get width => | |
2354 _blink.BlinkSVGFEMergeElement.instance.width_Getter_(this); | |
2355 | |
2356 @DomName('SVGFEMergeElement.x') | |
2357 @DocsEditable() | |
2358 AnimatedLength get x => | |
2359 _blink.BlinkSVGFEMergeElement.instance.x_Getter_(this); | |
2360 | |
2361 @DomName('SVGFEMergeElement.y') | |
2362 @DocsEditable() | |
2363 AnimatedLength get y => | |
2364 _blink.BlinkSVGFEMergeElement.instance.y_Getter_(this); | |
2365 } | |
2366 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2367 // for details. All rights reserved. Use of this source code is governed by a | |
2368 // BSD-style license that can be found in the LICENSE file. | |
2369 | |
2370 // WARNING: Do not edit - generated code. | |
2371 | |
2372 @DocsEditable() | |
2373 @DomName('SVGFEMergeNodeElement') | |
2374 @SupportedBrowser(SupportedBrowser.CHROME) | |
2375 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
2376 @SupportedBrowser(SupportedBrowser.IE, '10') | |
2377 @SupportedBrowser(SupportedBrowser.SAFARI) | |
2378 @Unstable() | |
2379 class FEMergeNodeElement extends SvgElement { | |
2380 // To suppress missing implicit constructor warnings. | |
2381 factory FEMergeNodeElement._() { | |
2382 throw new UnsupportedError("Not supported"); | |
2383 } | |
2384 | |
2385 @DomName('SVGFEMergeNodeElement.SVGFEMergeNodeElement') | |
2386 @DocsEditable() | |
2387 factory FEMergeNodeElement() => | |
2388 _SvgElementFactoryProvider.createSvgElement_tag("feMergeNode"); | |
2389 | |
2390 @Deprecated("Internal Use Only") | |
2391 external static Type get instanceRuntimeType; | |
2392 | |
2393 @Deprecated("Internal Use Only") | |
2394 FEMergeNodeElement.internal_() : super.internal_(); | |
2395 | |
2396 /** | |
2397 * Constructor instantiated by the DOM when a custom element has been created. | |
2398 * | |
2399 * This can only be called by subclasses from their created constructor. | |
2400 */ | |
2401 FEMergeNodeElement.created() : super.created(); | |
2402 | |
2403 /// Checks if this type is supported on the current platform. | |
2404 static bool get supported => true; | |
2405 | |
2406 @DomName('SVGFEMergeNodeElement.in1') | |
2407 @DocsEditable() | |
2408 AnimatedString get in1 => | |
2409 _blink.BlinkSVGFEMergeNodeElement.instance.in1_Getter_(this); | |
2410 } | |
2411 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2412 // for details. All rights reserved. Use of this source code is governed by a | |
2413 // BSD-style license that can be found in the LICENSE file. | |
2414 | |
2415 // WARNING: Do not edit - generated code. | |
2416 | |
2417 @DocsEditable() | |
2418 @DomName('SVGFEMorphologyElement') | |
2419 @SupportedBrowser(SupportedBrowser.CHROME) | |
2420 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
2421 @SupportedBrowser(SupportedBrowser.IE, '10') | |
2422 @SupportedBrowser(SupportedBrowser.SAFARI) | |
2423 @Unstable() | |
2424 class FEMorphologyElement extends SvgElement | |
2425 implements FilterPrimitiveStandardAttributes { | |
2426 // To suppress missing implicit constructor warnings. | |
2427 factory FEMorphologyElement._() { | |
2428 throw new UnsupportedError("Not supported"); | |
2429 } | |
2430 | |
2431 @Deprecated("Internal Use Only") | |
2432 external static Type get instanceRuntimeType; | |
2433 | |
2434 @Deprecated("Internal Use Only") | |
2435 FEMorphologyElement.internal_() : super.internal_(); | |
2436 | |
2437 /** | |
2438 * Constructor instantiated by the DOM when a custom element has been created. | |
2439 * | |
2440 * This can only be called by subclasses from their created constructor. | |
2441 */ | |
2442 FEMorphologyElement.created() : super.created(); | |
2443 | |
2444 @DomName('SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_DILATE') | |
2445 @DocsEditable() | |
2446 static const int SVG_MORPHOLOGY_OPERATOR_DILATE = 2; | |
2447 | |
2448 @DomName('SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_ERODE') | |
2449 @DocsEditable() | |
2450 static const int SVG_MORPHOLOGY_OPERATOR_ERODE = 1; | |
2451 | |
2452 @DomName('SVGFEMorphologyElement.SVG_MORPHOLOGY_OPERATOR_UNKNOWN') | |
2453 @DocsEditable() | |
2454 static const int SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0; | |
2455 | |
2456 @DomName('SVGFEMorphologyElement.in1') | |
2457 @DocsEditable() | |
2458 AnimatedString get in1 => | |
2459 _blink.BlinkSVGFEMorphologyElement.instance.in1_Getter_(this); | |
2460 | |
2461 @DomName('SVGFEMorphologyElement.operator') | |
2462 @DocsEditable() | |
2463 AnimatedEnumeration get operator => | |
2464 _blink.BlinkSVGFEMorphologyElement.instance.operator_Getter_(this); | |
2465 | |
2466 @DomName('SVGFEMorphologyElement.radiusX') | |
2467 @DocsEditable() | |
2468 AnimatedNumber get radiusX => | |
2469 _blink.BlinkSVGFEMorphologyElement.instance.radiusX_Getter_(this); | |
2470 | |
2471 @DomName('SVGFEMorphologyElement.radiusY') | |
2472 @DocsEditable() | |
2473 AnimatedNumber get radiusY => | |
2474 _blink.BlinkSVGFEMorphologyElement.instance.radiusY_Getter_(this); | |
2475 | |
2476 @DomName('SVGFEMorphologyElement.height') | |
2477 @DocsEditable() | |
2478 AnimatedLength get height => | |
2479 _blink.BlinkSVGFEMorphologyElement.instance.height_Getter_(this); | |
2480 | |
2481 @DomName('SVGFEMorphologyElement.result') | |
2482 @DocsEditable() | |
2483 AnimatedString get result => | |
2484 _blink.BlinkSVGFEMorphologyElement.instance.result_Getter_(this); | |
2485 | |
2486 @DomName('SVGFEMorphologyElement.width') | |
2487 @DocsEditable() | |
2488 AnimatedLength get width => | |
2489 _blink.BlinkSVGFEMorphologyElement.instance.width_Getter_(this); | |
2490 | |
2491 @DomName('SVGFEMorphologyElement.x') | |
2492 @DocsEditable() | |
2493 AnimatedLength get x => | |
2494 _blink.BlinkSVGFEMorphologyElement.instance.x_Getter_(this); | |
2495 | |
2496 @DomName('SVGFEMorphologyElement.y') | |
2497 @DocsEditable() | |
2498 AnimatedLength get y => | |
2499 _blink.BlinkSVGFEMorphologyElement.instance.y_Getter_(this); | |
2500 } | |
2501 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2502 // for details. All rights reserved. Use of this source code is governed by a | |
2503 // BSD-style license that can be found in the LICENSE file. | |
2504 | |
2505 // WARNING: Do not edit - generated code. | |
2506 | |
2507 @DocsEditable() | |
2508 @DomName('SVGFEOffsetElement') | |
2509 @SupportedBrowser(SupportedBrowser.CHROME) | |
2510 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
2511 @SupportedBrowser(SupportedBrowser.IE, '10') | |
2512 @SupportedBrowser(SupportedBrowser.SAFARI) | |
2513 @Unstable() | |
2514 class FEOffsetElement extends SvgElement | |
2515 implements FilterPrimitiveStandardAttributes { | |
2516 // To suppress missing implicit constructor warnings. | |
2517 factory FEOffsetElement._() { | |
2518 throw new UnsupportedError("Not supported"); | |
2519 } | |
2520 | |
2521 @DomName('SVGFEOffsetElement.SVGFEOffsetElement') | |
2522 @DocsEditable() | |
2523 factory FEOffsetElement() => | |
2524 _SvgElementFactoryProvider.createSvgElement_tag("feOffset"); | |
2525 | |
2526 @Deprecated("Internal Use Only") | |
2527 external static Type get instanceRuntimeType; | |
2528 | |
2529 @Deprecated("Internal Use Only") | |
2530 FEOffsetElement.internal_() : super.internal_(); | |
2531 | |
2532 /** | |
2533 * Constructor instantiated by the DOM when a custom element has been created. | |
2534 * | |
2535 * This can only be called by subclasses from their created constructor. | |
2536 */ | |
2537 FEOffsetElement.created() : super.created(); | |
2538 | |
2539 /// Checks if this type is supported on the current platform. | |
2540 static bool get supported => true; | |
2541 | |
2542 @DomName('SVGFEOffsetElement.dx') | |
2543 @DocsEditable() | |
2544 AnimatedNumber get dx => | |
2545 _blink.BlinkSVGFEOffsetElement.instance.dx_Getter_(this); | |
2546 | |
2547 @DomName('SVGFEOffsetElement.dy') | |
2548 @DocsEditable() | |
2549 AnimatedNumber get dy => | |
2550 _blink.BlinkSVGFEOffsetElement.instance.dy_Getter_(this); | |
2551 | |
2552 @DomName('SVGFEOffsetElement.in1') | |
2553 @DocsEditable() | |
2554 AnimatedString get in1 => | |
2555 _blink.BlinkSVGFEOffsetElement.instance.in1_Getter_(this); | |
2556 | |
2557 @DomName('SVGFEOffsetElement.height') | |
2558 @DocsEditable() | |
2559 AnimatedLength get height => | |
2560 _blink.BlinkSVGFEOffsetElement.instance.height_Getter_(this); | |
2561 | |
2562 @DomName('SVGFEOffsetElement.result') | |
2563 @DocsEditable() | |
2564 AnimatedString get result => | |
2565 _blink.BlinkSVGFEOffsetElement.instance.result_Getter_(this); | |
2566 | |
2567 @DomName('SVGFEOffsetElement.width') | |
2568 @DocsEditable() | |
2569 AnimatedLength get width => | |
2570 _blink.BlinkSVGFEOffsetElement.instance.width_Getter_(this); | |
2571 | |
2572 @DomName('SVGFEOffsetElement.x') | |
2573 @DocsEditable() | |
2574 AnimatedLength get x => | |
2575 _blink.BlinkSVGFEOffsetElement.instance.x_Getter_(this); | |
2576 | |
2577 @DomName('SVGFEOffsetElement.y') | |
2578 @DocsEditable() | |
2579 AnimatedLength get y => | |
2580 _blink.BlinkSVGFEOffsetElement.instance.y_Getter_(this); | |
2581 } | |
2582 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2583 // for details. All rights reserved. Use of this source code is governed by a | |
2584 // BSD-style license that can be found in the LICENSE file. | |
2585 | |
2586 // WARNING: Do not edit - generated code. | |
2587 | |
2588 @DocsEditable() | |
2589 @DomName('SVGFEPointLightElement') | |
2590 @SupportedBrowser(SupportedBrowser.CHROME) | |
2591 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
2592 @SupportedBrowser(SupportedBrowser.IE, '10') | |
2593 @SupportedBrowser(SupportedBrowser.SAFARI) | |
2594 @Unstable() | |
2595 class FEPointLightElement extends SvgElement { | |
2596 // To suppress missing implicit constructor warnings. | |
2597 factory FEPointLightElement._() { | |
2598 throw new UnsupportedError("Not supported"); | |
2599 } | |
2600 | |
2601 @DomName('SVGFEPointLightElement.SVGFEPointLightElement') | |
2602 @DocsEditable() | |
2603 factory FEPointLightElement() => | |
2604 _SvgElementFactoryProvider.createSvgElement_tag("fePointLight"); | |
2605 | |
2606 @Deprecated("Internal Use Only") | |
2607 external static Type get instanceRuntimeType; | |
2608 | |
2609 @Deprecated("Internal Use Only") | |
2610 FEPointLightElement.internal_() : super.internal_(); | |
2611 | |
2612 /** | |
2613 * Constructor instantiated by the DOM when a custom element has been created. | |
2614 * | |
2615 * This can only be called by subclasses from their created constructor. | |
2616 */ | |
2617 FEPointLightElement.created() : super.created(); | |
2618 | |
2619 /// Checks if this type is supported on the current platform. | |
2620 static bool get supported => true; | |
2621 | |
2622 @DomName('SVGFEPointLightElement.x') | |
2623 @DocsEditable() | |
2624 AnimatedNumber get x => | |
2625 _blink.BlinkSVGFEPointLightElement.instance.x_Getter_(this); | |
2626 | |
2627 @DomName('SVGFEPointLightElement.y') | |
2628 @DocsEditable() | |
2629 AnimatedNumber get y => | |
2630 _blink.BlinkSVGFEPointLightElement.instance.y_Getter_(this); | |
2631 | |
2632 @DomName('SVGFEPointLightElement.z') | |
2633 @DocsEditable() | |
2634 AnimatedNumber get z => | |
2635 _blink.BlinkSVGFEPointLightElement.instance.z_Getter_(this); | |
2636 } | |
2637 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2638 // for details. All rights reserved. Use of this source code is governed by a | |
2639 // BSD-style license that can be found in the LICENSE file. | |
2640 | |
2641 // WARNING: Do not edit - generated code. | |
2642 | |
2643 @DocsEditable() | |
2644 @DomName('SVGFESpecularLightingElement') | |
2645 @SupportedBrowser(SupportedBrowser.CHROME) | |
2646 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
2647 @SupportedBrowser(SupportedBrowser.IE, '10') | |
2648 @SupportedBrowser(SupportedBrowser.SAFARI) | |
2649 @Unstable() | |
2650 class FESpecularLightingElement extends SvgElement | |
2651 implements FilterPrimitiveStandardAttributes { | |
2652 // To suppress missing implicit constructor warnings. | |
2653 factory FESpecularLightingElement._() { | |
2654 throw new UnsupportedError("Not supported"); | |
2655 } | |
2656 | |
2657 @DomName('SVGFESpecularLightingElement.SVGFESpecularLightingElement') | |
2658 @DocsEditable() | |
2659 factory FESpecularLightingElement() => | |
2660 _SvgElementFactoryProvider.createSvgElement_tag("feSpecularLighting"); | |
2661 | |
2662 @Deprecated("Internal Use Only") | |
2663 external static Type get instanceRuntimeType; | |
2664 | |
2665 @Deprecated("Internal Use Only") | |
2666 FESpecularLightingElement.internal_() : super.internal_(); | |
2667 | |
2668 /** | |
2669 * Constructor instantiated by the DOM when a custom element has been created. | |
2670 * | |
2671 * This can only be called by subclasses from their created constructor. | |
2672 */ | |
2673 FESpecularLightingElement.created() : super.created(); | |
2674 | |
2675 /// Checks if this type is supported on the current platform. | |
2676 static bool get supported => true; | |
2677 | |
2678 @DomName('SVGFESpecularLightingElement.in1') | |
2679 @DocsEditable() | |
2680 AnimatedString get in1 => | |
2681 _blink.BlinkSVGFESpecularLightingElement.instance.in1_Getter_(this); | |
2682 | |
2683 @DomName('SVGFESpecularLightingElement.kernelUnitLengthX') | |
2684 @DocsEditable() | |
2685 @Experimental() // untriaged | |
2686 AnimatedNumber get kernelUnitLengthX => | |
2687 _blink.BlinkSVGFESpecularLightingElement.instance | |
2688 .kernelUnitLengthX_Getter_(this); | |
2689 | |
2690 @DomName('SVGFESpecularLightingElement.kernelUnitLengthY') | |
2691 @DocsEditable() | |
2692 @Experimental() // untriaged | |
2693 AnimatedNumber get kernelUnitLengthY => | |
2694 _blink.BlinkSVGFESpecularLightingElement.instance | |
2695 .kernelUnitLengthY_Getter_(this); | |
2696 | |
2697 @DomName('SVGFESpecularLightingElement.specularConstant') | |
2698 @DocsEditable() | |
2699 AnimatedNumber get specularConstant => | |
2700 _blink.BlinkSVGFESpecularLightingElement.instance | |
2701 .specularConstant_Getter_(this); | |
2702 | |
2703 @DomName('SVGFESpecularLightingElement.specularExponent') | |
2704 @DocsEditable() | |
2705 AnimatedNumber get specularExponent => | |
2706 _blink.BlinkSVGFESpecularLightingElement.instance | |
2707 .specularExponent_Getter_(this); | |
2708 | |
2709 @DomName('SVGFESpecularLightingElement.surfaceScale') | |
2710 @DocsEditable() | |
2711 AnimatedNumber get surfaceScale => | |
2712 _blink.BlinkSVGFESpecularLightingElement.instance | |
2713 .surfaceScale_Getter_(this); | |
2714 | |
2715 @DomName('SVGFESpecularLightingElement.height') | |
2716 @DocsEditable() | |
2717 AnimatedLength get height => | |
2718 _blink.BlinkSVGFESpecularLightingElement.instance.height_Getter_(this); | |
2719 | |
2720 @DomName('SVGFESpecularLightingElement.result') | |
2721 @DocsEditable() | |
2722 AnimatedString get result => | |
2723 _blink.BlinkSVGFESpecularLightingElement.instance.result_Getter_(this); | |
2724 | |
2725 @DomName('SVGFESpecularLightingElement.width') | |
2726 @DocsEditable() | |
2727 AnimatedLength get width => | |
2728 _blink.BlinkSVGFESpecularLightingElement.instance.width_Getter_(this); | |
2729 | |
2730 @DomName('SVGFESpecularLightingElement.x') | |
2731 @DocsEditable() | |
2732 AnimatedLength get x => | |
2733 _blink.BlinkSVGFESpecularLightingElement.instance.x_Getter_(this); | |
2734 | |
2735 @DomName('SVGFESpecularLightingElement.y') | |
2736 @DocsEditable() | |
2737 AnimatedLength get y => | |
2738 _blink.BlinkSVGFESpecularLightingElement.instance.y_Getter_(this); | |
2739 } | |
2740 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2741 // for details. All rights reserved. Use of this source code is governed by a | |
2742 // BSD-style license that can be found in the LICENSE file. | |
2743 | |
2744 // WARNING: Do not edit - generated code. | |
2745 | |
2746 @DocsEditable() | |
2747 @DomName('SVGFESpotLightElement') | |
2748 @SupportedBrowser(SupportedBrowser.CHROME) | |
2749 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
2750 @SupportedBrowser(SupportedBrowser.IE, '10') | |
2751 @SupportedBrowser(SupportedBrowser.SAFARI) | |
2752 @Unstable() | |
2753 class FESpotLightElement extends SvgElement { | |
2754 // To suppress missing implicit constructor warnings. | |
2755 factory FESpotLightElement._() { | |
2756 throw new UnsupportedError("Not supported"); | |
2757 } | |
2758 | |
2759 @DomName('SVGFESpotLightElement.SVGFESpotLightElement') | |
2760 @DocsEditable() | |
2761 factory FESpotLightElement() => | |
2762 _SvgElementFactoryProvider.createSvgElement_tag("feSpotLight"); | |
2763 | |
2764 @Deprecated("Internal Use Only") | |
2765 external static Type get instanceRuntimeType; | |
2766 | |
2767 @Deprecated("Internal Use Only") | |
2768 FESpotLightElement.internal_() : super.internal_(); | |
2769 | |
2770 /** | |
2771 * Constructor instantiated by the DOM when a custom element has been created. | |
2772 * | |
2773 * This can only be called by subclasses from their created constructor. | |
2774 */ | |
2775 FESpotLightElement.created() : super.created(); | |
2776 | |
2777 /// Checks if this type is supported on the current platform. | |
2778 static bool get supported => true; | |
2779 | |
2780 @DomName('SVGFESpotLightElement.limitingConeAngle') | |
2781 @DocsEditable() | |
2782 AnimatedNumber get limitingConeAngle => | |
2783 _blink.BlinkSVGFESpotLightElement.instance | |
2784 .limitingConeAngle_Getter_(this); | |
2785 | |
2786 @DomName('SVGFESpotLightElement.pointsAtX') | |
2787 @DocsEditable() | |
2788 AnimatedNumber get pointsAtX => | |
2789 _blink.BlinkSVGFESpotLightElement.instance.pointsAtX_Getter_(this); | |
2790 | |
2791 @DomName('SVGFESpotLightElement.pointsAtY') | |
2792 @DocsEditable() | |
2793 AnimatedNumber get pointsAtY => | |
2794 _blink.BlinkSVGFESpotLightElement.instance.pointsAtY_Getter_(this); | |
2795 | |
2796 @DomName('SVGFESpotLightElement.pointsAtZ') | |
2797 @DocsEditable() | |
2798 AnimatedNumber get pointsAtZ => | |
2799 _blink.BlinkSVGFESpotLightElement.instance.pointsAtZ_Getter_(this); | |
2800 | |
2801 @DomName('SVGFESpotLightElement.specularExponent') | |
2802 @DocsEditable() | |
2803 AnimatedNumber get specularExponent => | |
2804 _blink.BlinkSVGFESpotLightElement.instance.specularExponent_Getter_(this); | |
2805 | |
2806 @DomName('SVGFESpotLightElement.x') | |
2807 @DocsEditable() | |
2808 AnimatedNumber get x => | |
2809 _blink.BlinkSVGFESpotLightElement.instance.x_Getter_(this); | |
2810 | |
2811 @DomName('SVGFESpotLightElement.y') | |
2812 @DocsEditable() | |
2813 AnimatedNumber get y => | |
2814 _blink.BlinkSVGFESpotLightElement.instance.y_Getter_(this); | |
2815 | |
2816 @DomName('SVGFESpotLightElement.z') | |
2817 @DocsEditable() | |
2818 AnimatedNumber get z => | |
2819 _blink.BlinkSVGFESpotLightElement.instance.z_Getter_(this); | |
2820 } | |
2821 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2822 // for details. All rights reserved. Use of this source code is governed by a | |
2823 // BSD-style license that can be found in the LICENSE file. | |
2824 | |
2825 // WARNING: Do not edit - generated code. | |
2826 | |
2827 @DocsEditable() | |
2828 @DomName('SVGFETileElement') | |
2829 @SupportedBrowser(SupportedBrowser.CHROME) | |
2830 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
2831 @SupportedBrowser(SupportedBrowser.IE, '10') | |
2832 @SupportedBrowser(SupportedBrowser.SAFARI) | |
2833 @Unstable() | |
2834 class FETileElement extends SvgElement | |
2835 implements FilterPrimitiveStandardAttributes { | |
2836 // To suppress missing implicit constructor warnings. | |
2837 factory FETileElement._() { | |
2838 throw new UnsupportedError("Not supported"); | |
2839 } | |
2840 | |
2841 @DomName('SVGFETileElement.SVGFETileElement') | |
2842 @DocsEditable() | |
2843 factory FETileElement() => | |
2844 _SvgElementFactoryProvider.createSvgElement_tag("feTile"); | |
2845 | |
2846 @Deprecated("Internal Use Only") | |
2847 external static Type get instanceRuntimeType; | |
2848 | |
2849 @Deprecated("Internal Use Only") | |
2850 FETileElement.internal_() : super.internal_(); | |
2851 | |
2852 /** | |
2853 * Constructor instantiated by the DOM when a custom element has been created. | |
2854 * | |
2855 * This can only be called by subclasses from their created constructor. | |
2856 */ | |
2857 FETileElement.created() : super.created(); | |
2858 | |
2859 /// Checks if this type is supported on the current platform. | |
2860 static bool get supported => true; | |
2861 | |
2862 @DomName('SVGFETileElement.in1') | |
2863 @DocsEditable() | |
2864 AnimatedString get in1 => | |
2865 _blink.BlinkSVGFETileElement.instance.in1_Getter_(this); | |
2866 | |
2867 @DomName('SVGFETileElement.height') | |
2868 @DocsEditable() | |
2869 AnimatedLength get height => | |
2870 _blink.BlinkSVGFETileElement.instance.height_Getter_(this); | |
2871 | |
2872 @DomName('SVGFETileElement.result') | |
2873 @DocsEditable() | |
2874 AnimatedString get result => | |
2875 _blink.BlinkSVGFETileElement.instance.result_Getter_(this); | |
2876 | |
2877 @DomName('SVGFETileElement.width') | |
2878 @DocsEditable() | |
2879 AnimatedLength get width => | |
2880 _blink.BlinkSVGFETileElement.instance.width_Getter_(this); | |
2881 | |
2882 @DomName('SVGFETileElement.x') | |
2883 @DocsEditable() | |
2884 AnimatedLength get x => _blink.BlinkSVGFETileElement.instance.x_Getter_(this); | |
2885 | |
2886 @DomName('SVGFETileElement.y') | |
2887 @DocsEditable() | |
2888 AnimatedLength get y => _blink.BlinkSVGFETileElement.instance.y_Getter_(this); | |
2889 } | |
2890 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
2891 // for details. All rights reserved. Use of this source code is governed by a | |
2892 // BSD-style license that can be found in the LICENSE file. | |
2893 | |
2894 // WARNING: Do not edit - generated code. | |
2895 | |
2896 @DocsEditable() | |
2897 @DomName('SVGFETurbulenceElement') | |
2898 @SupportedBrowser(SupportedBrowser.CHROME) | |
2899 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
2900 @SupportedBrowser(SupportedBrowser.IE, '10') | |
2901 @SupportedBrowser(SupportedBrowser.SAFARI) | |
2902 @Unstable() | |
2903 class FETurbulenceElement extends SvgElement | |
2904 implements FilterPrimitiveStandardAttributes { | |
2905 // To suppress missing implicit constructor warnings. | |
2906 factory FETurbulenceElement._() { | |
2907 throw new UnsupportedError("Not supported"); | |
2908 } | |
2909 | |
2910 @DomName('SVGFETurbulenceElement.SVGFETurbulenceElement') | |
2911 @DocsEditable() | |
2912 factory FETurbulenceElement() => | |
2913 _SvgElementFactoryProvider.createSvgElement_tag("feTurbulence"); | |
2914 | |
2915 @Deprecated("Internal Use Only") | |
2916 external static Type get instanceRuntimeType; | |
2917 | |
2918 @Deprecated("Internal Use Only") | |
2919 FETurbulenceElement.internal_() : super.internal_(); | |
2920 | |
2921 /** | |
2922 * Constructor instantiated by the DOM when a custom element has been created. | |
2923 * | |
2924 * This can only be called by subclasses from their created constructor. | |
2925 */ | |
2926 FETurbulenceElement.created() : super.created(); | |
2927 | |
2928 /// Checks if this type is supported on the current platform. | |
2929 static bool get supported => true; | |
2930 | |
2931 @DomName('SVGFETurbulenceElement.SVG_STITCHTYPE_NOSTITCH') | |
2932 @DocsEditable() | |
2933 static const int SVG_STITCHTYPE_NOSTITCH = 2; | |
2934 | |
2935 @DomName('SVGFETurbulenceElement.SVG_STITCHTYPE_STITCH') | |
2936 @DocsEditable() | |
2937 static const int SVG_STITCHTYPE_STITCH = 1; | |
2938 | |
2939 @DomName('SVGFETurbulenceElement.SVG_STITCHTYPE_UNKNOWN') | |
2940 @DocsEditable() | |
2941 static const int SVG_STITCHTYPE_UNKNOWN = 0; | |
2942 | |
2943 @DomName('SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_FRACTALNOISE') | |
2944 @DocsEditable() | |
2945 static const int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1; | |
2946 | |
2947 @DomName('SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_TURBULENCE') | |
2948 @DocsEditable() | |
2949 static const int SVG_TURBULENCE_TYPE_TURBULENCE = 2; | |
2950 | |
2951 @DomName('SVGFETurbulenceElement.SVG_TURBULENCE_TYPE_UNKNOWN') | |
2952 @DocsEditable() | |
2953 static const int SVG_TURBULENCE_TYPE_UNKNOWN = 0; | |
2954 | |
2955 @DomName('SVGFETurbulenceElement.baseFrequencyX') | |
2956 @DocsEditable() | |
2957 AnimatedNumber get baseFrequencyX => | |
2958 _blink.BlinkSVGFETurbulenceElement.instance.baseFrequencyX_Getter_(this); | |
2959 | |
2960 @DomName('SVGFETurbulenceElement.baseFrequencyY') | |
2961 @DocsEditable() | |
2962 AnimatedNumber get baseFrequencyY => | |
2963 _blink.BlinkSVGFETurbulenceElement.instance.baseFrequencyY_Getter_(this); | |
2964 | |
2965 @DomName('SVGFETurbulenceElement.numOctaves') | |
2966 @DocsEditable() | |
2967 AnimatedInteger get numOctaves => | |
2968 _blink.BlinkSVGFETurbulenceElement.instance.numOctaves_Getter_(this); | |
2969 | |
2970 @DomName('SVGFETurbulenceElement.seed') | |
2971 @DocsEditable() | |
2972 AnimatedNumber get seed => | |
2973 _blink.BlinkSVGFETurbulenceElement.instance.seed_Getter_(this); | |
2974 | |
2975 @DomName('SVGFETurbulenceElement.stitchTiles') | |
2976 @DocsEditable() | |
2977 AnimatedEnumeration get stitchTiles => | |
2978 _blink.BlinkSVGFETurbulenceElement.instance.stitchTiles_Getter_(this); | |
2979 | |
2980 @DomName('SVGFETurbulenceElement.type') | |
2981 @DocsEditable() | |
2982 AnimatedEnumeration get type => | |
2983 _blink.BlinkSVGFETurbulenceElement.instance.type_Getter_(this); | |
2984 | |
2985 @DomName('SVGFETurbulenceElement.height') | |
2986 @DocsEditable() | |
2987 AnimatedLength get height => | |
2988 _blink.BlinkSVGFETurbulenceElement.instance.height_Getter_(this); | |
2989 | |
2990 @DomName('SVGFETurbulenceElement.result') | |
2991 @DocsEditable() | |
2992 AnimatedString get result => | |
2993 _blink.BlinkSVGFETurbulenceElement.instance.result_Getter_(this); | |
2994 | |
2995 @DomName('SVGFETurbulenceElement.width') | |
2996 @DocsEditable() | |
2997 AnimatedLength get width => | |
2998 _blink.BlinkSVGFETurbulenceElement.instance.width_Getter_(this); | |
2999 | |
3000 @DomName('SVGFETurbulenceElement.x') | |
3001 @DocsEditable() | |
3002 AnimatedLength get x => | |
3003 _blink.BlinkSVGFETurbulenceElement.instance.x_Getter_(this); | |
3004 | |
3005 @DomName('SVGFETurbulenceElement.y') | |
3006 @DocsEditable() | |
3007 AnimatedLength get y => | |
3008 _blink.BlinkSVGFETurbulenceElement.instance.y_Getter_(this); | |
3009 } | |
3010 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3011 // for details. All rights reserved. Use of this source code is governed by a | |
3012 // BSD-style license that can be found in the LICENSE file. | |
3013 | |
3014 // WARNING: Do not edit - generated code. | |
3015 | |
3016 @DocsEditable() | |
3017 @DomName('SVGFilterElement') | |
3018 @SupportedBrowser(SupportedBrowser.CHROME) | |
3019 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
3020 @SupportedBrowser(SupportedBrowser.IE, '10') | |
3021 @SupportedBrowser(SupportedBrowser.SAFARI) | |
3022 @Unstable() | |
3023 class FilterElement extends SvgElement implements UriReference { | |
3024 // To suppress missing implicit constructor warnings. | |
3025 factory FilterElement._() { | |
3026 throw new UnsupportedError("Not supported"); | |
3027 } | |
3028 | |
3029 @DomName('SVGFilterElement.SVGFilterElement') | |
3030 @DocsEditable() | |
3031 factory FilterElement() => | |
3032 _SvgElementFactoryProvider.createSvgElement_tag("filter"); | |
3033 | |
3034 @Deprecated("Internal Use Only") | |
3035 external static Type get instanceRuntimeType; | |
3036 | |
3037 @Deprecated("Internal Use Only") | |
3038 FilterElement.internal_() : super.internal_(); | |
3039 | |
3040 /** | |
3041 * Constructor instantiated by the DOM when a custom element has been created. | |
3042 * | |
3043 * This can only be called by subclasses from their created constructor. | |
3044 */ | |
3045 FilterElement.created() : super.created(); | |
3046 | |
3047 /// Checks if this type is supported on the current platform. | |
3048 static bool get supported => true; | |
3049 | |
3050 @DomName('SVGFilterElement.filterUnits') | |
3051 @DocsEditable() | |
3052 AnimatedEnumeration get filterUnits => | |
3053 _blink.BlinkSVGFilterElement.instance.filterUnits_Getter_(this); | |
3054 | |
3055 @DomName('SVGFilterElement.height') | |
3056 @DocsEditable() | |
3057 AnimatedLength get height => | |
3058 _blink.BlinkSVGFilterElement.instance.height_Getter_(this); | |
3059 | |
3060 @DomName('SVGFilterElement.primitiveUnits') | |
3061 @DocsEditable() | |
3062 AnimatedEnumeration get primitiveUnits => | |
3063 _blink.BlinkSVGFilterElement.instance.primitiveUnits_Getter_(this); | |
3064 | |
3065 @DomName('SVGFilterElement.width') | |
3066 @DocsEditable() | |
3067 AnimatedLength get width => | |
3068 _blink.BlinkSVGFilterElement.instance.width_Getter_(this); | |
3069 | |
3070 @DomName('SVGFilterElement.x') | |
3071 @DocsEditable() | |
3072 AnimatedLength get x => _blink.BlinkSVGFilterElement.instance.x_Getter_(this); | |
3073 | |
3074 @DomName('SVGFilterElement.y') | |
3075 @DocsEditable() | |
3076 AnimatedLength get y => _blink.BlinkSVGFilterElement.instance.y_Getter_(this); | |
3077 | |
3078 @DomName('SVGFilterElement.href') | |
3079 @DocsEditable() | |
3080 AnimatedString get href => | |
3081 _blink.BlinkSVGFilterElement.instance.href_Getter_(this); | |
3082 } | |
3083 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3084 // for details. All rights reserved. Use of this source code is governed by a | |
3085 // BSD-style license that can be found in the LICENSE file. | |
3086 | |
3087 // WARNING: Do not edit - generated code. | |
3088 | |
3089 @DocsEditable() | |
3090 @DomName('SVGFilterPrimitiveStandardAttributes') | |
3091 @Unstable() | |
3092 abstract class FilterPrimitiveStandardAttributes extends DartHtmlDomObject { | |
3093 // To suppress missing implicit constructor warnings. | |
3094 factory FilterPrimitiveStandardAttributes._() { | |
3095 throw new UnsupportedError("Not supported"); | |
3096 } | |
3097 | |
3098 @DomName('SVGFilterPrimitiveStandardAttributes.height') | |
3099 @DocsEditable() | |
3100 AnimatedLength get height; | |
3101 | |
3102 @DomName('SVGFilterPrimitiveStandardAttributes.result') | |
3103 @DocsEditable() | |
3104 AnimatedString get result; | |
3105 | |
3106 @DomName('SVGFilterPrimitiveStandardAttributes.width') | |
3107 @DocsEditable() | |
3108 AnimatedLength get width; | |
3109 | |
3110 @DomName('SVGFilterPrimitiveStandardAttributes.x') | |
3111 @DocsEditable() | |
3112 AnimatedLength get x; | |
3113 | |
3114 @DomName('SVGFilterPrimitiveStandardAttributes.y') | |
3115 @DocsEditable() | |
3116 AnimatedLength get y; | |
3117 } | |
3118 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3119 // for details. All rights reserved. Use of this source code is governed by a | |
3120 // BSD-style license that can be found in the LICENSE file. | |
3121 | |
3122 // WARNING: Do not edit - generated code. | |
3123 | |
3124 @DocsEditable() | |
3125 @DomName('SVGFitToViewBox') | |
3126 @Unstable() | |
3127 abstract class FitToViewBox extends DartHtmlDomObject { | |
3128 // To suppress missing implicit constructor warnings. | |
3129 factory FitToViewBox._() { | |
3130 throw new UnsupportedError("Not supported"); | |
3131 } | |
3132 | |
3133 @DomName('SVGFitToViewBox.preserveAspectRatio') | |
3134 @DocsEditable() | |
3135 AnimatedPreserveAspectRatio get preserveAspectRatio; | |
3136 | |
3137 @DomName('SVGFitToViewBox.viewBox') | |
3138 @DocsEditable() | |
3139 AnimatedRect get viewBox; | |
3140 } | |
3141 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3142 // for details. All rights reserved. Use of this source code is governed by a | |
3143 // BSD-style license that can be found in the LICENSE file. | |
3144 | |
3145 // WARNING: Do not edit - generated code. | |
3146 | |
3147 @DocsEditable() | |
3148 @DomName('SVGForeignObjectElement') | |
3149 @SupportedBrowser(SupportedBrowser.CHROME) | |
3150 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
3151 @SupportedBrowser(SupportedBrowser.SAFARI) | |
3152 @Unstable() | |
3153 class ForeignObjectElement extends GraphicsElement { | |
3154 // To suppress missing implicit constructor warnings. | |
3155 factory ForeignObjectElement._() { | |
3156 throw new UnsupportedError("Not supported"); | |
3157 } | |
3158 | |
3159 @DomName('SVGForeignObjectElement.SVGForeignObjectElement') | |
3160 @DocsEditable() | |
3161 factory ForeignObjectElement() => | |
3162 _SvgElementFactoryProvider.createSvgElement_tag("foreignObject"); | |
3163 | |
3164 @Deprecated("Internal Use Only") | |
3165 external static Type get instanceRuntimeType; | |
3166 | |
3167 @Deprecated("Internal Use Only") | |
3168 ForeignObjectElement.internal_() : super.internal_(); | |
3169 | |
3170 /** | |
3171 * Constructor instantiated by the DOM when a custom element has been created. | |
3172 * | |
3173 * This can only be called by subclasses from their created constructor. | |
3174 */ | |
3175 ForeignObjectElement.created() : super.created(); | |
3176 | |
3177 /// Checks if this type is supported on the current platform. | |
3178 static bool get supported => true; | |
3179 | |
3180 @DomName('SVGForeignObjectElement.height') | |
3181 @DocsEditable() | |
3182 AnimatedLength get height => | |
3183 _blink.BlinkSVGForeignObjectElement.instance.height_Getter_(this); | |
3184 | |
3185 @DomName('SVGForeignObjectElement.width') | |
3186 @DocsEditable() | |
3187 AnimatedLength get width => | |
3188 _blink.BlinkSVGForeignObjectElement.instance.width_Getter_(this); | |
3189 | |
3190 @DomName('SVGForeignObjectElement.x') | |
3191 @DocsEditable() | |
3192 AnimatedLength get x => | |
3193 _blink.BlinkSVGForeignObjectElement.instance.x_Getter_(this); | |
3194 | |
3195 @DomName('SVGForeignObjectElement.y') | |
3196 @DocsEditable() | |
3197 AnimatedLength get y => | |
3198 _blink.BlinkSVGForeignObjectElement.instance.y_Getter_(this); | |
3199 } | |
3200 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3201 // for details. All rights reserved. Use of this source code is governed by a | |
3202 // BSD-style license that can be found in the LICENSE file. | |
3203 | |
3204 // WARNING: Do not edit - generated code. | |
3205 | |
3206 @DocsEditable() | |
3207 @DomName('SVGGElement') | |
3208 @Unstable() | |
3209 class GElement extends GraphicsElement { | |
3210 // To suppress missing implicit constructor warnings. | |
3211 factory GElement._() { | |
3212 throw new UnsupportedError("Not supported"); | |
3213 } | |
3214 | |
3215 @DomName('SVGGElement.SVGGElement') | |
3216 @DocsEditable() | |
3217 factory GElement() => _SvgElementFactoryProvider.createSvgElement_tag("g"); | |
3218 | |
3219 @Deprecated("Internal Use Only") | |
3220 external static Type get instanceRuntimeType; | |
3221 | |
3222 @Deprecated("Internal Use Only") | |
3223 GElement.internal_() : super.internal_(); | |
3224 | |
3225 /** | |
3226 * Constructor instantiated by the DOM when a custom element has been created. | |
3227 * | |
3228 * This can only be called by subclasses from their created constructor. | |
3229 */ | |
3230 GElement.created() : super.created(); | |
3231 } | |
3232 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3233 // for details. All rights reserved. Use of this source code is governed by a | |
3234 // BSD-style license that can be found in the LICENSE file. | |
3235 | |
3236 // WARNING: Do not edit - generated code. | |
3237 | |
3238 @DocsEditable() | |
3239 @DomName('SVGGeometryElement') | |
3240 @Experimental() // untriaged | |
3241 class GeometryElement extends GraphicsElement { | |
3242 // To suppress missing implicit constructor warnings. | |
3243 factory GeometryElement._() { | |
3244 throw new UnsupportedError("Not supported"); | |
3245 } | |
3246 | |
3247 @Deprecated("Internal Use Only") | |
3248 external static Type get instanceRuntimeType; | |
3249 | |
3250 @Deprecated("Internal Use Only") | |
3251 GeometryElement.internal_() : super.internal_(); | |
3252 | |
3253 /** | |
3254 * Constructor instantiated by the DOM when a custom element has been created. | |
3255 * | |
3256 * This can only be called by subclasses from their created constructor. | |
3257 */ | |
3258 GeometryElement.created() : super.created(); | |
3259 | |
3260 @DomName('SVGGeometryElement.isPointInFill') | |
3261 @DocsEditable() | |
3262 @Experimental() // untriaged | |
3263 bool isPointInFill(Point point) => _blink.BlinkSVGGeometryElement.instance | |
3264 .isPointInFill_Callback_1_(this, point); | |
3265 | |
3266 @DomName('SVGGeometryElement.isPointInStroke') | |
3267 @DocsEditable() | |
3268 @Experimental() // untriaged | |
3269 bool isPointInStroke(Point point) => _blink.BlinkSVGGeometryElement.instance | |
3270 .isPointInStroke_Callback_1_(this, point); | |
3271 } | |
3272 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3273 // for details. All rights reserved. Use of this source code is governed by a | |
3274 // BSD-style license that can be found in the LICENSE file. | |
3275 | |
3276 // WARNING: Do not edit - generated code. | |
3277 | |
3278 @DocsEditable() | |
3279 @DomName('SVGGraphicsElement') | |
3280 @Experimental() // untriaged | |
3281 class GraphicsElement extends SvgElement implements Tests { | |
3282 // To suppress missing implicit constructor warnings. | |
3283 factory GraphicsElement._() { | |
3284 throw new UnsupportedError("Not supported"); | |
3285 } | |
3286 | |
3287 @Deprecated("Internal Use Only") | |
3288 external static Type get instanceRuntimeType; | |
3289 | |
3290 @Deprecated("Internal Use Only") | |
3291 GraphicsElement.internal_() : super.internal_(); | |
3292 | |
3293 /** | |
3294 * Constructor instantiated by the DOM when a custom element has been created. | |
3295 * | |
3296 * This can only be called by subclasses from their created constructor. | |
3297 */ | |
3298 GraphicsElement.created() : super.created(); | |
3299 | |
3300 @DomName('SVGGraphicsElement.farthestViewportElement') | |
3301 @DocsEditable() | |
3302 @Experimental() // untriaged | |
3303 SvgElement get farthestViewportElement => | |
3304 _blink.BlinkSVGGraphicsElement.instance | |
3305 .farthestViewportElement_Getter_(this); | |
3306 | |
3307 @DomName('SVGGraphicsElement.nearestViewportElement') | |
3308 @DocsEditable() | |
3309 @Experimental() // untriaged | |
3310 SvgElement get nearestViewportElement => | |
3311 _blink.BlinkSVGGraphicsElement.instance | |
3312 .nearestViewportElement_Getter_(this); | |
3313 | |
3314 @DomName('SVGGraphicsElement.transform') | |
3315 @DocsEditable() | |
3316 @Experimental() // untriaged | |
3317 AnimatedTransformList get transform => | |
3318 _blink.BlinkSVGGraphicsElement.instance.transform_Getter_(this); | |
3319 | |
3320 @DomName('SVGGraphicsElement.getBBox') | |
3321 @DocsEditable() | |
3322 @Experimental() // untriaged | |
3323 Rect getBBox() => | |
3324 _blink.BlinkSVGGraphicsElement.instance.getBBox_Callback_0_(this); | |
3325 | |
3326 @DomName('SVGGraphicsElement.getCTM') | |
3327 @DocsEditable() | |
3328 @Experimental() // untriaged | |
3329 Matrix getCtm() => | |
3330 _blink.BlinkSVGGraphicsElement.instance.getCTM_Callback_0_(this); | |
3331 | |
3332 @DomName('SVGGraphicsElement.getScreenCTM') | |
3333 @DocsEditable() | |
3334 @Experimental() // untriaged | |
3335 Matrix getScreenCtm() => | |
3336 _blink.BlinkSVGGraphicsElement.instance.getScreenCTM_Callback_0_(this); | |
3337 | |
3338 @DomName('SVGGraphicsElement.requiredExtensions') | |
3339 @DocsEditable() | |
3340 @Experimental() // untriaged | |
3341 StringList get requiredExtensions => | |
3342 _blink.BlinkSVGGraphicsElement.instance.requiredExtensions_Getter_(this); | |
3343 | |
3344 @DomName('SVGGraphicsElement.requiredFeatures') | |
3345 @DocsEditable() | |
3346 @Experimental() // untriaged | |
3347 StringList get requiredFeatures => | |
3348 _blink.BlinkSVGGraphicsElement.instance.requiredFeatures_Getter_(this); | |
3349 | |
3350 @DomName('SVGGraphicsElement.systemLanguage') | |
3351 @DocsEditable() | |
3352 @Experimental() // untriaged | |
3353 StringList get systemLanguage => | |
3354 _blink.BlinkSVGGraphicsElement.instance.systemLanguage_Getter_(this); | |
3355 } | |
3356 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3357 // for details. All rights reserved. Use of this source code is governed by a | |
3358 // BSD-style license that can be found in the LICENSE file. | |
3359 | |
3360 // WARNING: Do not edit - generated code. | |
3361 | |
3362 @DocsEditable() | |
3363 @DomName('SVGImageElement') | |
3364 @Unstable() | |
3365 class ImageElement extends GraphicsElement implements UriReference { | |
3366 // To suppress missing implicit constructor warnings. | |
3367 factory ImageElement._() { | |
3368 throw new UnsupportedError("Not supported"); | |
3369 } | |
3370 | |
3371 @DomName('SVGImageElement.SVGImageElement') | |
3372 @DocsEditable() | |
3373 factory ImageElement() => | |
3374 _SvgElementFactoryProvider.createSvgElement_tag("image"); | |
3375 | |
3376 @Deprecated("Internal Use Only") | |
3377 external static Type get instanceRuntimeType; | |
3378 | |
3379 @Deprecated("Internal Use Only") | |
3380 ImageElement.internal_() : super.internal_(); | |
3381 | |
3382 /** | |
3383 * Constructor instantiated by the DOM when a custom element has been created. | |
3384 * | |
3385 * This can only be called by subclasses from their created constructor. | |
3386 */ | |
3387 ImageElement.created() : super.created(); | |
3388 | |
3389 @DomName('SVGImageElement.height') | |
3390 @DocsEditable() | |
3391 AnimatedLength get height => | |
3392 _blink.BlinkSVGImageElement.instance.height_Getter_(this); | |
3393 | |
3394 @DomName('SVGImageElement.preserveAspectRatio') | |
3395 @DocsEditable() | |
3396 AnimatedPreserveAspectRatio get preserveAspectRatio => | |
3397 _blink.BlinkSVGImageElement.instance.preserveAspectRatio_Getter_(this); | |
3398 | |
3399 @DomName('SVGImageElement.width') | |
3400 @DocsEditable() | |
3401 AnimatedLength get width => | |
3402 _blink.BlinkSVGImageElement.instance.width_Getter_(this); | |
3403 | |
3404 @DomName('SVGImageElement.x') | |
3405 @DocsEditable() | |
3406 AnimatedLength get x => _blink.BlinkSVGImageElement.instance.x_Getter_(this); | |
3407 | |
3408 @DomName('SVGImageElement.y') | |
3409 @DocsEditable() | |
3410 AnimatedLength get y => _blink.BlinkSVGImageElement.instance.y_Getter_(this); | |
3411 | |
3412 @DomName('SVGImageElement.href') | |
3413 @DocsEditable() | |
3414 AnimatedString get href => | |
3415 _blink.BlinkSVGImageElement.instance.href_Getter_(this); | |
3416 } | |
3417 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3418 // for details. All rights reserved. Use of this source code is governed by a | |
3419 // BSD-style license that can be found in the LICENSE file. | |
3420 | |
3421 // WARNING: Do not edit - generated code. | |
3422 | |
3423 @DocsEditable() | |
3424 @DomName('SVGLength') | |
3425 @Unstable() | |
3426 class Length extends DartHtmlDomObject { | |
3427 // To suppress missing implicit constructor warnings. | |
3428 factory Length._() { | |
3429 throw new UnsupportedError("Not supported"); | |
3430 } | |
3431 | |
3432 @Deprecated("Internal Use Only") | |
3433 external static Type get instanceRuntimeType; | |
3434 | |
3435 @Deprecated("Internal Use Only") | |
3436 Length.internal_() {} | |
3437 | |
3438 @DomName('SVGLength.SVG_LENGTHTYPE_CM') | |
3439 @DocsEditable() | |
3440 static const int SVG_LENGTHTYPE_CM = 6; | |
3441 | |
3442 @DomName('SVGLength.SVG_LENGTHTYPE_EMS') | |
3443 @DocsEditable() | |
3444 static const int SVG_LENGTHTYPE_EMS = 3; | |
3445 | |
3446 @DomName('SVGLength.SVG_LENGTHTYPE_EXS') | |
3447 @DocsEditable() | |
3448 static const int SVG_LENGTHTYPE_EXS = 4; | |
3449 | |
3450 @DomName('SVGLength.SVG_LENGTHTYPE_IN') | |
3451 @DocsEditable() | |
3452 static const int SVG_LENGTHTYPE_IN = 8; | |
3453 | |
3454 @DomName('SVGLength.SVG_LENGTHTYPE_MM') | |
3455 @DocsEditable() | |
3456 static const int SVG_LENGTHTYPE_MM = 7; | |
3457 | |
3458 @DomName('SVGLength.SVG_LENGTHTYPE_NUMBER') | |
3459 @DocsEditable() | |
3460 static const int SVG_LENGTHTYPE_NUMBER = 1; | |
3461 | |
3462 @DomName('SVGLength.SVG_LENGTHTYPE_PC') | |
3463 @DocsEditable() | |
3464 static const int SVG_LENGTHTYPE_PC = 10; | |
3465 | |
3466 @DomName('SVGLength.SVG_LENGTHTYPE_PERCENTAGE') | |
3467 @DocsEditable() | |
3468 static const int SVG_LENGTHTYPE_PERCENTAGE = 2; | |
3469 | |
3470 @DomName('SVGLength.SVG_LENGTHTYPE_PT') | |
3471 @DocsEditable() | |
3472 static const int SVG_LENGTHTYPE_PT = 9; | |
3473 | |
3474 @DomName('SVGLength.SVG_LENGTHTYPE_PX') | |
3475 @DocsEditable() | |
3476 static const int SVG_LENGTHTYPE_PX = 5; | |
3477 | |
3478 @DomName('SVGLength.SVG_LENGTHTYPE_UNKNOWN') | |
3479 @DocsEditable() | |
3480 static const int SVG_LENGTHTYPE_UNKNOWN = 0; | |
3481 | |
3482 @DomName('SVGLength.unitType') | |
3483 @DocsEditable() | |
3484 int get unitType => _blink.BlinkSVGLength.instance.unitType_Getter_(this); | |
3485 | |
3486 @DomName('SVGLength.value') | |
3487 @DocsEditable() | |
3488 num get value => _blink.BlinkSVGLength.instance.value_Getter_(this); | |
3489 | |
3490 @DomName('SVGLength.value') | |
3491 @DocsEditable() | |
3492 set value(num value) => | |
3493 _blink.BlinkSVGLength.instance.value_Setter_(this, value); | |
3494 | |
3495 @DomName('SVGLength.valueAsString') | |
3496 @DocsEditable() | |
3497 String get valueAsString => | |
3498 _blink.BlinkSVGLength.instance.valueAsString_Getter_(this); | |
3499 | |
3500 @DomName('SVGLength.valueAsString') | |
3501 @DocsEditable() | |
3502 set valueAsString(String value) => | |
3503 _blink.BlinkSVGLength.instance.valueAsString_Setter_(this, value); | |
3504 | |
3505 @DomName('SVGLength.valueInSpecifiedUnits') | |
3506 @DocsEditable() | |
3507 num get valueInSpecifiedUnits => | |
3508 _blink.BlinkSVGLength.instance.valueInSpecifiedUnits_Getter_(this); | |
3509 | |
3510 @DomName('SVGLength.valueInSpecifiedUnits') | |
3511 @DocsEditable() | |
3512 set valueInSpecifiedUnits(num value) => | |
3513 _blink.BlinkSVGLength.instance.valueInSpecifiedUnits_Setter_(this, value); | |
3514 | |
3515 @DomName('SVGLength.convertToSpecifiedUnits') | |
3516 @DocsEditable() | |
3517 void convertToSpecifiedUnits(int unitType) => _blink.BlinkSVGLength.instance | |
3518 .convertToSpecifiedUnits_Callback_1_(this, unitType); | |
3519 | |
3520 @DomName('SVGLength.newValueSpecifiedUnits') | |
3521 @DocsEditable() | |
3522 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) => | |
3523 _blink.BlinkSVGLength.instance.newValueSpecifiedUnits_Callback_2_( | |
3524 this, unitType, valueInSpecifiedUnits); | |
3525 } | |
3526 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3527 // for details. All rights reserved. Use of this source code is governed by a | |
3528 // BSD-style license that can be found in the LICENSE file. | |
3529 | |
3530 // WARNING: Do not edit - generated code. | |
3531 | |
3532 @DocsEditable() | |
3533 @DomName('SVGLengthList') | |
3534 @Unstable() | |
3535 class LengthList extends DartHtmlDomObject | |
3536 with ListMixin<Length>, ImmutableListMixin<Length> | |
3537 implements List<Length> { | |
3538 // To suppress missing implicit constructor warnings. | |
3539 factory LengthList._() { | |
3540 throw new UnsupportedError("Not supported"); | |
3541 } | |
3542 | |
3543 @Deprecated("Internal Use Only") | |
3544 external static Type get instanceRuntimeType; | |
3545 | |
3546 @Deprecated("Internal Use Only") | |
3547 LengthList.internal_() {} | |
3548 | |
3549 @DomName('SVGLengthList.length') | |
3550 @DocsEditable() | |
3551 @Experimental() // untriaged | |
3552 int get length => _blink.BlinkSVGLengthList.instance.length_Getter_(this); | |
3553 | |
3554 @DomName('SVGLengthList.numberOfItems') | |
3555 @DocsEditable() | |
3556 int get numberOfItems => | |
3557 _blink.BlinkSVGLengthList.instance.numberOfItems_Getter_(this); | |
3558 | |
3559 Length operator [](int index) { | |
3560 if (index < 0 || index >= length) throw new RangeError.index(index, this); | |
3561 return getItem(index); | |
3562 } | |
3563 | |
3564 void operator []=(int index, Length value) { | |
3565 throw new UnsupportedError("Cannot assign element of immutable List."); | |
3566 } | |
3567 // -- start List<Length> mixins. | |
3568 // Length is the element type. | |
3569 | |
3570 set length(int value) { | |
3571 throw new UnsupportedError("Cannot resize immutable List."); | |
3572 } | |
3573 | |
3574 Length get first { | |
3575 if (this.length > 0) { | |
3576 return getItem(0); | |
3577 } | |
3578 throw new StateError("No elements"); | |
3579 } | |
3580 | |
3581 Length get last { | |
3582 int len = this.length; | |
3583 if (len > 0) { | |
3584 return getItem(len - 1); | |
3585 } | |
3586 throw new StateError("No elements"); | |
3587 } | |
3588 | |
3589 Length get single { | |
3590 int len = this.length; | |
3591 if (len == 1) { | |
3592 return getItem(0); | |
3593 } | |
3594 if (len == 0) throw new StateError("No elements"); | |
3595 throw new StateError("More than one element"); | |
3596 } | |
3597 | |
3598 Length elementAt(int index) => this[index]; | |
3599 // -- end List<Length> mixins. | |
3600 | |
3601 @DomName('SVGLengthList.__setter__') | |
3602 @DocsEditable() | |
3603 @Experimental() // untriaged | |
3604 void __setter__(int index, Length newItem) => | |
3605 _blink.BlinkSVGLengthList.instance | |
3606 .$__setter___Callback_2_(this, index, newItem); | |
3607 | |
3608 @DomName('SVGLengthList.appendItem') | |
3609 @DocsEditable() | |
3610 Length appendItem(Length newItem) => | |
3611 _blink.BlinkSVGLengthList.instance.appendItem_Callback_1_(this, newItem); | |
3612 | |
3613 @DomName('SVGLengthList.clear') | |
3614 @DocsEditable() | |
3615 void clear() => _blink.BlinkSVGLengthList.instance.clear_Callback_0_(this); | |
3616 | |
3617 @DomName('SVGLengthList.getItem') | |
3618 @DocsEditable() | |
3619 Length getItem(int index) => | |
3620 _blink.BlinkSVGLengthList.instance.getItem_Callback_1_(this, index); | |
3621 | |
3622 @DomName('SVGLengthList.initialize') | |
3623 @DocsEditable() | |
3624 Length initialize(Length newItem) => | |
3625 _blink.BlinkSVGLengthList.instance.initialize_Callback_1_(this, newItem); | |
3626 | |
3627 @DomName('SVGLengthList.insertItemBefore') | |
3628 @DocsEditable() | |
3629 Length insertItemBefore(Length newItem, int index) => | |
3630 _blink.BlinkSVGLengthList.instance | |
3631 .insertItemBefore_Callback_2_(this, newItem, index); | |
3632 | |
3633 @DomName('SVGLengthList.removeItem') | |
3634 @DocsEditable() | |
3635 Length removeItem(int index) => | |
3636 _blink.BlinkSVGLengthList.instance.removeItem_Callback_1_(this, index); | |
3637 | |
3638 @DomName('SVGLengthList.replaceItem') | |
3639 @DocsEditable() | |
3640 Length replaceItem(Length newItem, int index) => | |
3641 _blink.BlinkSVGLengthList.instance | |
3642 .replaceItem_Callback_2_(this, newItem, index); | |
3643 } | |
3644 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3645 // for details. All rights reserved. Use of this source code is governed by a | |
3646 // BSD-style license that can be found in the LICENSE file. | |
3647 | |
3648 // WARNING: Do not edit - generated code. | |
3649 | |
3650 @DocsEditable() | |
3651 @DomName('SVGLineElement') | |
3652 @Unstable() | |
3653 class LineElement extends GeometryElement { | |
3654 // To suppress missing implicit constructor warnings. | |
3655 factory LineElement._() { | |
3656 throw new UnsupportedError("Not supported"); | |
3657 } | |
3658 | |
3659 @DomName('SVGLineElement.SVGLineElement') | |
3660 @DocsEditable() | |
3661 factory LineElement() => | |
3662 _SvgElementFactoryProvider.createSvgElement_tag("line"); | |
3663 | |
3664 @Deprecated("Internal Use Only") | |
3665 external static Type get instanceRuntimeType; | |
3666 | |
3667 @Deprecated("Internal Use Only") | |
3668 LineElement.internal_() : super.internal_(); | |
3669 | |
3670 /** | |
3671 * Constructor instantiated by the DOM when a custom element has been created. | |
3672 * | |
3673 * This can only be called by subclasses from their created constructor. | |
3674 */ | |
3675 LineElement.created() : super.created(); | |
3676 | |
3677 @DomName('SVGLineElement.x1') | |
3678 @DocsEditable() | |
3679 AnimatedLength get x1 => _blink.BlinkSVGLineElement.instance.x1_Getter_(this); | |
3680 | |
3681 @DomName('SVGLineElement.x2') | |
3682 @DocsEditable() | |
3683 AnimatedLength get x2 => _blink.BlinkSVGLineElement.instance.x2_Getter_(this); | |
3684 | |
3685 @DomName('SVGLineElement.y1') | |
3686 @DocsEditable() | |
3687 AnimatedLength get y1 => _blink.BlinkSVGLineElement.instance.y1_Getter_(this); | |
3688 | |
3689 @DomName('SVGLineElement.y2') | |
3690 @DocsEditable() | |
3691 AnimatedLength get y2 => _blink.BlinkSVGLineElement.instance.y2_Getter_(this); | |
3692 } | |
3693 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3694 // for details. All rights reserved. Use of this source code is governed by a | |
3695 // BSD-style license that can be found in the LICENSE file. | |
3696 | |
3697 // WARNING: Do not edit - generated code. | |
3698 | |
3699 @DocsEditable() | |
3700 @DomName('SVGLinearGradientElement') | |
3701 @Unstable() | |
3702 class LinearGradientElement extends _GradientElement { | |
3703 // To suppress missing implicit constructor warnings. | |
3704 factory LinearGradientElement._() { | |
3705 throw new UnsupportedError("Not supported"); | |
3706 } | |
3707 | |
3708 @DomName('SVGLinearGradientElement.SVGLinearGradientElement') | |
3709 @DocsEditable() | |
3710 factory LinearGradientElement() => | |
3711 _SvgElementFactoryProvider.createSvgElement_tag("linearGradient"); | |
3712 | |
3713 @Deprecated("Internal Use Only") | |
3714 external static Type get instanceRuntimeType; | |
3715 | |
3716 @Deprecated("Internal Use Only") | |
3717 LinearGradientElement.internal_() : super.internal_(); | |
3718 | |
3719 /** | |
3720 * Constructor instantiated by the DOM when a custom element has been created. | |
3721 * | |
3722 * This can only be called by subclasses from their created constructor. | |
3723 */ | |
3724 LinearGradientElement.created() : super.created(); | |
3725 | |
3726 @DomName('SVGLinearGradientElement.x1') | |
3727 @DocsEditable() | |
3728 AnimatedLength get x1 => | |
3729 _blink.BlinkSVGLinearGradientElement.instance.x1_Getter_(this); | |
3730 | |
3731 @DomName('SVGLinearGradientElement.x2') | |
3732 @DocsEditable() | |
3733 AnimatedLength get x2 => | |
3734 _blink.BlinkSVGLinearGradientElement.instance.x2_Getter_(this); | |
3735 | |
3736 @DomName('SVGLinearGradientElement.y1') | |
3737 @DocsEditable() | |
3738 AnimatedLength get y1 => | |
3739 _blink.BlinkSVGLinearGradientElement.instance.y1_Getter_(this); | |
3740 | |
3741 @DomName('SVGLinearGradientElement.y2') | |
3742 @DocsEditable() | |
3743 AnimatedLength get y2 => | |
3744 _blink.BlinkSVGLinearGradientElement.instance.y2_Getter_(this); | |
3745 } | |
3746 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3747 // for details. All rights reserved. Use of this source code is governed by a | |
3748 // BSD-style license that can be found in the LICENSE file. | |
3749 | |
3750 // WARNING: Do not edit - generated code. | |
3751 | |
3752 @DocsEditable() | |
3753 @DomName('SVGMarkerElement') | |
3754 @Unstable() | |
3755 class MarkerElement extends SvgElement implements FitToViewBox { | |
3756 // To suppress missing implicit constructor warnings. | |
3757 factory MarkerElement._() { | |
3758 throw new UnsupportedError("Not supported"); | |
3759 } | |
3760 | |
3761 @DomName('SVGMarkerElement.SVGMarkerElement') | |
3762 @DocsEditable() | |
3763 factory MarkerElement() => | |
3764 _SvgElementFactoryProvider.createSvgElement_tag("marker"); | |
3765 | |
3766 @Deprecated("Internal Use Only") | |
3767 external static Type get instanceRuntimeType; | |
3768 | |
3769 @Deprecated("Internal Use Only") | |
3770 MarkerElement.internal_() : super.internal_(); | |
3771 | |
3772 /** | |
3773 * Constructor instantiated by the DOM when a custom element has been created. | |
3774 * | |
3775 * This can only be called by subclasses from their created constructor. | |
3776 */ | |
3777 MarkerElement.created() : super.created(); | |
3778 | |
3779 @DomName('SVGMarkerElement.SVG_MARKERUNITS_STROKEWIDTH') | |
3780 @DocsEditable() | |
3781 static const int SVG_MARKERUNITS_STROKEWIDTH = 2; | |
3782 | |
3783 @DomName('SVGMarkerElement.SVG_MARKERUNITS_UNKNOWN') | |
3784 @DocsEditable() | |
3785 static const int SVG_MARKERUNITS_UNKNOWN = 0; | |
3786 | |
3787 @DomName('SVGMarkerElement.SVG_MARKERUNITS_USERSPACEONUSE') | |
3788 @DocsEditable() | |
3789 static const int SVG_MARKERUNITS_USERSPACEONUSE = 1; | |
3790 | |
3791 @DomName('SVGMarkerElement.SVG_MARKER_ORIENT_ANGLE') | |
3792 @DocsEditable() | |
3793 static const int SVG_MARKER_ORIENT_ANGLE = 2; | |
3794 | |
3795 @DomName('SVGMarkerElement.SVG_MARKER_ORIENT_AUTO') | |
3796 @DocsEditable() | |
3797 static const int SVG_MARKER_ORIENT_AUTO = 1; | |
3798 | |
3799 @DomName('SVGMarkerElement.SVG_MARKER_ORIENT_UNKNOWN') | |
3800 @DocsEditable() | |
3801 static const int SVG_MARKER_ORIENT_UNKNOWN = 0; | |
3802 | |
3803 @DomName('SVGMarkerElement.markerHeight') | |
3804 @DocsEditable() | |
3805 AnimatedLength get markerHeight => | |
3806 _blink.BlinkSVGMarkerElement.instance.markerHeight_Getter_(this); | |
3807 | |
3808 @DomName('SVGMarkerElement.markerUnits') | |
3809 @DocsEditable() | |
3810 AnimatedEnumeration get markerUnits => | |
3811 _blink.BlinkSVGMarkerElement.instance.markerUnits_Getter_(this); | |
3812 | |
3813 @DomName('SVGMarkerElement.markerWidth') | |
3814 @DocsEditable() | |
3815 AnimatedLength get markerWidth => | |
3816 _blink.BlinkSVGMarkerElement.instance.markerWidth_Getter_(this); | |
3817 | |
3818 @DomName('SVGMarkerElement.orientAngle') | |
3819 @DocsEditable() | |
3820 AnimatedAngle get orientAngle => | |
3821 _blink.BlinkSVGMarkerElement.instance.orientAngle_Getter_(this); | |
3822 | |
3823 @DomName('SVGMarkerElement.orientType') | |
3824 @DocsEditable() | |
3825 AnimatedEnumeration get orientType => | |
3826 _blink.BlinkSVGMarkerElement.instance.orientType_Getter_(this); | |
3827 | |
3828 @DomName('SVGMarkerElement.refX') | |
3829 @DocsEditable() | |
3830 AnimatedLength get refX => | |
3831 _blink.BlinkSVGMarkerElement.instance.refX_Getter_(this); | |
3832 | |
3833 @DomName('SVGMarkerElement.refY') | |
3834 @DocsEditable() | |
3835 AnimatedLength get refY => | |
3836 _blink.BlinkSVGMarkerElement.instance.refY_Getter_(this); | |
3837 | |
3838 @DomName('SVGMarkerElement.setOrientToAngle') | |
3839 @DocsEditable() | |
3840 void setOrientToAngle(Angle angle) => _blink.BlinkSVGMarkerElement.instance | |
3841 .setOrientToAngle_Callback_1_(this, angle); | |
3842 | |
3843 @DomName('SVGMarkerElement.setOrientToAuto') | |
3844 @DocsEditable() | |
3845 void setOrientToAuto() => | |
3846 _blink.BlinkSVGMarkerElement.instance.setOrientToAuto_Callback_0_(this); | |
3847 | |
3848 @DomName('SVGMarkerElement.preserveAspectRatio') | |
3849 @DocsEditable() | |
3850 AnimatedPreserveAspectRatio get preserveAspectRatio => | |
3851 _blink.BlinkSVGMarkerElement.instance.preserveAspectRatio_Getter_(this); | |
3852 | |
3853 @DomName('SVGMarkerElement.viewBox') | |
3854 @DocsEditable() | |
3855 AnimatedRect get viewBox => | |
3856 _blink.BlinkSVGMarkerElement.instance.viewBox_Getter_(this); | |
3857 } | |
3858 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3859 // for details. All rights reserved. Use of this source code is governed by a | |
3860 // BSD-style license that can be found in the LICENSE file. | |
3861 | |
3862 // WARNING: Do not edit - generated code. | |
3863 | |
3864 @DocsEditable() | |
3865 @DomName('SVGMaskElement') | |
3866 @Unstable() | |
3867 class MaskElement extends SvgElement implements Tests { | |
3868 // To suppress missing implicit constructor warnings. | |
3869 factory MaskElement._() { | |
3870 throw new UnsupportedError("Not supported"); | |
3871 } | |
3872 | |
3873 @DomName('SVGMaskElement.SVGMaskElement') | |
3874 @DocsEditable() | |
3875 factory MaskElement() => | |
3876 _SvgElementFactoryProvider.createSvgElement_tag("mask"); | |
3877 | |
3878 @Deprecated("Internal Use Only") | |
3879 external static Type get instanceRuntimeType; | |
3880 | |
3881 @Deprecated("Internal Use Only") | |
3882 MaskElement.internal_() : super.internal_(); | |
3883 | |
3884 /** | |
3885 * Constructor instantiated by the DOM when a custom element has been created. | |
3886 * | |
3887 * This can only be called by subclasses from their created constructor. | |
3888 */ | |
3889 MaskElement.created() : super.created(); | |
3890 | |
3891 @DomName('SVGMaskElement.height') | |
3892 @DocsEditable() | |
3893 AnimatedLength get height => | |
3894 _blink.BlinkSVGMaskElement.instance.height_Getter_(this); | |
3895 | |
3896 @DomName('SVGMaskElement.maskContentUnits') | |
3897 @DocsEditable() | |
3898 AnimatedEnumeration get maskContentUnits => | |
3899 _blink.BlinkSVGMaskElement.instance.maskContentUnits_Getter_(this); | |
3900 | |
3901 @DomName('SVGMaskElement.maskUnits') | |
3902 @DocsEditable() | |
3903 AnimatedEnumeration get maskUnits => | |
3904 _blink.BlinkSVGMaskElement.instance.maskUnits_Getter_(this); | |
3905 | |
3906 @DomName('SVGMaskElement.width') | |
3907 @DocsEditable() | |
3908 AnimatedLength get width => | |
3909 _blink.BlinkSVGMaskElement.instance.width_Getter_(this); | |
3910 | |
3911 @DomName('SVGMaskElement.x') | |
3912 @DocsEditable() | |
3913 AnimatedLength get x => _blink.BlinkSVGMaskElement.instance.x_Getter_(this); | |
3914 | |
3915 @DomName('SVGMaskElement.y') | |
3916 @DocsEditable() | |
3917 AnimatedLength get y => _blink.BlinkSVGMaskElement.instance.y_Getter_(this); | |
3918 | |
3919 @DomName('SVGMaskElement.requiredExtensions') | |
3920 @DocsEditable() | |
3921 StringList get requiredExtensions => | |
3922 _blink.BlinkSVGMaskElement.instance.requiredExtensions_Getter_(this); | |
3923 | |
3924 @DomName('SVGMaskElement.requiredFeatures') | |
3925 @DocsEditable() | |
3926 StringList get requiredFeatures => | |
3927 _blink.BlinkSVGMaskElement.instance.requiredFeatures_Getter_(this); | |
3928 | |
3929 @DomName('SVGMaskElement.systemLanguage') | |
3930 @DocsEditable() | |
3931 StringList get systemLanguage => | |
3932 _blink.BlinkSVGMaskElement.instance.systemLanguage_Getter_(this); | |
3933 } | |
3934 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
3935 // for details. All rights reserved. Use of this source code is governed by a | |
3936 // BSD-style license that can be found in the LICENSE file. | |
3937 | |
3938 // WARNING: Do not edit - generated code. | |
3939 | |
3940 @DocsEditable() | |
3941 @DomName('SVGMatrix') | |
3942 @Unstable() | |
3943 class Matrix extends DartHtmlDomObject { | |
3944 // To suppress missing implicit constructor warnings. | |
3945 factory Matrix._() { | |
3946 throw new UnsupportedError("Not supported"); | |
3947 } | |
3948 | |
3949 @Deprecated("Internal Use Only") | |
3950 external static Type get instanceRuntimeType; | |
3951 | |
3952 @Deprecated("Internal Use Only") | |
3953 Matrix.internal_() {} | |
3954 | |
3955 @DomName('SVGMatrix.a') | |
3956 @DocsEditable() | |
3957 num get a => _blink.BlinkSVGMatrix.instance.a_Getter_(this); | |
3958 | |
3959 @DomName('SVGMatrix.a') | |
3960 @DocsEditable() | |
3961 set a(num value) => _blink.BlinkSVGMatrix.instance.a_Setter_(this, value); | |
3962 | |
3963 @DomName('SVGMatrix.b') | |
3964 @DocsEditable() | |
3965 num get b => _blink.BlinkSVGMatrix.instance.b_Getter_(this); | |
3966 | |
3967 @DomName('SVGMatrix.b') | |
3968 @DocsEditable() | |
3969 set b(num value) => _blink.BlinkSVGMatrix.instance.b_Setter_(this, value); | |
3970 | |
3971 @DomName('SVGMatrix.c') | |
3972 @DocsEditable() | |
3973 num get c => _blink.BlinkSVGMatrix.instance.c_Getter_(this); | |
3974 | |
3975 @DomName('SVGMatrix.c') | |
3976 @DocsEditable() | |
3977 set c(num value) => _blink.BlinkSVGMatrix.instance.c_Setter_(this, value); | |
3978 | |
3979 @DomName('SVGMatrix.d') | |
3980 @DocsEditable() | |
3981 num get d => _blink.BlinkSVGMatrix.instance.d_Getter_(this); | |
3982 | |
3983 @DomName('SVGMatrix.d') | |
3984 @DocsEditable() | |
3985 set d(num value) => _blink.BlinkSVGMatrix.instance.d_Setter_(this, value); | |
3986 | |
3987 @DomName('SVGMatrix.e') | |
3988 @DocsEditable() | |
3989 num get e => _blink.BlinkSVGMatrix.instance.e_Getter_(this); | |
3990 | |
3991 @DomName('SVGMatrix.e') | |
3992 @DocsEditable() | |
3993 set e(num value) => _blink.BlinkSVGMatrix.instance.e_Setter_(this, value); | |
3994 | |
3995 @DomName('SVGMatrix.f') | |
3996 @DocsEditable() | |
3997 num get f => _blink.BlinkSVGMatrix.instance.f_Getter_(this); | |
3998 | |
3999 @DomName('SVGMatrix.f') | |
4000 @DocsEditable() | |
4001 set f(num value) => _blink.BlinkSVGMatrix.instance.f_Setter_(this, value); | |
4002 | |
4003 @DomName('SVGMatrix.flipX') | |
4004 @DocsEditable() | |
4005 Matrix flipX() => _blink.BlinkSVGMatrix.instance.flipX_Callback_0_(this); | |
4006 | |
4007 @DomName('SVGMatrix.flipY') | |
4008 @DocsEditable() | |
4009 Matrix flipY() => _blink.BlinkSVGMatrix.instance.flipY_Callback_0_(this); | |
4010 | |
4011 @DomName('SVGMatrix.inverse') | |
4012 @DocsEditable() | |
4013 Matrix inverse() => _blink.BlinkSVGMatrix.instance.inverse_Callback_0_(this); | |
4014 | |
4015 @DomName('SVGMatrix.multiply') | |
4016 @DocsEditable() | |
4017 Matrix multiply(Matrix secondMatrix) => | |
4018 _blink.BlinkSVGMatrix.instance.multiply_Callback_1_(this, secondMatrix); | |
4019 | |
4020 @DomName('SVGMatrix.rotate') | |
4021 @DocsEditable() | |
4022 Matrix rotate(num angle) => | |
4023 _blink.BlinkSVGMatrix.instance.rotate_Callback_1_(this, angle); | |
4024 | |
4025 @DomName('SVGMatrix.rotateFromVector') | |
4026 @DocsEditable() | |
4027 Matrix rotateFromVector(num x, num y) => | |
4028 _blink.BlinkSVGMatrix.instance.rotateFromVector_Callback_2_(this, x, y); | |
4029 | |
4030 @DomName('SVGMatrix.scale') | |
4031 @DocsEditable() | |
4032 Matrix scale(num scaleFactor) => | |
4033 _blink.BlinkSVGMatrix.instance.scale_Callback_1_(this, scaleFactor); | |
4034 | |
4035 @DomName('SVGMatrix.scaleNonUniform') | |
4036 @DocsEditable() | |
4037 Matrix scaleNonUniform(num scaleFactorX, num scaleFactorY) => | |
4038 _blink.BlinkSVGMatrix.instance | |
4039 .scaleNonUniform_Callback_2_(this, scaleFactorX, scaleFactorY); | |
4040 | |
4041 @DomName('SVGMatrix.skewX') | |
4042 @DocsEditable() | |
4043 Matrix skewX(num angle) => | |
4044 _blink.BlinkSVGMatrix.instance.skewX_Callback_1_(this, angle); | |
4045 | |
4046 @DomName('SVGMatrix.skewY') | |
4047 @DocsEditable() | |
4048 Matrix skewY(num angle) => | |
4049 _blink.BlinkSVGMatrix.instance.skewY_Callback_1_(this, angle); | |
4050 | |
4051 @DomName('SVGMatrix.translate') | |
4052 @DocsEditable() | |
4053 Matrix translate(num x, num y) => | |
4054 _blink.BlinkSVGMatrix.instance.translate_Callback_2_(this, x, y); | |
4055 } | |
4056 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4057 // for details. All rights reserved. Use of this source code is governed by a | |
4058 // BSD-style license that can be found in the LICENSE file. | |
4059 | |
4060 // WARNING: Do not edit - generated code. | |
4061 | |
4062 @DocsEditable() | |
4063 @DomName('SVGMetadataElement') | |
4064 @Unstable() | |
4065 class MetadataElement extends SvgElement { | |
4066 // To suppress missing implicit constructor warnings. | |
4067 factory MetadataElement._() { | |
4068 throw new UnsupportedError("Not supported"); | |
4069 } | |
4070 | |
4071 @Deprecated("Internal Use Only") | |
4072 external static Type get instanceRuntimeType; | |
4073 | |
4074 @Deprecated("Internal Use Only") | |
4075 MetadataElement.internal_() : super.internal_(); | |
4076 | |
4077 /** | |
4078 * Constructor instantiated by the DOM when a custom element has been created. | |
4079 * | |
4080 * This can only be called by subclasses from their created constructor. | |
4081 */ | |
4082 MetadataElement.created() : super.created(); | |
4083 } | |
4084 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4085 // for details. All rights reserved. Use of this source code is governed by a | |
4086 // BSD-style license that can be found in the LICENSE file. | |
4087 | |
4088 // WARNING: Do not edit - generated code. | |
4089 | |
4090 @DocsEditable() | |
4091 @DomName('SVGNumber') | |
4092 @Unstable() | |
4093 class Number extends DartHtmlDomObject { | |
4094 // To suppress missing implicit constructor warnings. | |
4095 factory Number._() { | |
4096 throw new UnsupportedError("Not supported"); | |
4097 } | |
4098 | |
4099 @Deprecated("Internal Use Only") | |
4100 external static Type get instanceRuntimeType; | |
4101 | |
4102 @Deprecated("Internal Use Only") | |
4103 Number.internal_() {} | |
4104 | |
4105 @DomName('SVGNumber.value') | |
4106 @DocsEditable() | |
4107 num get value => _blink.BlinkSVGNumber.instance.value_Getter_(this); | |
4108 | |
4109 @DomName('SVGNumber.value') | |
4110 @DocsEditable() | |
4111 set value(num value) => | |
4112 _blink.BlinkSVGNumber.instance.value_Setter_(this, value); | |
4113 } | |
4114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4115 // for details. All rights reserved. Use of this source code is governed by a | |
4116 // BSD-style license that can be found in the LICENSE file. | |
4117 | |
4118 // WARNING: Do not edit - generated code. | |
4119 | |
4120 @DocsEditable() | |
4121 @DomName('SVGNumberList') | |
4122 @Unstable() | |
4123 class NumberList extends DartHtmlDomObject | |
4124 with ListMixin<Number>, ImmutableListMixin<Number> | |
4125 implements List<Number> { | |
4126 // To suppress missing implicit constructor warnings. | |
4127 factory NumberList._() { | |
4128 throw new UnsupportedError("Not supported"); | |
4129 } | |
4130 | |
4131 @Deprecated("Internal Use Only") | |
4132 external static Type get instanceRuntimeType; | |
4133 | |
4134 @Deprecated("Internal Use Only") | |
4135 NumberList.internal_() {} | |
4136 | |
4137 @DomName('SVGNumberList.length') | |
4138 @DocsEditable() | |
4139 @Experimental() // untriaged | |
4140 int get length => _blink.BlinkSVGNumberList.instance.length_Getter_(this); | |
4141 | |
4142 @DomName('SVGNumberList.numberOfItems') | |
4143 @DocsEditable() | |
4144 int get numberOfItems => | |
4145 _blink.BlinkSVGNumberList.instance.numberOfItems_Getter_(this); | |
4146 | |
4147 Number operator [](int index) { | |
4148 if (index < 0 || index >= length) throw new RangeError.index(index, this); | |
4149 return getItem(index); | |
4150 } | |
4151 | |
4152 void operator []=(int index, Number value) { | |
4153 throw new UnsupportedError("Cannot assign element of immutable List."); | |
4154 } | |
4155 // -- start List<Number> mixins. | |
4156 // Number is the element type. | |
4157 | |
4158 set length(int value) { | |
4159 throw new UnsupportedError("Cannot resize immutable List."); | |
4160 } | |
4161 | |
4162 Number get first { | |
4163 if (this.length > 0) { | |
4164 return getItem(0); | |
4165 } | |
4166 throw new StateError("No elements"); | |
4167 } | |
4168 | |
4169 Number get last { | |
4170 int len = this.length; | |
4171 if (len > 0) { | |
4172 return getItem(len - 1); | |
4173 } | |
4174 throw new StateError("No elements"); | |
4175 } | |
4176 | |
4177 Number get single { | |
4178 int len = this.length; | |
4179 if (len == 1) { | |
4180 return getItem(0); | |
4181 } | |
4182 if (len == 0) throw new StateError("No elements"); | |
4183 throw new StateError("More than one element"); | |
4184 } | |
4185 | |
4186 Number elementAt(int index) => this[index]; | |
4187 // -- end List<Number> mixins. | |
4188 | |
4189 @DomName('SVGNumberList.__setter__') | |
4190 @DocsEditable() | |
4191 @Experimental() // untriaged | |
4192 void __setter__(int index, Number newItem) => | |
4193 _blink.BlinkSVGNumberList.instance | |
4194 .$__setter___Callback_2_(this, index, newItem); | |
4195 | |
4196 @DomName('SVGNumberList.appendItem') | |
4197 @DocsEditable() | |
4198 Number appendItem(Number newItem) => | |
4199 _blink.BlinkSVGNumberList.instance.appendItem_Callback_1_(this, newItem); | |
4200 | |
4201 @DomName('SVGNumberList.clear') | |
4202 @DocsEditable() | |
4203 void clear() => _blink.BlinkSVGNumberList.instance.clear_Callback_0_(this); | |
4204 | |
4205 @DomName('SVGNumberList.getItem') | |
4206 @DocsEditable() | |
4207 Number getItem(int index) => | |
4208 _blink.BlinkSVGNumberList.instance.getItem_Callback_1_(this, index); | |
4209 | |
4210 @DomName('SVGNumberList.initialize') | |
4211 @DocsEditable() | |
4212 Number initialize(Number newItem) => | |
4213 _blink.BlinkSVGNumberList.instance.initialize_Callback_1_(this, newItem); | |
4214 | |
4215 @DomName('SVGNumberList.insertItemBefore') | |
4216 @DocsEditable() | |
4217 Number insertItemBefore(Number newItem, int index) => | |
4218 _blink.BlinkSVGNumberList.instance | |
4219 .insertItemBefore_Callback_2_(this, newItem, index); | |
4220 | |
4221 @DomName('SVGNumberList.removeItem') | |
4222 @DocsEditable() | |
4223 Number removeItem(int index) => | |
4224 _blink.BlinkSVGNumberList.instance.removeItem_Callback_1_(this, index); | |
4225 | |
4226 @DomName('SVGNumberList.replaceItem') | |
4227 @DocsEditable() | |
4228 Number replaceItem(Number newItem, int index) => | |
4229 _blink.BlinkSVGNumberList.instance | |
4230 .replaceItem_Callback_2_(this, newItem, index); | |
4231 } | |
4232 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4233 // for details. All rights reserved. Use of this source code is governed by a | |
4234 // BSD-style license that can be found in the LICENSE file. | |
4235 | |
4236 // WARNING: Do not edit - generated code. | |
4237 | |
4238 @DocsEditable() | |
4239 @DomName('SVGPathElement') | |
4240 @Unstable() | |
4241 class PathElement extends GeometryElement { | |
4242 // To suppress missing implicit constructor warnings. | |
4243 factory PathElement._() { | |
4244 throw new UnsupportedError("Not supported"); | |
4245 } | |
4246 | |
4247 @DomName('SVGPathElement.SVGPathElement') | |
4248 @DocsEditable() | |
4249 factory PathElement() => | |
4250 _SvgElementFactoryProvider.createSvgElement_tag("path"); | |
4251 | |
4252 @Deprecated("Internal Use Only") | |
4253 external static Type get instanceRuntimeType; | |
4254 | |
4255 @Deprecated("Internal Use Only") | |
4256 PathElement.internal_() : super.internal_(); | |
4257 | |
4258 /** | |
4259 * Constructor instantiated by the DOM when a custom element has been created. | |
4260 * | |
4261 * This can only be called by subclasses from their created constructor. | |
4262 */ | |
4263 PathElement.created() : super.created(); | |
4264 | |
4265 @DomName('SVGPathElement.pathLength') | |
4266 @DocsEditable() | |
4267 AnimatedNumber get pathLength => | |
4268 _blink.BlinkSVGPathElement.instance.pathLength_Getter_(this); | |
4269 | |
4270 @DomName('SVGPathElement.getPathSegAtLength') | |
4271 @DocsEditable() | |
4272 int getPathSegAtLength(num distance) => _blink.BlinkSVGPathElement.instance | |
4273 .getPathSegAtLength_Callback_1_(this, distance); | |
4274 | |
4275 @DomName('SVGPathElement.getPointAtLength') | |
4276 @DocsEditable() | |
4277 Point getPointAtLength(num distance) => _blink.BlinkSVGPathElement.instance | |
4278 .getPointAtLength_Callback_1_(this, distance); | |
4279 | |
4280 @DomName('SVGPathElement.getTotalLength') | |
4281 @DocsEditable() | |
4282 num getTotalLength() => | |
4283 _blink.BlinkSVGPathElement.instance.getTotalLength_Callback_0_(this); | |
4284 } | |
4285 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4286 // for details. All rights reserved. Use of this source code is governed by a | |
4287 // BSD-style license that can be found in the LICENSE file. | |
4288 | |
4289 // WARNING: Do not edit - generated code. | |
4290 | |
4291 @DocsEditable() | |
4292 @DomName('SVGPatternElement') | |
4293 @Unstable() | |
4294 class PatternElement extends SvgElement | |
4295 implements FitToViewBox, UriReference, Tests { | |
4296 // To suppress missing implicit constructor warnings. | |
4297 factory PatternElement._() { | |
4298 throw new UnsupportedError("Not supported"); | |
4299 } | |
4300 | |
4301 @DomName('SVGPatternElement.SVGPatternElement') | |
4302 @DocsEditable() | |
4303 factory PatternElement() => | |
4304 _SvgElementFactoryProvider.createSvgElement_tag("pattern"); | |
4305 | |
4306 @Deprecated("Internal Use Only") | |
4307 external static Type get instanceRuntimeType; | |
4308 | |
4309 @Deprecated("Internal Use Only") | |
4310 PatternElement.internal_() : super.internal_(); | |
4311 | |
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') | |
4320 @DocsEditable() | |
4321 AnimatedLength get height => | |
4322 _blink.BlinkSVGPatternElement.instance.height_Getter_(this); | |
4323 | |
4324 @DomName('SVGPatternElement.patternContentUnits') | |
4325 @DocsEditable() | |
4326 AnimatedEnumeration get patternContentUnits => | |
4327 _blink.BlinkSVGPatternElement.instance.patternContentUnits_Getter_(this); | |
4328 | |
4329 @DomName('SVGPatternElement.patternTransform') | |
4330 @DocsEditable() | |
4331 AnimatedTransformList get patternTransform => | |
4332 _blink.BlinkSVGPatternElement.instance.patternTransform_Getter_(this); | |
4333 | |
4334 @DomName('SVGPatternElement.patternUnits') | |
4335 @DocsEditable() | |
4336 AnimatedEnumeration get patternUnits => | |
4337 _blink.BlinkSVGPatternElement.instance.patternUnits_Getter_(this); | |
4338 | |
4339 @DomName('SVGPatternElement.width') | |
4340 @DocsEditable() | |
4341 AnimatedLength get width => | |
4342 _blink.BlinkSVGPatternElement.instance.width_Getter_(this); | |
4343 | |
4344 @DomName('SVGPatternElement.x') | |
4345 @DocsEditable() | |
4346 AnimatedLength get x => | |
4347 _blink.BlinkSVGPatternElement.instance.x_Getter_(this); | |
4348 | |
4349 @DomName('SVGPatternElement.y') | |
4350 @DocsEditable() | |
4351 AnimatedLength get y => | |
4352 _blink.BlinkSVGPatternElement.instance.y_Getter_(this); | |
4353 | |
4354 @DomName('SVGPatternElement.preserveAspectRatio') | |
4355 @DocsEditable() | |
4356 AnimatedPreserveAspectRatio get preserveAspectRatio => | |
4357 _blink.BlinkSVGPatternElement.instance.preserveAspectRatio_Getter_(this); | |
4358 | |
4359 @DomName('SVGPatternElement.viewBox') | |
4360 @DocsEditable() | |
4361 AnimatedRect get viewBox => | |
4362 _blink.BlinkSVGPatternElement.instance.viewBox_Getter_(this); | |
4363 | |
4364 @DomName('SVGPatternElement.requiredExtensions') | |
4365 @DocsEditable() | |
4366 StringList get requiredExtensions => | |
4367 _blink.BlinkSVGPatternElement.instance.requiredExtensions_Getter_(this); | |
4368 | |
4369 @DomName('SVGPatternElement.requiredFeatures') | |
4370 @DocsEditable() | |
4371 StringList get requiredFeatures => | |
4372 _blink.BlinkSVGPatternElement.instance.requiredFeatures_Getter_(this); | |
4373 | |
4374 @DomName('SVGPatternElement.systemLanguage') | |
4375 @DocsEditable() | |
4376 StringList get systemLanguage => | |
4377 _blink.BlinkSVGPatternElement.instance.systemLanguage_Getter_(this); | |
4378 | |
4379 @DomName('SVGPatternElement.href') | |
4380 @DocsEditable() | |
4381 AnimatedString get href => | |
4382 _blink.BlinkSVGPatternElement.instance.href_Getter_(this); | |
4383 } | |
4384 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4385 // for details. All rights reserved. Use of this source code is governed by a | |
4386 // BSD-style license that can be found in the LICENSE file. | |
4387 | |
4388 // WARNING: Do not edit - generated code. | |
4389 | |
4390 @DocsEditable() | |
4391 @DomName('SVGPoint') | |
4392 @Unstable() | |
4393 class Point extends DartHtmlDomObject { | |
4394 // To suppress missing implicit constructor warnings. | |
4395 factory Point._() { | |
4396 throw new UnsupportedError("Not supported"); | |
4397 } | |
4398 | |
4399 @Deprecated("Internal Use Only") | |
4400 external static Type get instanceRuntimeType; | |
4401 | |
4402 @Deprecated("Internal Use Only") | |
4403 Point.internal_() {} | |
4404 | |
4405 @DomName('SVGPoint.x') | |
4406 @DocsEditable() | |
4407 num get x => _blink.BlinkSVGPoint.instance.x_Getter_(this); | |
4408 | |
4409 @DomName('SVGPoint.x') | |
4410 @DocsEditable() | |
4411 set x(num value) => _blink.BlinkSVGPoint.instance.x_Setter_(this, value); | |
4412 | |
4413 @DomName('SVGPoint.y') | |
4414 @DocsEditable() | |
4415 num get y => _blink.BlinkSVGPoint.instance.y_Getter_(this); | |
4416 | |
4417 @DomName('SVGPoint.y') | |
4418 @DocsEditable() | |
4419 set y(num value) => _blink.BlinkSVGPoint.instance.y_Setter_(this, value); | |
4420 | |
4421 @DomName('SVGPoint.matrixTransform') | |
4422 @DocsEditable() | |
4423 Point matrixTransform(Matrix matrix) => | |
4424 _blink.BlinkSVGPoint.instance.matrixTransform_Callback_1_(this, matrix); | |
4425 } | |
4426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4427 // for details. All rights reserved. Use of this source code is governed by a | |
4428 // BSD-style license that can be found in the LICENSE file. | |
4429 | |
4430 // WARNING: Do not edit - generated code. | |
4431 | |
4432 @DocsEditable() | |
4433 @DomName('SVGPointList') | |
4434 @Unstable() | |
4435 class PointList extends DartHtmlDomObject { | |
4436 // To suppress missing implicit constructor warnings. | |
4437 factory PointList._() { | |
4438 throw new UnsupportedError("Not supported"); | |
4439 } | |
4440 | |
4441 @Deprecated("Internal Use Only") | |
4442 external static Type get instanceRuntimeType; | |
4443 | |
4444 @Deprecated("Internal Use Only") | |
4445 PointList.internal_() {} | |
4446 | |
4447 @DomName('SVGPointList.length') | |
4448 @DocsEditable() | |
4449 @Experimental() // untriaged | |
4450 int get length => _blink.BlinkSVGPointList.instance.length_Getter_(this); | |
4451 | |
4452 @DomName('SVGPointList.numberOfItems') | |
4453 @DocsEditable() | |
4454 int get numberOfItems => | |
4455 _blink.BlinkSVGPointList.instance.numberOfItems_Getter_(this); | |
4456 | |
4457 @DomName('SVGPointList.__setter__') | |
4458 @DocsEditable() | |
4459 @Experimental() // untriaged | |
4460 void __setter__(int index, Point newItem) => _blink.BlinkSVGPointList.instance | |
4461 .$__setter___Callback_2_(this, index, newItem); | |
4462 | |
4463 @DomName('SVGPointList.appendItem') | |
4464 @DocsEditable() | |
4465 Point appendItem(Point newItem) => | |
4466 _blink.BlinkSVGPointList.instance.appendItem_Callback_1_(this, newItem); | |
4467 | |
4468 @DomName('SVGPointList.clear') | |
4469 @DocsEditable() | |
4470 void clear() => _blink.BlinkSVGPointList.instance.clear_Callback_0_(this); | |
4471 | |
4472 @DomName('SVGPointList.getItem') | |
4473 @DocsEditable() | |
4474 Point getItem(int index) => | |
4475 _blink.BlinkSVGPointList.instance.getItem_Callback_1_(this, index); | |
4476 | |
4477 @DomName('SVGPointList.initialize') | |
4478 @DocsEditable() | |
4479 Point initialize(Point newItem) => | |
4480 _blink.BlinkSVGPointList.instance.initialize_Callback_1_(this, newItem); | |
4481 | |
4482 @DomName('SVGPointList.insertItemBefore') | |
4483 @DocsEditable() | |
4484 Point insertItemBefore(Point newItem, int index) => | |
4485 _blink.BlinkSVGPointList.instance | |
4486 .insertItemBefore_Callback_2_(this, newItem, index); | |
4487 | |
4488 @DomName('SVGPointList.removeItem') | |
4489 @DocsEditable() | |
4490 Point removeItem(int index) => | |
4491 _blink.BlinkSVGPointList.instance.removeItem_Callback_1_(this, index); | |
4492 | |
4493 @DomName('SVGPointList.replaceItem') | |
4494 @DocsEditable() | |
4495 Point replaceItem(Point newItem, int index) => | |
4496 _blink.BlinkSVGPointList.instance | |
4497 .replaceItem_Callback_2_(this, newItem, index); | |
4498 } | |
4499 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4500 // for details. All rights reserved. Use of this source code is governed by a | |
4501 // BSD-style license that can be found in the LICENSE file. | |
4502 | |
4503 // WARNING: Do not edit - generated code. | |
4504 | |
4505 @DocsEditable() | |
4506 @DomName('SVGPolygonElement') | |
4507 @Unstable() | |
4508 class PolygonElement extends GeometryElement { | |
4509 // To suppress missing implicit constructor warnings. | |
4510 factory PolygonElement._() { | |
4511 throw new UnsupportedError("Not supported"); | |
4512 } | |
4513 | |
4514 @DomName('SVGPolygonElement.SVGPolygonElement') | |
4515 @DocsEditable() | |
4516 factory PolygonElement() => | |
4517 _SvgElementFactoryProvider.createSvgElement_tag("polygon"); | |
4518 | |
4519 @Deprecated("Internal Use Only") | |
4520 external static Type get instanceRuntimeType; | |
4521 | |
4522 @Deprecated("Internal Use Only") | |
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); | |
4541 } | |
4542 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4543 // for details. All rights reserved. Use of this source code is governed by a | |
4544 // BSD-style license that can be found in the LICENSE file. | |
4545 | |
4546 // WARNING: Do not edit - generated code. | |
4547 | |
4548 @DocsEditable() | |
4549 @DomName('SVGPolylineElement') | |
4550 @Unstable() | |
4551 class PolylineElement extends GeometryElement { | |
4552 // To suppress missing implicit constructor warnings. | |
4553 factory PolylineElement._() { | |
4554 throw new UnsupportedError("Not supported"); | |
4555 } | |
4556 | |
4557 @DomName('SVGPolylineElement.SVGPolylineElement') | |
4558 @DocsEditable() | |
4559 factory PolylineElement() => | |
4560 _SvgElementFactoryProvider.createSvgElement_tag("polyline"); | |
4561 | |
4562 @Deprecated("Internal Use Only") | |
4563 external static Type get instanceRuntimeType; | |
4564 | |
4565 @Deprecated("Internal Use Only") | |
4566 PolylineElement.internal_() : super.internal_(); | |
4567 | |
4568 /** | |
4569 * Constructor instantiated by the DOM when a custom element has been created. | |
4570 * | |
4571 * This can only be called by subclasses from their created constructor. | |
4572 */ | |
4573 PolylineElement.created() : super.created(); | |
4574 | |
4575 @DomName('SVGPolylineElement.animatedPoints') | |
4576 @DocsEditable() | |
4577 PointList get animatedPoints => | |
4578 _blink.BlinkSVGPolylineElement.instance.animatedPoints_Getter_(this); | |
4579 | |
4580 @DomName('SVGPolylineElement.points') | |
4581 @DocsEditable() | |
4582 PointList get points => | |
4583 _blink.BlinkSVGPolylineElement.instance.points_Getter_(this); | |
4584 } | |
4585 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4586 // for details. All rights reserved. Use of this source code is governed by a | |
4587 // BSD-style license that can be found in the LICENSE file. | |
4588 | |
4589 // WARNING: Do not edit - generated code. | |
4590 | |
4591 @DocsEditable() | |
4592 @DomName('SVGPreserveAspectRatio') | |
4593 @Unstable() | |
4594 class PreserveAspectRatio extends DartHtmlDomObject { | |
4595 // To suppress missing implicit constructor warnings. | |
4596 factory PreserveAspectRatio._() { | |
4597 throw new UnsupportedError("Not supported"); | |
4598 } | |
4599 | |
4600 @Deprecated("Internal Use Only") | |
4601 external static Type get instanceRuntimeType; | |
4602 | |
4603 @Deprecated("Internal Use Only") | |
4604 PreserveAspectRatio.internal_() {} | |
4605 | |
4606 @DomName('SVGPreserveAspectRatio.SVG_MEETORSLICE_MEET') | |
4607 @DocsEditable() | |
4608 static const int SVG_MEETORSLICE_MEET = 1; | |
4609 | |
4610 @DomName('SVGPreserveAspectRatio.SVG_MEETORSLICE_SLICE') | |
4611 @DocsEditable() | |
4612 static const int SVG_MEETORSLICE_SLICE = 2; | |
4613 | |
4614 @DomName('SVGPreserveAspectRatio.SVG_MEETORSLICE_UNKNOWN') | |
4615 @DocsEditable() | |
4616 static const int SVG_MEETORSLICE_UNKNOWN = 0; | |
4617 | |
4618 @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_NONE') | |
4619 @DocsEditable() | |
4620 static const int SVG_PRESERVEASPECTRATIO_NONE = 1; | |
4621 | |
4622 @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_UNKNOWN') | |
4623 @DocsEditable() | |
4624 static const int SVG_PRESERVEASPECTRATIO_UNKNOWN = 0; | |
4625 | |
4626 @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMAX') | |
4627 @DocsEditable() | |
4628 static const int SVG_PRESERVEASPECTRATIO_XMAXYMAX = 10; | |
4629 | |
4630 @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMID') | |
4631 @DocsEditable() | |
4632 static const int SVG_PRESERVEASPECTRATIO_XMAXYMID = 7; | |
4633 | |
4634 @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMAXYMIN') | |
4635 @DocsEditable() | |
4636 static const int SVG_PRESERVEASPECTRATIO_XMAXYMIN = 4; | |
4637 | |
4638 @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMAX') | |
4639 @DocsEditable() | |
4640 static const int SVG_PRESERVEASPECTRATIO_XMIDYMAX = 9; | |
4641 | |
4642 @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMID') | |
4643 @DocsEditable() | |
4644 static const int SVG_PRESERVEASPECTRATIO_XMIDYMID = 6; | |
4645 | |
4646 @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMIDYMIN') | |
4647 @DocsEditable() | |
4648 static const int SVG_PRESERVEASPECTRATIO_XMIDYMIN = 3; | |
4649 | |
4650 @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMAX') | |
4651 @DocsEditable() | |
4652 static const int SVG_PRESERVEASPECTRATIO_XMINYMAX = 8; | |
4653 | |
4654 @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMID') | |
4655 @DocsEditable() | |
4656 static const int SVG_PRESERVEASPECTRATIO_XMINYMID = 5; | |
4657 | |
4658 @DomName('SVGPreserveAspectRatio.SVG_PRESERVEASPECTRATIO_XMINYMIN') | |
4659 @DocsEditable() | |
4660 static const int SVG_PRESERVEASPECTRATIO_XMINYMIN = 2; | |
4661 | |
4662 @DomName('SVGPreserveAspectRatio.align') | |
4663 @DocsEditable() | |
4664 int get align => | |
4665 _blink.BlinkSVGPreserveAspectRatio.instance.align_Getter_(this); | |
4666 | |
4667 @DomName('SVGPreserveAspectRatio.align') | |
4668 @DocsEditable() | |
4669 set align(int value) => | |
4670 _blink.BlinkSVGPreserveAspectRatio.instance.align_Setter_(this, value); | |
4671 | |
4672 @DomName('SVGPreserveAspectRatio.meetOrSlice') | |
4673 @DocsEditable() | |
4674 int get meetOrSlice => | |
4675 _blink.BlinkSVGPreserveAspectRatio.instance.meetOrSlice_Getter_(this); | |
4676 | |
4677 @DomName('SVGPreserveAspectRatio.meetOrSlice') | |
4678 @DocsEditable() | |
4679 set meetOrSlice(int value) => _blink.BlinkSVGPreserveAspectRatio.instance | |
4680 .meetOrSlice_Setter_(this, value); | |
4681 } | |
4682 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4683 // for details. All rights reserved. Use of this source code is governed by a | |
4684 // BSD-style license that can be found in the LICENSE file. | |
4685 | |
4686 // WARNING: Do not edit - generated code. | |
4687 | |
4688 @DocsEditable() | |
4689 @DomName('SVGRadialGradientElement') | |
4690 @Unstable() | |
4691 class RadialGradientElement extends _GradientElement { | |
4692 // To suppress missing implicit constructor warnings. | |
4693 factory RadialGradientElement._() { | |
4694 throw new UnsupportedError("Not supported"); | |
4695 } | |
4696 | |
4697 @DomName('SVGRadialGradientElement.SVGRadialGradientElement') | |
4698 @DocsEditable() | |
4699 factory RadialGradientElement() => | |
4700 _SvgElementFactoryProvider.createSvgElement_tag("radialGradient"); | |
4701 | |
4702 @Deprecated("Internal Use Only") | |
4703 external static Type get instanceRuntimeType; | |
4704 | |
4705 @Deprecated("Internal Use Only") | |
4706 RadialGradientElement.internal_() : super.internal_(); | |
4707 | |
4708 /** | |
4709 * Constructor instantiated by the DOM when a custom element has been created. | |
4710 * | |
4711 * This can only be called by subclasses from their created constructor. | |
4712 */ | |
4713 RadialGradientElement.created() : super.created(); | |
4714 | |
4715 @DomName('SVGRadialGradientElement.cx') | |
4716 @DocsEditable() | |
4717 AnimatedLength get cx => | |
4718 _blink.BlinkSVGRadialGradientElement.instance.cx_Getter_(this); | |
4719 | |
4720 @DomName('SVGRadialGradientElement.cy') | |
4721 @DocsEditable() | |
4722 AnimatedLength get cy => | |
4723 _blink.BlinkSVGRadialGradientElement.instance.cy_Getter_(this); | |
4724 | |
4725 @DomName('SVGRadialGradientElement.fr') | |
4726 @DocsEditable() | |
4727 AnimatedLength get fr => | |
4728 _blink.BlinkSVGRadialGradientElement.instance.fr_Getter_(this); | |
4729 | |
4730 @DomName('SVGRadialGradientElement.fx') | |
4731 @DocsEditable() | |
4732 AnimatedLength get fx => | |
4733 _blink.BlinkSVGRadialGradientElement.instance.fx_Getter_(this); | |
4734 | |
4735 @DomName('SVGRadialGradientElement.fy') | |
4736 @DocsEditable() | |
4737 AnimatedLength get fy => | |
4738 _blink.BlinkSVGRadialGradientElement.instance.fy_Getter_(this); | |
4739 | |
4740 @DomName('SVGRadialGradientElement.r') | |
4741 @DocsEditable() | |
4742 AnimatedLength get r => | |
4743 _blink.BlinkSVGRadialGradientElement.instance.r_Getter_(this); | |
4744 } | |
4745 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4746 // for details. All rights reserved. Use of this source code is governed by a | |
4747 // BSD-style license that can be found in the LICENSE file. | |
4748 | |
4749 // WARNING: Do not edit - generated code. | |
4750 | |
4751 @DocsEditable() | |
4752 @DomName('SVGRect') | |
4753 @Unstable() | |
4754 class Rect extends DartHtmlDomObject { | |
4755 // To suppress missing implicit constructor warnings. | |
4756 factory Rect._() { | |
4757 throw new UnsupportedError("Not supported"); | |
4758 } | |
4759 | |
4760 @Deprecated("Internal Use Only") | |
4761 external static Type get instanceRuntimeType; | |
4762 | |
4763 @Deprecated("Internal Use Only") | |
4764 Rect.internal_() {} | |
4765 | |
4766 @DomName('SVGRect.height') | |
4767 @DocsEditable() | |
4768 num get height => _blink.BlinkSVGRect.instance.height_Getter_(this); | |
4769 | |
4770 @DomName('SVGRect.height') | |
4771 @DocsEditable() | |
4772 set height(num value) => | |
4773 _blink.BlinkSVGRect.instance.height_Setter_(this, value); | |
4774 | |
4775 @DomName('SVGRect.width') | |
4776 @DocsEditable() | |
4777 num get width => _blink.BlinkSVGRect.instance.width_Getter_(this); | |
4778 | |
4779 @DomName('SVGRect.width') | |
4780 @DocsEditable() | |
4781 set width(num value) => | |
4782 _blink.BlinkSVGRect.instance.width_Setter_(this, value); | |
4783 | |
4784 @DomName('SVGRect.x') | |
4785 @DocsEditable() | |
4786 num get x => _blink.BlinkSVGRect.instance.x_Getter_(this); | |
4787 | |
4788 @DomName('SVGRect.x') | |
4789 @DocsEditable() | |
4790 set x(num value) => _blink.BlinkSVGRect.instance.x_Setter_(this, value); | |
4791 | |
4792 @DomName('SVGRect.y') | |
4793 @DocsEditable() | |
4794 num get y => _blink.BlinkSVGRect.instance.y_Getter_(this); | |
4795 | |
4796 @DomName('SVGRect.y') | |
4797 @DocsEditable() | |
4798 set y(num value) => _blink.BlinkSVGRect.instance.y_Setter_(this, value); | |
4799 } | |
4800 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4801 // for details. All rights reserved. Use of this source code is governed by a | |
4802 // BSD-style license that can be found in the LICENSE file. | |
4803 | |
4804 // WARNING: Do not edit - generated code. | |
4805 | |
4806 @DocsEditable() | |
4807 @DomName('SVGRectElement') | |
4808 @Unstable() | |
4809 class RectElement extends GeometryElement { | |
4810 // To suppress missing implicit constructor warnings. | |
4811 factory RectElement._() { | |
4812 throw new UnsupportedError("Not supported"); | |
4813 } | |
4814 | |
4815 @DomName('SVGRectElement.SVGRectElement') | |
4816 @DocsEditable() | |
4817 factory RectElement() => | |
4818 _SvgElementFactoryProvider.createSvgElement_tag("rect"); | |
4819 | |
4820 @Deprecated("Internal Use Only") | |
4821 external static Type get instanceRuntimeType; | |
4822 | |
4823 @Deprecated("Internal Use Only") | |
4824 RectElement.internal_() : super.internal_(); | |
4825 | |
4826 /** | |
4827 * Constructor instantiated by the DOM when a custom element has been created. | |
4828 * | |
4829 * This can only be called by subclasses from their created constructor. | |
4830 */ | |
4831 RectElement.created() : super.created(); | |
4832 | |
4833 @DomName('SVGRectElement.height') | |
4834 @DocsEditable() | |
4835 AnimatedLength get height => | |
4836 _blink.BlinkSVGRectElement.instance.height_Getter_(this); | |
4837 | |
4838 @DomName('SVGRectElement.rx') | |
4839 @DocsEditable() | |
4840 AnimatedLength get rx => _blink.BlinkSVGRectElement.instance.rx_Getter_(this); | |
4841 | |
4842 @DomName('SVGRectElement.ry') | |
4843 @DocsEditable() | |
4844 AnimatedLength get ry => _blink.BlinkSVGRectElement.instance.ry_Getter_(this); | |
4845 | |
4846 @DomName('SVGRectElement.width') | |
4847 @DocsEditable() | |
4848 AnimatedLength get width => | |
4849 _blink.BlinkSVGRectElement.instance.width_Getter_(this); | |
4850 | |
4851 @DomName('SVGRectElement.x') | |
4852 @DocsEditable() | |
4853 AnimatedLength get x => _blink.BlinkSVGRectElement.instance.x_Getter_(this); | |
4854 | |
4855 @DomName('SVGRectElement.y') | |
4856 @DocsEditable() | |
4857 AnimatedLength get y => _blink.BlinkSVGRectElement.instance.y_Getter_(this); | |
4858 } | |
4859 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4860 // for details. All rights reserved. Use of this source code is governed by a | |
4861 // BSD-style license that can be found in the LICENSE file. | |
4862 | |
4863 // WARNING: Do not edit - generated code. | |
4864 | |
4865 @DocsEditable() | |
4866 @DomName('SVGScriptElement') | |
4867 @Unstable() | |
4868 class ScriptElement extends SvgElement implements UriReference { | |
4869 // To suppress missing implicit constructor warnings. | |
4870 factory ScriptElement._() { | |
4871 throw new UnsupportedError("Not supported"); | |
4872 } | |
4873 | |
4874 @DomName('SVGScriptElement.SVGScriptElement') | |
4875 @DocsEditable() | |
4876 factory ScriptElement() => | |
4877 _SvgElementFactoryProvider.createSvgElement_tag("script"); | |
4878 | |
4879 @Deprecated("Internal Use Only") | |
4880 external static Type get instanceRuntimeType; | |
4881 | |
4882 @Deprecated("Internal Use Only") | |
4883 ScriptElement.internal_() : super.internal_(); | |
4884 | |
4885 /** | |
4886 * Constructor instantiated by the DOM when a custom element has been created. | |
4887 * | |
4888 * This can only be called by subclasses from their created constructor. | |
4889 */ | |
4890 ScriptElement.created() : super.created(); | |
4891 | |
4892 @DomName('SVGScriptElement.type') | |
4893 @DocsEditable() | |
4894 String get type => _blink.BlinkSVGScriptElement.instance.type_Getter_(this); | |
4895 | |
4896 @DomName('SVGScriptElement.type') | |
4897 @DocsEditable() | |
4898 set type(String value) => | |
4899 _blink.BlinkSVGScriptElement.instance.type_Setter_(this, value); | |
4900 | |
4901 @DomName('SVGScriptElement.href') | |
4902 @DocsEditable() | |
4903 AnimatedString get href => | |
4904 _blink.BlinkSVGScriptElement.instance.href_Getter_(this); | |
4905 } | |
4906 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4907 // for details. All rights reserved. Use of this source code is governed by a | |
4908 // BSD-style license that can be found in the LICENSE file. | |
4909 | |
4910 // WARNING: Do not edit - generated code. | |
4911 | |
4912 @DocsEditable() | |
4913 @DomName('SVGSetElement') | |
4914 @SupportedBrowser(SupportedBrowser.CHROME) | |
4915 @SupportedBrowser(SupportedBrowser.FIREFOX) | |
4916 @SupportedBrowser(SupportedBrowser.SAFARI) | |
4917 @Unstable() | |
4918 class SetElement extends AnimationElement { | |
4919 // To suppress missing implicit constructor warnings. | |
4920 factory SetElement._() { | |
4921 throw new UnsupportedError("Not supported"); | |
4922 } | |
4923 | |
4924 @DomName('SVGSetElement.SVGSetElement') | |
4925 @DocsEditable() | |
4926 factory SetElement() => | |
4927 _SvgElementFactoryProvider.createSvgElement_tag("set"); | |
4928 | |
4929 @Deprecated("Internal Use Only") | |
4930 external static Type get instanceRuntimeType; | |
4931 | |
4932 @Deprecated("Internal Use Only") | |
4933 SetElement.internal_() : super.internal_(); | |
4934 | |
4935 /** | |
4936 * Constructor instantiated by the DOM when a custom element has been created. | |
4937 * | |
4938 * This can only be called by subclasses from their created constructor. | |
4939 */ | |
4940 SetElement.created() : super.created(); | |
4941 | |
4942 /// Checks if this type is supported on the current platform. | |
4943 static bool get supported => true; | |
4944 } | |
4945 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4946 // for details. All rights reserved. Use of this source code is governed by a | |
4947 // BSD-style license that can be found in the LICENSE file. | |
4948 | |
4949 // WARNING: Do not edit - generated code. | |
4950 | |
4951 @DocsEditable() | |
4952 @DomName('SVGStopElement') | |
4953 @Unstable() | |
4954 class StopElement extends SvgElement { | |
4955 // To suppress missing implicit constructor warnings. | |
4956 factory StopElement._() { | |
4957 throw new UnsupportedError("Not supported"); | |
4958 } | |
4959 | |
4960 @DomName('SVGStopElement.SVGStopElement') | |
4961 @DocsEditable() | |
4962 factory StopElement() => | |
4963 _SvgElementFactoryProvider.createSvgElement_tag("stop"); | |
4964 | |
4965 @Deprecated("Internal Use Only") | |
4966 external static Type get instanceRuntimeType; | |
4967 | |
4968 @Deprecated("Internal Use Only") | |
4969 StopElement.internal_() : super.internal_(); | |
4970 | |
4971 /** | |
4972 * Constructor instantiated by the DOM when a custom element has been created. | |
4973 * | |
4974 * This can only be called by subclasses from their created constructor. | |
4975 */ | |
4976 StopElement.created() : super.created(); | |
4977 | |
4978 @DomName('SVGStopElement.offset') | |
4979 @DocsEditable() | |
4980 AnimatedNumber get gradientOffset => | |
4981 _blink.BlinkSVGStopElement.instance.offset_Getter_(this); | |
4982 } | |
4983 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
4984 // for details. All rights reserved. Use of this source code is governed by a | |
4985 // BSD-style license that can be found in the LICENSE file. | |
4986 | |
4987 // WARNING: Do not edit - generated code. | |
4988 | |
4989 @DocsEditable() | |
4990 @DomName('SVGStringList') | |
4991 @Unstable() | |
4992 class StringList extends DartHtmlDomObject | |
4993 with ListMixin<String>, ImmutableListMixin<String> | |
4994 implements List<String> { | |
4995 // To suppress missing implicit constructor warnings. | |
4996 factory StringList._() { | |
4997 throw new UnsupportedError("Not supported"); | |
4998 } | |
4999 | |
5000 @Deprecated("Internal Use Only") | |
5001 external static Type get instanceRuntimeType; | |
5002 | |
5003 @Deprecated("Internal Use Only") | |
5004 StringList.internal_() {} | |
5005 | |
5006 @DomName('SVGStringList.length') | |
5007 @DocsEditable() | |
5008 @Experimental() // untriaged | |
5009 int get length => _blink.BlinkSVGStringList.instance.length_Getter_(this); | |
5010 | |
5011 @DomName('SVGStringList.numberOfItems') | |
5012 @DocsEditable() | |
5013 int get numberOfItems => | |
5014 _blink.BlinkSVGStringList.instance.numberOfItems_Getter_(this); | |
5015 | |
5016 String operator [](int index) { | |
5017 if (index < 0 || index >= length) throw new RangeError.index(index, this); | |
5018 return getItem(index); | |
5019 } | |
5020 | |
5021 void operator []=(int index, String value) { | |
5022 throw new UnsupportedError("Cannot assign element of immutable List."); | |
5023 } | |
5024 // -- start List<String> mixins. | |
5025 // String is the element type. | |
5026 | |
5027 set length(int value) { | |
5028 throw new UnsupportedError("Cannot resize immutable List."); | |
5029 } | |
5030 | |
5031 String get first { | |
5032 if (this.length > 0) { | |
5033 return getItem(0); | |
5034 } | |
5035 throw new StateError("No elements"); | |
5036 } | |
5037 | |
5038 String get last { | |
5039 int len = this.length; | |
5040 if (len > 0) { | |
5041 return getItem(len - 1); | |
5042 } | |
5043 throw new StateError("No elements"); | |
5044 } | |
5045 | |
5046 String get single { | |
5047 int len = this.length; | |
5048 if (len == 1) { | |
5049 return getItem(0); | |
5050 } | |
5051 if (len == 0) throw new StateError("No elements"); | |
5052 throw new StateError("More than one element"); | |
5053 } | |
5054 | |
5055 String elementAt(int index) => this[index]; | |
5056 // -- end List<String> mixins. | |
5057 | |
5058 @DomName('SVGStringList.__setter__') | |
5059 @DocsEditable() | |
5060 @Experimental() // untriaged | |
5061 void __setter__(int index, String newItem) => | |
5062 _blink.BlinkSVGStringList.instance | |
5063 .$__setter___Callback_2_(this, index, newItem); | |
5064 | |
5065 @DomName('SVGStringList.appendItem') | |
5066 @DocsEditable() | |
5067 String appendItem(String newItem) => | |
5068 _blink.BlinkSVGStringList.instance.appendItem_Callback_1_(this, newItem); | |
5069 | |
5070 @DomName('SVGStringList.clear') | |
5071 @DocsEditable() | |
5072 void clear() => _blink.BlinkSVGStringList.instance.clear_Callback_0_(this); | |
5073 | |
5074 @DomName('SVGStringList.getItem') | |
5075 @DocsEditable() | |
5076 String getItem(int index) => | |
5077 _blink.BlinkSVGStringList.instance.getItem_Callback_1_(this, index); | |
5078 | |
5079 @DomName('SVGStringList.initialize') | |
5080 @DocsEditable() | |
5081 String initialize(String newItem) => | |
5082 _blink.BlinkSVGStringList.instance.initialize_Callback_1_(this, newItem); | |
5083 | |
5084 @DomName('SVGStringList.insertItemBefore') | |
5085 @DocsEditable() | |
5086 String insertItemBefore(String item, int index) => | |
5087 _blink.BlinkSVGStringList.instance | |
5088 .insertItemBefore_Callback_2_(this, item, index); | |
5089 | |
5090 @DomName('SVGStringList.removeItem') | |
5091 @DocsEditable() | |
5092 String removeItem(int index) => | |
5093 _blink.BlinkSVGStringList.instance.removeItem_Callback_1_(this, index); | |
5094 | |
5095 @DomName('SVGStringList.replaceItem') | |
5096 @DocsEditable() | |
5097 String replaceItem(String newItem, int index) => | |
5098 _blink.BlinkSVGStringList.instance | |
5099 .replaceItem_Callback_2_(this, newItem, index); | |
5100 } | |
5101 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
5102 // for details. All rights reserved. Use of this source code is governed by a | |
5103 // BSD-style license that can be found in the LICENSE file. | |
5104 | |
5105 // WARNING: Do not edit - generated code. | |
5106 | |
5107 @DocsEditable() | |
5108 @DomName('SVGStyleElement') | |
5109 // http://www.w3.org/TR/SVG/types.html#InterfaceSVGStylable | |
5110 @Experimental() // nonstandard | |
5111 class StyleElement extends SvgElement { | |
5112 // To suppress missing implicit constructor warnings. | |
5113 factory StyleElement._() { | |
5114 throw new UnsupportedError("Not supported"); | |
5115 } | |
5116 | |
5117 @DomName('SVGStyleElement.SVGStyleElement') | |
5118 @DocsEditable() | |
5119 factory StyleElement() => | |
5120 _SvgElementFactoryProvider.createSvgElement_tag("style"); | |
5121 | |
5122 @Deprecated("Internal Use Only") | |
5123 external static Type get instanceRuntimeType; | |
5124 | |
5125 @Deprecated("Internal Use Only") | |
5126 StyleElement.internal_() : super.internal_(); | |
5127 | |
5128 /** | |
5129 * Constructor instantiated by the DOM when a custom element has been created. | |
5130 * | |
5131 * This can only be called by subclasses from their created constructor. | |
5132 */ | |
5133 StyleElement.created() : super.created(); | |
5134 | |
5135 @DomName('SVGStyleElement.disabled') | |
5136 @DocsEditable() | |
5137 bool get disabled => | |
5138 _blink.BlinkSVGStyleElement.instance.disabled_Getter_(this); | |
5139 | |
5140 @DomName('SVGStyleElement.disabled') | |
5141 @DocsEditable() | |
5142 set disabled(bool value) => | |
5143 _blink.BlinkSVGStyleElement.instance.disabled_Setter_(this, value); | |
5144 | |
5145 @DomName('SVGStyleElement.media') | |
5146 @DocsEditable() | |
5147 String get media => _blink.BlinkSVGStyleElement.instance.media_Getter_(this); | |
5148 | |
5149 @DomName('SVGStyleElement.media') | |
5150 @DocsEditable() | |
5151 set media(String value) => | |
5152 _blink.BlinkSVGStyleElement.instance.media_Setter_(this, value); | |
5153 | |
5154 @DomName('SVGStyleElement.sheet') | |
5155 @DocsEditable() | |
5156 @Experimental() // untriaged | |
5157 StyleSheet get sheet => | |
5158 _blink.BlinkSVGStyleElement.instance.sheet_Getter_(this); | |
5159 | |
5160 @DomName('SVGStyleElement.title') | |
5161 @DocsEditable() | |
5162 String get title => _blink.BlinkSVGStyleElement.instance.title_Getter_(this); | |
5163 | |
5164 @DomName('SVGStyleElement.title') | |
5165 @DocsEditable() | |
5166 set title(String value) => | |
5167 _blink.BlinkSVGStyleElement.instance.title_Setter_(this, value); | |
5168 | |
5169 @DomName('SVGStyleElement.type') | |
5170 @DocsEditable() | |
5171 String get type => _blink.BlinkSVGStyleElement.instance.type_Getter_(this); | |
5172 | |
5173 @DomName('SVGStyleElement.type') | |
5174 @DocsEditable() | |
5175 set type(String value) => | |
5176 _blink.BlinkSVGStyleElement.instance.type_Setter_(this, value); | |
5177 } | |
5178 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
5179 // for details. All rights reserved. Use of this source code is governed by a | |
5180 // BSD-style license that can be found in the LICENSE file. | |
5181 | |
5182 class AttributeClassSet extends CssClassSetImpl { | |
5183 final Element _element; | |
5184 | |
5185 AttributeClassSet(this._element); | |
5186 | |
5187 Set<String> readClasses() { | |
5188 var classname = _element.attributes['class']; | |
5189 if (classname is AnimatedString) { | |
5190 classname = (classname as AnimatedString).baseVal; | |
5191 } | |
5192 | |
5193 Set<String> s = new LinkedHashSet<String>(); | |
5194 if (classname == null) { | |
5195 return s; | |
5196 } | |
5197 for (String name in classname.split(' ')) { | |
5198 String trimmed = name.trim(); | |
5199 if (!trimmed.isEmpty) { | |
5200 s.add(trimmed); | |
5201 } | |
5202 } | |
5203 return s; | |
5204 } | |
5205 | |
5206 void writeClasses(Set s) { | |
5207 _element.setAttribute('class', s.join(' ')); | |
5208 } | |
5209 } | |
5210 | |
5211 @DomName('SVGElement') | |
5212 @Unstable() | |
5213 class SvgElement extends Element implements GlobalEventHandlers { | |
5214 static final _START_TAG_REGEXP = new RegExp('<(\\w+)'); | |
5215 | |
5216 factory SvgElement.tag(String tag) => | |
5217 document.createElementNS("http://www.w3.org/2000/svg", tag); | |
5218 factory SvgElement.svg(String svg, | |
5219 {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { | |
5220 if (validator == null && treeSanitizer == null) { | |
5221 validator = new NodeValidatorBuilder.common()..allowSvg(); | |
5222 } | |
5223 | |
5224 final match = _START_TAG_REGEXP.firstMatch(svg); | |
5225 var parentElement; | |
5226 if (match != null && match.group(1).toLowerCase() == 'svg') { | |
5227 parentElement = document.body; | |
5228 } else { | |
5229 parentElement = new SvgSvgElement(); | |
5230 } | |
5231 var fragment = parentElement.createFragment(svg, | |
5232 validator: validator, treeSanitizer: treeSanitizer); | |
5233 return fragment.nodes.where((e) => e is SvgElement).single; | |
5234 } | |
5235 | |
5236 CssClassSet get classes => new AttributeClassSet(this); | |
5237 | |
5238 List<Element> get children => new FilteredElementList(this); | |
5239 | |
5240 set children(List<Element> value) { | |
5241 final children = this.children; | |
5242 children.clear(); | |
5243 children.addAll(value); | |
5244 } | |
5245 | |
5246 String get outerHtml { | |
5247 final container = new DivElement(); | |
5248 final SvgElement cloned = this.clone(true); | |
5249 container.children.add(cloned); | |
5250 return container.innerHtml; | |
5251 } | |
5252 | |
5253 String get innerHtml { | |
5254 final container = new DivElement(); | |
5255 final SvgElement cloned = this.clone(true); | |
5256 container.children.addAll(cloned.children); | |
5257 return container.innerHtml; | |
5258 } | |
5259 | |
5260 set innerHtml(String value) { | |
5261 this.setInnerHtml(value); | |
5262 } | |
5263 | |
5264 DocumentFragment createFragment(String svg, | |
5265 {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { | |
5266 if (treeSanitizer == null) { | |
5267 if (validator == null) { | |
5268 validator = new NodeValidatorBuilder.common()..allowSvg(); | |
5269 } | |
5270 treeSanitizer = new NodeTreeSanitizer(validator); | |
5271 } | |
5272 | |
5273 // We create a fragment which will parse in the HTML parser | |
5274 var html = '<svg version="1.1">$svg</svg>'; | |
5275 var fragment = | |
5276 document.body.createFragment(html, treeSanitizer: treeSanitizer); | |
5277 | |
5278 var svgFragment = new DocumentFragment(); | |
5279 // The root is the <svg/> element, need to pull out the contents. | |
5280 var root = fragment.nodes.single; | |
5281 while (root.firstChild != null) { | |
5282 svgFragment.append(root.firstChild); | |
5283 } | |
5284 return svgFragment; | |
5285 } | |
5286 | |
5287 // Unsupported methods inherited from Element. | |
5288 | |
5289 @DomName('Element.insertAdjacentText') | |
5290 void insertAdjacentText(String where, String text) { | |
5291 throw new UnsupportedError("Cannot invoke insertAdjacentText on SVG."); | |
5292 } | |
5293 | |
5294 @DomName('Element.insertAdjacentHTML') | |
5295 void insertAdjacentHtml(String where, String text, | |
5296 {NodeValidator validator, NodeTreeSanitizer treeSanitizer}) { | |
5297 throw new UnsupportedError("Cannot invoke insertAdjacentHtml on SVG."); | |
5298 } | |
5299 | |
5300 @DomName('Element.insertAdjacentElement') | |
5301 Element insertAdjacentElement(String where, Element element) { | |
5302 throw new UnsupportedError("Cannot invoke insertAdjacentElement on SVG."); | |
5303 } | |
5304 | |
5305 HtmlCollection get _children { | |
5306 throw new UnsupportedError("Cannot get _children on SVG."); | |
5307 } | |
5308 | |
5309 bool get isContentEditable => false; | |
5310 void click() { | |
5311 throw new UnsupportedError("Cannot invoke click SVG."); | |
5312 } | |
5313 | |
5314 /** | |
5315 * Checks to see if the SVG element type is supported by the current platform. | |
5316 * | |
5317 * The tag should be a valid SVG element tag name. | |
5318 */ | |
5319 static bool isTagSupported(String tag) { | |
5320 var e = new SvgElement.tag(tag); | |
5321 return e is SvgElement && !(e is UnknownElement); | |
5322 } | |
5323 | |
5324 set _svgClassName(AnimatedString value) => | |
5325 _blink.BlinkSVGElement.instance.className_Setter_(this, value); | |
5326 | |
5327 // To suppress missing implicit constructor warnings. | |
5328 factory SvgElement._() { | |
5329 throw new UnsupportedError("Not supported"); | |
5330 } | |
5331 | |
5332 @DomName('SVGElement.abortEvent') | |
5333 @DocsEditable() | |
5334 @Experimental() // untriaged | |
5335 static const EventStreamProvider<Event> abortEvent = | |
5336 const EventStreamProvider<Event>('abort'); | |
5337 | |
5338 @DomName('SVGElement.blurEvent') | |
5339 @DocsEditable() | |
5340 @Experimental() // untriaged | |
5341 static const EventStreamProvider<Event> blurEvent = | |
5342 const EventStreamProvider<Event>('blur'); | |
5343 | |
5344 @DomName('SVGElement.canplayEvent') | |
5345 @DocsEditable() | |
5346 @Experimental() // untriaged | |
5347 static const EventStreamProvider<Event> canPlayEvent = | |
5348 const EventStreamProvider<Event>('canplay'); | |
5349 | |
5350 @DomName('SVGElement.canplaythroughEvent') | |
5351 @DocsEditable() | |
5352 @Experimental() // untriaged | |
5353 static const EventStreamProvider<Event> canPlayThroughEvent = | |
5354 const EventStreamProvider<Event>('canplaythrough'); | |
5355 | |
5356 @DomName('SVGElement.changeEvent') | |
5357 @DocsEditable() | |
5358 @Experimental() // untriaged | |
5359 static const EventStreamProvider<Event> changeEvent = | |
5360 const EventStreamProvider<Event>('change'); | |
5361 | |
5362 @DomName('SVGElement.clickEvent') | |
5363 @DocsEditable() | |
5364 @Experimental() // untriaged | |
5365 static const EventStreamProvider<MouseEvent> clickEvent = | |
5366 const EventStreamProvider<MouseEvent>('click'); | |
5367 | |
5368 @DomName('SVGElement.contextmenuEvent') | |
5369 @DocsEditable() | |
5370 @Experimental() // untriaged | |
5371 static const EventStreamProvider<MouseEvent> contextMenuEvent = | |
5372 const EventStreamProvider<MouseEvent>('contextmenu'); | |
5373 | |
5374 @DomName('SVGElement.dblclickEvent') | |
5375 @DocsEditable() | |
5376 @Experimental() // untriaged | |
5377 static const EventStreamProvider<Event> doubleClickEvent = | |
5378 const EventStreamProvider<Event>('dblclick'); | |
5379 | |
5380 @DomName('SVGElement.dragEvent') | |
5381 @DocsEditable() | |
5382 @Experimental() // untriaged | |
5383 static const EventStreamProvider<MouseEvent> dragEvent = | |
5384 const EventStreamProvider<MouseEvent>('drag'); | |
5385 | |
5386 @DomName('SVGElement.dragendEvent') | |
5387 @DocsEditable() | |
5388 @Experimental() // untriaged | |
5389 static const EventStreamProvider<MouseEvent> dragEndEvent = | |
5390 const EventStreamProvider<MouseEvent>('dragend'); | |
5391 | |
5392 @DomName('SVGElement.dragenterEvent') | |
5393 @DocsEditable() | |
5394 @Experimental() // untriaged | |
5395 static const EventStreamProvider<MouseEvent> dragEnterEvent = | |
5396 const EventStreamProvider<MouseEvent>('dragenter'); | |
5397 | |
5398 @DomName('SVGElement.dragleaveEvent') | |
5399 @DocsEditable() | |
5400 @Experimental() // untriaged | |
5401 static const EventStreamProvider<MouseEvent> dragLeaveEvent = | |
5402 const EventStreamProvider<MouseEvent>('dragleave'); | |
5403 | |
5404 @DomName('SVGElement.dragoverEvent') | |
5405 @DocsEditable() | |
5406 @Experimental() // untriaged | |
5407 static const EventStreamProvider<MouseEvent> dragOverEvent = | |
5408 const EventStreamProvider<MouseEvent>('dragover'); | |
5409 | |
5410 @DomName('SVGElement.dragstartEvent') | |
5411 @DocsEditable() | |
5412 @Experimental() // untriaged | |
5413 static const EventStreamProvider<MouseEvent> dragStartEvent = | |
5414 const EventStreamProvider<MouseEvent>('dragstart'); | |
5415 | |
5416 @DomName('SVGElement.dropEvent') | |
5417 @DocsEditable() | |
5418 @Experimental() // untriaged | |
5419 static const EventStreamProvider<MouseEvent> dropEvent = | |
5420 const EventStreamProvider<MouseEvent>('drop'); | |
5421 | |
5422 @DomName('SVGElement.durationchangeEvent') | |
5423 @DocsEditable() | |
5424 @Experimental() // untriaged | |
5425 static const EventStreamProvider<Event> durationChangeEvent = | |
5426 const EventStreamProvider<Event>('durationchange'); | |
5427 | |
5428 @DomName('SVGElement.emptiedEvent') | |
5429 @DocsEditable() | |
5430 @Experimental() // untriaged | |
5431 static const EventStreamProvider<Event> emptiedEvent = | |
5432 const EventStreamProvider<Event>('emptied'); | |
5433 | |
5434 @DomName('SVGElement.endedEvent') | |
5435 @DocsEditable() | |
5436 @Experimental() // untriaged | |
5437 static const EventStreamProvider<Event> endedEvent = | |
5438 const EventStreamProvider<Event>('ended'); | |
5439 | |
5440 @DomName('SVGElement.errorEvent') | |
5441 @DocsEditable() | |
5442 @Experimental() // untriaged | |
5443 static const EventStreamProvider<Event> errorEvent = | |
5444 const EventStreamProvider<Event>('error'); | |
5445 | |
5446 @DomName('SVGElement.focusEvent') | |
5447 @DocsEditable() | |
5448 @Experimental() // untriaged | |
5449 static const EventStreamProvider<Event> focusEvent = | |
5450 const EventStreamProvider<Event>('focus'); | |
5451 | |
5452 @DomName('SVGElement.inputEvent') | |
5453 @DocsEditable() | |
5454 @Experimental() // untriaged | |
5455 static const EventStreamProvider<Event> inputEvent = | |
5456 const EventStreamProvider<Event>('input'); | |
5457 | |
5458 @DomName('SVGElement.invalidEvent') | |
5459 @DocsEditable() | |
5460 @Experimental() // untriaged | |
5461 static const EventStreamProvider<Event> invalidEvent = | |
5462 const EventStreamProvider<Event>('invalid'); | |
5463 | |
5464 @DomName('SVGElement.keydownEvent') | |
5465 @DocsEditable() | |
5466 @Experimental() // untriaged | |
5467 static const EventStreamProvider<KeyboardEvent> keyDownEvent = | |
5468 const EventStreamProvider<KeyboardEvent>('keydown'); | |
5469 | |
5470 @DomName('SVGElement.keypressEvent') | |
5471 @DocsEditable() | |
5472 @Experimental() // untriaged | |
5473 static const EventStreamProvider<KeyboardEvent> keyPressEvent = | |
5474 const EventStreamProvider<KeyboardEvent>('keypress'); | |
5475 | |
5476 @DomName('SVGElement.keyupEvent') | |
5477 @DocsEditable() | |
5478 @Experimental() // untriaged | |
5479 static const EventStreamProvider<KeyboardEvent> keyUpEvent = | |
5480 const EventStreamProvider<KeyboardEvent>('keyup'); | |
5481 | |
5482 @DomName('SVGElement.loadEvent') | |
5483 @DocsEditable() | |
5484 @Experimental() // untriaged | |
5485 static const EventStreamProvider<Event> loadEvent = | |
5486 const EventStreamProvider<Event>('load'); | |
5487 | |
5488 @DomName('SVGElement.loadeddataEvent') | |
5489 @DocsEditable() | |
5490 @Experimental() // untriaged | |
5491 static const EventStreamProvider<Event> loadedDataEvent = | |
5492 const EventStreamProvider<Event>('loadeddata'); | |
5493 | |
5494 @DomName('SVGElement.loadedmetadataEvent') | |
5495 @DocsEditable() | |
5496 @Experimental() // untriaged | |
5497 static const EventStreamProvider<Event> loadedMetadataEvent = | |
5498 const EventStreamProvider<Event>('loadedmetadata'); | |
5499 | |
5500 @DomName('SVGElement.mousedownEvent') | |
5501 @DocsEditable() | |
5502 @Experimental() // untriaged | |
5503 static const EventStreamProvider<MouseEvent> mouseDownEvent = | |
5504 const EventStreamProvider<MouseEvent>('mousedown'); | |
5505 | |
5506 @DomName('SVGElement.mouseenterEvent') | |
5507 @DocsEditable() | |
5508 @Experimental() // untriaged | |
5509 static const EventStreamProvider<MouseEvent> mouseEnterEvent = | |
5510 const EventStreamProvider<MouseEvent>('mouseenter'); | |
5511 | |
5512 @DomName('SVGElement.mouseleaveEvent') | |
5513 @DocsEditable() | |
5514 @Experimental() // untriaged | |
5515 static const EventStreamProvider<MouseEvent> mouseLeaveEvent = | |
5516 const EventStreamProvider<MouseEvent>('mouseleave'); | |
5517 | |
5518 @DomName('SVGElement.mousemoveEvent') | |
5519 @DocsEditable() | |
5520 @Experimental() // untriaged | |
5521 static const EventStreamProvider<MouseEvent> mouseMoveEvent = | |
5522 const EventStreamProvider<MouseEvent>('mousemove'); | |
5523 | |
5524 @DomName('SVGElement.mouseoutEvent') | |
5525 @DocsEditable() | |
5526 @Experimental() // untriaged | |
5527 static const EventStreamProvider<MouseEvent> mouseOutEvent = | |
5528 const EventStreamProvider<MouseEvent>('mouseout'); | |
5529 | |
5530 @DomName('SVGElement.mouseoverEvent') | |
5531 @DocsEditable() | |
5532 @Experimental() // untriaged | |
5533 static const EventStreamProvider<MouseEvent> mouseOverEvent = | |
5534 const EventStreamProvider<MouseEvent>('mouseover'); | |
5535 | |
5536 @DomName('SVGElement.mouseupEvent') | |
5537 @DocsEditable() | |
5538 @Experimental() // untriaged | |
5539 static const EventStreamProvider<MouseEvent> mouseUpEvent = | |
5540 const EventStreamProvider<MouseEvent>('mouseup'); | |
5541 | |
5542 @DomName('SVGElement.mousewheelEvent') | |
5543 @DocsEditable() | |
5544 @Experimental() // untriaged | |
5545 static const EventStreamProvider<WheelEvent> mouseWheelEvent = | |
5546 const EventStreamProvider<WheelEvent>('mousewheel'); | |
5547 | |
5548 @DomName('SVGElement.pauseEvent') | |
5549 @DocsEditable() | |
5550 @Experimental() // untriaged | |
5551 static const EventStreamProvider<Event> pauseEvent = | |
5552 const EventStreamProvider<Event>('pause'); | |
5553 | |
5554 @DomName('SVGElement.playEvent') | |
5555 @DocsEditable() | |
5556 @Experimental() // untriaged | |
5557 static const EventStreamProvider<Event> playEvent = | |
5558 const EventStreamProvider<Event>('play'); | |
5559 | |
5560 @DomName('SVGElement.playingEvent') | |
5561 @DocsEditable() | |
5562 @Experimental() // untriaged | |
5563 static const EventStreamProvider<Event> playingEvent = | |
5564 const EventStreamProvider<Event>('playing'); | |
5565 | |
5566 @DomName('SVGElement.ratechangeEvent') | |
5567 @DocsEditable() | |
5568 @Experimental() // untriaged | |
5569 static const EventStreamProvider<Event> rateChangeEvent = | |
5570 const EventStreamProvider<Event>('ratechange'); | |
5571 | |
5572 @DomName('SVGElement.resetEvent') | |
5573 @DocsEditable() | |
5574 @Experimental() // untriaged | |
5575 static const EventStreamProvider<Event> resetEvent = | |
5576 const EventStreamProvider<Event>('reset'); | |
5577 | |
5578 @DomName('SVGElement.resizeEvent') | |
5579 @DocsEditable() | |
5580 @Experimental() // untriaged | |
5581 static const EventStreamProvider<Event> resizeEvent = | |
5582 const EventStreamProvider<Event>('resize'); | |
5583 | |
5584 @DomName('SVGElement.scrollEvent') | |
5585 @DocsEditable() | |
5586 @Experimental() // untriaged | |
5587 static const EventStreamProvider<Event> scrollEvent = | |
5588 const EventStreamProvider<Event>('scroll'); | |
5589 | |
5590 @DomName('SVGElement.seekedEvent') | |
5591 @DocsEditable() | |
5592 @Experimental() // untriaged | |
5593 static const EventStreamProvider<Event> seekedEvent = | |
5594 const EventStreamProvider<Event>('seeked'); | |
5595 | |
5596 @DomName('SVGElement.seekingEvent') | |
5597 @DocsEditable() | |
5598 @Experimental() // untriaged | |
5599 static const EventStreamProvider<Event> seekingEvent = | |
5600 const EventStreamProvider<Event>('seeking'); | |
5601 | |
5602 @DomName('SVGElement.selectEvent') | |
5603 @DocsEditable() | |
5604 @Experimental() // untriaged | |
5605 static const EventStreamProvider<Event> selectEvent = | |
5606 const EventStreamProvider<Event>('select'); | |
5607 | |
5608 @DomName('SVGElement.stalledEvent') | |
5609 @DocsEditable() | |
5610 @Experimental() // untriaged | |
5611 static const EventStreamProvider<Event> stalledEvent = | |
5612 const EventStreamProvider<Event>('stalled'); | |
5613 | |
5614 @DomName('SVGElement.submitEvent') | |
5615 @DocsEditable() | |
5616 @Experimental() // untriaged | |
5617 static const EventStreamProvider<Event> submitEvent = | |
5618 const EventStreamProvider<Event>('submit'); | |
5619 | |
5620 @DomName('SVGElement.suspendEvent') | |
5621 @DocsEditable() | |
5622 @Experimental() // untriaged | |
5623 static const EventStreamProvider<Event> suspendEvent = | |
5624 const EventStreamProvider<Event>('suspend'); | |
5625 | |
5626 @DomName('SVGElement.timeupdateEvent') | |
5627 @DocsEditable() | |
5628 @Experimental() // untriaged | |
5629 static const EventStreamProvider<Event> timeUpdateEvent = | |
5630 const EventStreamProvider<Event>('timeupdate'); | |
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 | |
5656 @DomName('SVGElement.volumechangeEvent') | |
5657 @DocsEditable() | |
5658 @Experimental() // untriaged | |
5659 static const EventStreamProvider<Event> volumeChangeEvent = | |
5660 const EventStreamProvider<Event>('volumechange'); | |
5661 | |
5662 @DomName('SVGElement.waitingEvent') | |
5663 @DocsEditable() | |
5664 @Experimental() // untriaged | |
5665 static const EventStreamProvider<Event> waitingEvent = | |
5666 const EventStreamProvider<Event>('waiting'); | |
5667 | |
5668 @Deprecated("Internal Use Only") | |
5669 external static Type get instanceRuntimeType; | |
5670 | |
5671 @Deprecated("Internal Use Only") | |
5672 SvgElement.internal_() : super.internal_(); | |
5673 | |
5674 /** | |
5675 * Constructor instantiated by the DOM when a custom element has been created. | |
5676 * | |
5677 * This can only be called by subclasses from their created constructor. | |
5678 */ | |
5679 SvgElement.created() : super.created(); | |
5680 | |
5681 @DomName('SVGElement.className') | |
5682 @DocsEditable() | |
5683 @Experimental() // untriaged | |
5684 AnimatedString get _svgClassName => | |
5685 _blink.BlinkSVGElement.instance.className_Getter_(this); | |
5686 | |
5687 @DomName('SVGElement.ownerSVGElement') | |
5688 @DocsEditable() | |
5689 SvgSvgElement get ownerSvgElement => | |
5690 _blink.BlinkSVGElement.instance.ownerSVGElement_Getter_(this); | |
5691 | |
5692 @DomName('SVGElement.style') | |
5693 @DocsEditable() | |
5694 @Experimental() // untriaged | |
5695 CssStyleDeclaration get style => | |
5696 _blink.BlinkSVGElement.instance.style_Getter_(this); | |
5697 | |
5698 @DomName('SVGElement.tabIndex') | |
5699 @DocsEditable() | |
5700 @Experimental() // untriaged | |
5701 int get tabIndex => _blink.BlinkSVGElement.instance.tabIndex_Getter_(this); | |
5702 | |
5703 @DomName('SVGElement.tabIndex') | |
5704 @DocsEditable() | |
5705 @Experimental() // untriaged | |
5706 set tabIndex(int value) => | |
5707 _blink.BlinkSVGElement.instance.tabIndex_Setter_(this, value); | |
5708 | |
5709 @DomName('SVGElement.viewportElement') | |
5710 @DocsEditable() | |
5711 SvgElement get viewportElement => | |
5712 _blink.BlinkSVGElement.instance.viewportElement_Getter_(this); | |
5713 | |
5714 @DomName('SVGElement.blur') | |
5715 @DocsEditable() | |
5716 @Experimental() // untriaged | |
5717 void blur() => _blink.BlinkSVGElement.instance.blur_Callback_0_(this); | |
5718 | |
5719 @DomName('SVGElement.focus') | |
5720 @DocsEditable() | |
5721 @Experimental() // untriaged | |
5722 void focus() => _blink.BlinkSVGElement.instance.focus_Callback_0_(this); | |
5723 | |
5724 @DomName('SVGElement.onabort') | |
5725 @DocsEditable() | |
5726 @Experimental() // untriaged | |
5727 ElementStream<Event> get onAbort => abortEvent.forElement(this); | |
5728 | |
5729 @DomName('SVGElement.onblur') | |
5730 @DocsEditable() | |
5731 @Experimental() // untriaged | |
5732 ElementStream<Event> get onBlur => blurEvent.forElement(this); | |
5733 | |
5734 @DomName('SVGElement.oncanplay') | |
5735 @DocsEditable() | |
5736 @Experimental() // untriaged | |
5737 ElementStream<Event> get onCanPlay => canPlayEvent.forElement(this); | |
5738 | |
5739 @DomName('SVGElement.oncanplaythrough') | |
5740 @DocsEditable() | |
5741 @Experimental() // untriaged | |
5742 ElementStream<Event> get onCanPlayThrough => | |
5743 canPlayThroughEvent.forElement(this); | |
5744 | |
5745 @DomName('SVGElement.onchange') | |
5746 @DocsEditable() | |
5747 @Experimental() // untriaged | |
5748 ElementStream<Event> get onChange => changeEvent.forElement(this); | |
5749 | |
5750 @DomName('SVGElement.onclick') | |
5751 @DocsEditable() | |
5752 @Experimental() // untriaged | |
5753 ElementStream<MouseEvent> get onClick => clickEvent.forElement(this); | |
5754 | |
5755 @DomName('SVGElement.oncontextmenu') | |
5756 @DocsEditable() | |
5757 @Experimental() // untriaged | |
5758 ElementStream<MouseEvent> get onContextMenu => | |
5759 contextMenuEvent.forElement(this); | |
5760 | |
5761 @DomName('SVGElement.ondblclick') | |
5762 @DocsEditable() | |
5763 @Experimental() // untriaged | |
5764 ElementStream<Event> get onDoubleClick => doubleClickEvent.forElement(this); | |
5765 | |
5766 @DomName('SVGElement.ondrag') | |
5767 @DocsEditable() | |
5768 @Experimental() // untriaged | |
5769 ElementStream<MouseEvent> get onDrag => dragEvent.forElement(this); | |
5770 | |
5771 @DomName('SVGElement.ondragend') | |
5772 @DocsEditable() | |
5773 @Experimental() // untriaged | |
5774 ElementStream<MouseEvent> get onDragEnd => dragEndEvent.forElement(this); | |
5775 | |
5776 @DomName('SVGElement.ondragenter') | |
5777 @DocsEditable() | |
5778 @Experimental() // untriaged | |
5779 ElementStream<MouseEvent> get onDragEnter => dragEnterEvent.forElement(this); | |
5780 | |
5781 @DomName('SVGElement.ondragleave') | |
5782 @DocsEditable() | |
5783 @Experimental() // untriaged | |
5784 ElementStream<MouseEvent> get onDragLeave => dragLeaveEvent.forElement(this); | |
5785 | |
5786 @DomName('SVGElement.ondragover') | |
5787 @DocsEditable() | |
5788 @Experimental() // untriaged | |
5789 ElementStream<MouseEvent> get onDragOver => dragOverEvent.forElement(this); | |
5790 | |
5791 @DomName('SVGElement.ondragstart') | |
5792 @DocsEditable() | |
5793 @Experimental() // untriaged | |
5794 ElementStream<MouseEvent> get onDragStart => dragStartEvent.forElement(this); | |
5795 | |
5796 @DomName('SVGElement.ondrop') | |
5797 @DocsEditable() | |
5798 @Experimental() // untriaged | |
5799 ElementStream<MouseEvent> get onDrop => dropEvent.forElement(this); | |
5800 | |
5801 @DomName('SVGElement.ondurationchange') | |
5802 @DocsEditable() | |
5803 @Experimental() // untriaged | |
5804 ElementStream<Event> get onDurationChange => | |
5805 durationChangeEvent.forElement(this); | |
5806 | |
5807 @DomName('SVGElement.onemptied') | |
5808 @DocsEditable() | |
5809 @Experimental() // untriaged | |
5810 ElementStream<Event> get onEmptied => emptiedEvent.forElement(this); | |
5811 | |
5812 @DomName('SVGElement.onended') | |
5813 @DocsEditable() | |
5814 @Experimental() // untriaged | |
5815 ElementStream<Event> get onEnded => endedEvent.forElement(this); | |
5816 | |
5817 @DomName('SVGElement.onerror') | |
5818 @DocsEditable() | |
5819 @Experimental() // untriaged | |
5820 ElementStream<Event> get onError => errorEvent.forElement(this); | |
5821 | |
5822 @DomName('SVGElement.onfocus') | |
5823 @DocsEditable() | |
5824 @Experimental() // untriaged | |
5825 ElementStream<Event> get onFocus => focusEvent.forElement(this); | |
5826 | |
5827 @DomName('SVGElement.oninput') | |
5828 @DocsEditable() | |
5829 @Experimental() // untriaged | |
5830 ElementStream<Event> get onInput => inputEvent.forElement(this); | |
5831 | |
5832 @DomName('SVGElement.oninvalid') | |
5833 @DocsEditable() | |
5834 @Experimental() // untriaged | |
5835 ElementStream<Event> get onInvalid => invalidEvent.forElement(this); | |
5836 | |
5837 @DomName('SVGElement.onkeydown') | |
5838 @DocsEditable() | |
5839 @Experimental() // untriaged | |
5840 ElementStream<KeyboardEvent> get onKeyDown => keyDownEvent.forElement(this); | |
5841 | |
5842 @DomName('SVGElement.onkeypress') | |
5843 @DocsEditable() | |
5844 @Experimental() // untriaged | |
5845 ElementStream<KeyboardEvent> get onKeyPress => keyPressEvent.forElement(this); | |
5846 | |
5847 @DomName('SVGElement.onkeyup') | |
5848 @DocsEditable() | |
5849 @Experimental() // untriaged | |
5850 ElementStream<KeyboardEvent> get onKeyUp => keyUpEvent.forElement(this); | |
5851 | |
5852 @DomName('SVGElement.onload') | |
5853 @DocsEditable() | |
5854 @Experimental() // untriaged | |
5855 ElementStream<Event> get onLoad => loadEvent.forElement(this); | |
5856 | |
5857 @DomName('SVGElement.onloadeddata') | |
5858 @DocsEditable() | |
5859 @Experimental() // untriaged | |
5860 ElementStream<Event> get onLoadedData => loadedDataEvent.forElement(this); | |
5861 | |
5862 @DomName('SVGElement.onloadedmetadata') | |
5863 @DocsEditable() | |
5864 @Experimental() // untriaged | |
5865 ElementStream<Event> get onLoadedMetadata => | |
5866 loadedMetadataEvent.forElement(this); | |
5867 | |
5868 @DomName('SVGElement.onmousedown') | |
5869 @DocsEditable() | |
5870 @Experimental() // untriaged | |
5871 ElementStream<MouseEvent> get onMouseDown => mouseDownEvent.forElement(this); | |
5872 | |
5873 @DomName('SVGElement.onmouseenter') | |
5874 @DocsEditable() | |
5875 @Experimental() // untriaged | |
5876 ElementStream<MouseEvent> get onMouseEnter => | |
5877 mouseEnterEvent.forElement(this); | |
5878 | |
5879 @DomName('SVGElement.onmouseleave') | |
5880 @DocsEditable() | |
5881 @Experimental() // untriaged | |
5882 ElementStream<MouseEvent> get onMouseLeave => | |
5883 mouseLeaveEvent.forElement(this); | |
5884 | |
5885 @DomName('SVGElement.onmousemove') | |
5886 @DocsEditable() | |
5887 @Experimental() // untriaged | |
5888 ElementStream<MouseEvent> get onMouseMove => mouseMoveEvent.forElement(this); | |
5889 | |
5890 @DomName('SVGElement.onmouseout') | |
5891 @DocsEditable() | |
5892 @Experimental() // untriaged | |
5893 ElementStream<MouseEvent> get onMouseOut => mouseOutEvent.forElement(this); | |
5894 | |
5895 @DomName('SVGElement.onmouseover') | |
5896 @DocsEditable() | |
5897 @Experimental() // untriaged | |
5898 ElementStream<MouseEvent> get onMouseOver => mouseOverEvent.forElement(this); | |
5899 | |
5900 @DomName('SVGElement.onmouseup') | |
5901 @DocsEditable() | |
5902 @Experimental() // untriaged | |
5903 ElementStream<MouseEvent> get onMouseUp => mouseUpEvent.forElement(this); | |
5904 | |
5905 @DomName('SVGElement.onmousewheel') | |
5906 @DocsEditable() | |
5907 @Experimental() // untriaged | |
5908 ElementStream<WheelEvent> get onMouseWheel => | |
5909 mouseWheelEvent.forElement(this); | |
5910 | |
5911 @DomName('SVGElement.onpause') | |
5912 @DocsEditable() | |
5913 @Experimental() // untriaged | |
5914 ElementStream<Event> get onPause => pauseEvent.forElement(this); | |
5915 | |
5916 @DomName('SVGElement.onplay') | |
5917 @DocsEditable() | |
5918 @Experimental() // untriaged | |
5919 ElementStream<Event> get onPlay => playEvent.forElement(this); | |
5920 | |
5921 @DomName('SVGElement.onplaying') | |
5922 @DocsEditable() | |
5923 @Experimental() // untriaged | |
5924 ElementStream<Event> get onPlaying => playingEvent.forElement(this); | |
5925 | |
5926 @DomName('SVGElement.onratechange') | |
5927 @DocsEditable() | |
5928 @Experimental() // untriaged | |
5929 ElementStream<Event> get onRateChange => rateChangeEvent.forElement(this); | |
5930 | |
5931 @DomName('SVGElement.onreset') | |
5932 @DocsEditable() | |
5933 @Experimental() // untriaged | |
5934 ElementStream<Event> get onReset => resetEvent.forElement(this); | |
5935 | |
5936 @DomName('SVGElement.onresize') | |
5937 @DocsEditable() | |
5938 @Experimental() // untriaged | |
5939 ElementStream<Event> get onResize => resizeEvent.forElement(this); | |
5940 | |
5941 @DomName('SVGElement.onscroll') | |
5942 @DocsEditable() | |
5943 @Experimental() // untriaged | |
5944 ElementStream<Event> get onScroll => scrollEvent.forElement(this); | |
5945 | |
5946 @DomName('SVGElement.onseeked') | |
5947 @DocsEditable() | |
5948 @Experimental() // untriaged | |
5949 ElementStream<Event> get onSeeked => seekedEvent.forElement(this); | |
5950 | |
5951 @DomName('SVGElement.onseeking') | |
5952 @DocsEditable() | |
5953 @Experimental() // untriaged | |
5954 ElementStream<Event> get onSeeking => seekingEvent.forElement(this); | |
5955 | |
5956 @DomName('SVGElement.onselect') | |
5957 @DocsEditable() | |
5958 @Experimental() // untriaged | |
5959 ElementStream<Event> get onSelect => selectEvent.forElement(this); | |
5960 | |
5961 @DomName('SVGElement.onstalled') | |
5962 @DocsEditable() | |
5963 @Experimental() // untriaged | |
5964 ElementStream<Event> get onStalled => stalledEvent.forElement(this); | |
5965 | |
5966 @DomName('SVGElement.onsubmit') | |
5967 @DocsEditable() | |
5968 @Experimental() // untriaged | |
5969 ElementStream<Event> get onSubmit => submitEvent.forElement(this); | |
5970 | |
5971 @DomName('SVGElement.onsuspend') | |
5972 @DocsEditable() | |
5973 @Experimental() // untriaged | |
5974 ElementStream<Event> get onSuspend => suspendEvent.forElement(this); | |
5975 | |
5976 @DomName('SVGElement.ontimeupdate') | |
5977 @DocsEditable() | |
5978 @Experimental() // untriaged | |
5979 ElementStream<Event> get onTimeUpdate => timeUpdateEvent.forElement(this); | |
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 | |
6003 @DomName('SVGElement.onvolumechange') | |
6004 @DocsEditable() | |
6005 @Experimental() // untriaged | |
6006 ElementStream<Event> get onVolumeChange => volumeChangeEvent.forElement(this); | |
6007 | |
6008 @DomName('SVGElement.onwaiting') | |
6009 @DocsEditable() | |
6010 @Experimental() // untriaged | |
6011 ElementStream<Event> get onWaiting => waitingEvent.forElement(this); | |
6012 } | |
6013 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6014 // for details. All rights reserved. Use of this source code is governed by a | |
6015 // BSD-style license that can be found in the LICENSE file. | |
6016 | |
6017 @DomName('SVGSVGElement') | |
6018 @Unstable() | |
6019 class SvgSvgElement extends GraphicsElement | |
6020 implements FitToViewBox, ZoomAndPan { | |
6021 factory SvgSvgElement() { | |
6022 final el = new SvgElement.tag("svg"); | |
6023 // The SVG spec requires the version attribute to match the spec version | |
6024 el.attributes['version'] = "1.1"; | |
6025 return el; | |
6026 } | |
6027 | |
6028 // To suppress missing implicit constructor warnings. | |
6029 factory SvgSvgElement._() { | |
6030 throw new UnsupportedError("Not supported"); | |
6031 } | |
6032 | |
6033 @Deprecated("Internal Use Only") | |
6034 external static Type get instanceRuntimeType; | |
6035 | |
6036 @Deprecated("Internal Use Only") | |
6037 SvgSvgElement.internal_() : super.internal_(); | |
6038 | |
6039 /** | |
6040 * Constructor instantiated by the DOM when a custom element has been created. | |
6041 * | |
6042 * This can only be called by subclasses from their created constructor. | |
6043 */ | |
6044 SvgSvgElement.created() : super.created(); | |
6045 | |
6046 @DomName('SVGSVGElement.currentScale') | |
6047 @DocsEditable() | |
6048 num get currentScale => | |
6049 _blink.BlinkSVGSVGElement.instance.currentScale_Getter_(this); | |
6050 | |
6051 @DomName('SVGSVGElement.currentScale') | |
6052 @DocsEditable() | |
6053 set currentScale(num value) => | |
6054 _blink.BlinkSVGSVGElement.instance.currentScale_Setter_(this, value); | |
6055 | |
6056 @DomName('SVGSVGElement.currentTranslate') | |
6057 @DocsEditable() | |
6058 Point get currentTranslate => | |
6059 _blink.BlinkSVGSVGElement.instance.currentTranslate_Getter_(this); | |
6060 | |
6061 @DomName('SVGSVGElement.currentView') | |
6062 @DocsEditable() | |
6063 ViewSpec get currentView => | |
6064 _blink.BlinkSVGSVGElement.instance.currentView_Getter_(this); | |
6065 | |
6066 @DomName('SVGSVGElement.height') | |
6067 @DocsEditable() | |
6068 AnimatedLength get height => | |
6069 _blink.BlinkSVGSVGElement.instance.height_Getter_(this); | |
6070 | |
6071 @DomName('SVGSVGElement.useCurrentView') | |
6072 @DocsEditable() | |
6073 bool get useCurrentView => | |
6074 _blink.BlinkSVGSVGElement.instance.useCurrentView_Getter_(this); | |
6075 | |
6076 @DomName('SVGSVGElement.viewport') | |
6077 @DocsEditable() | |
6078 Rect get viewport => | |
6079 _blink.BlinkSVGSVGElement.instance.viewport_Getter_(this); | |
6080 | |
6081 @DomName('SVGSVGElement.width') | |
6082 @DocsEditable() | |
6083 AnimatedLength get width => | |
6084 _blink.BlinkSVGSVGElement.instance.width_Getter_(this); | |
6085 | |
6086 @DomName('SVGSVGElement.x') | |
6087 @DocsEditable() | |
6088 AnimatedLength get x => _blink.BlinkSVGSVGElement.instance.x_Getter_(this); | |
6089 | |
6090 @DomName('SVGSVGElement.y') | |
6091 @DocsEditable() | |
6092 AnimatedLength get y => _blink.BlinkSVGSVGElement.instance.y_Getter_(this); | |
6093 | |
6094 @DomName('SVGSVGElement.animationsPaused') | |
6095 @DocsEditable() | |
6096 bool animationsPaused() => | |
6097 _blink.BlinkSVGSVGElement.instance.animationsPaused_Callback_0_(this); | |
6098 | |
6099 @DomName('SVGSVGElement.checkEnclosure') | |
6100 @DocsEditable() | |
6101 bool checkEnclosure(SvgElement element, Rect rect) => | |
6102 _blink.BlinkSVGSVGElement.instance | |
6103 .checkEnclosure_Callback_2_(this, element, rect); | |
6104 | |
6105 @DomName('SVGSVGElement.checkIntersection') | |
6106 @DocsEditable() | |
6107 bool checkIntersection(SvgElement element, Rect rect) => | |
6108 _blink.BlinkSVGSVGElement.instance | |
6109 .checkIntersection_Callback_2_(this, element, rect); | |
6110 | |
6111 @DomName('SVGSVGElement.createSVGAngle') | |
6112 @DocsEditable() | |
6113 Angle createSvgAngle() => | |
6114 _blink.BlinkSVGSVGElement.instance.createSVGAngle_Callback_0_(this); | |
6115 | |
6116 @DomName('SVGSVGElement.createSVGLength') | |
6117 @DocsEditable() | |
6118 Length createSvgLength() => | |
6119 _blink.BlinkSVGSVGElement.instance.createSVGLength_Callback_0_(this); | |
6120 | |
6121 @DomName('SVGSVGElement.createSVGMatrix') | |
6122 @DocsEditable() | |
6123 Matrix createSvgMatrix() => | |
6124 _blink.BlinkSVGSVGElement.instance.createSVGMatrix_Callback_0_(this); | |
6125 | |
6126 @DomName('SVGSVGElement.createSVGNumber') | |
6127 @DocsEditable() | |
6128 Number createSvgNumber() => | |
6129 _blink.BlinkSVGSVGElement.instance.createSVGNumber_Callback_0_(this); | |
6130 | |
6131 @DomName('SVGSVGElement.createSVGPoint') | |
6132 @DocsEditable() | |
6133 Point createSvgPoint() => | |
6134 _blink.BlinkSVGSVGElement.instance.createSVGPoint_Callback_0_(this); | |
6135 | |
6136 @DomName('SVGSVGElement.createSVGRect') | |
6137 @DocsEditable() | |
6138 Rect createSvgRect() => | |
6139 _blink.BlinkSVGSVGElement.instance.createSVGRect_Callback_0_(this); | |
6140 | |
6141 @DomName('SVGSVGElement.createSVGTransform') | |
6142 @DocsEditable() | |
6143 Transform createSvgTransform() => | |
6144 _blink.BlinkSVGSVGElement.instance.createSVGTransform_Callback_0_(this); | |
6145 | |
6146 @DomName('SVGSVGElement.createSVGTransformFromMatrix') | |
6147 @DocsEditable() | |
6148 Transform createSvgTransformFromMatrix(Matrix matrix) => | |
6149 _blink.BlinkSVGSVGElement.instance | |
6150 .createSVGTransformFromMatrix_Callback_1_(this, matrix); | |
6151 | |
6152 @DomName('SVGSVGElement.deselectAll') | |
6153 @DocsEditable() | |
6154 void deselectAll() => | |
6155 _blink.BlinkSVGSVGElement.instance.deselectAll_Callback_0_(this); | |
6156 | |
6157 @DomName('SVGSVGElement.forceRedraw') | |
6158 @DocsEditable() | |
6159 void forceRedraw() => | |
6160 _blink.BlinkSVGSVGElement.instance.forceRedraw_Callback_0_(this); | |
6161 | |
6162 @DomName('SVGSVGElement.getCurrentTime') | |
6163 @DocsEditable() | |
6164 num getCurrentTime() => | |
6165 _blink.BlinkSVGSVGElement.instance.getCurrentTime_Callback_0_(this); | |
6166 | |
6167 @DomName('SVGSVGElement.getElementById') | |
6168 @DocsEditable() | |
6169 Element getElementById(String elementId) => _blink.BlinkSVGSVGElement.instance | |
6170 .getElementById_Callback_1_(this, elementId); | |
6171 | |
6172 @DomName('SVGSVGElement.getEnclosureList') | |
6173 @DocsEditable() | |
6174 List<Node> getEnclosureList(Rect rect, SvgElement referenceElement) => | |
6175 (_blink.BlinkSVGSVGElement.instance | |
6176 .getEnclosureList_Callback_2_(this, rect, referenceElement)); | |
6177 | |
6178 @DomName('SVGSVGElement.getIntersectionList') | |
6179 @DocsEditable() | |
6180 List<Node> getIntersectionList(Rect rect, SvgElement referenceElement) => | |
6181 (_blink.BlinkSVGSVGElement.instance | |
6182 .getIntersectionList_Callback_2_(this, rect, referenceElement)); | |
6183 | |
6184 @DomName('SVGSVGElement.pauseAnimations') | |
6185 @DocsEditable() | |
6186 void pauseAnimations() => | |
6187 _blink.BlinkSVGSVGElement.instance.pauseAnimations_Callback_0_(this); | |
6188 | |
6189 @DomName('SVGSVGElement.setCurrentTime') | |
6190 @DocsEditable() | |
6191 void setCurrentTime(num seconds) => _blink.BlinkSVGSVGElement.instance | |
6192 .setCurrentTime_Callback_1_(this, seconds); | |
6193 | |
6194 @DomName('SVGSVGElement.suspendRedraw') | |
6195 @DocsEditable() | |
6196 int suspendRedraw(int maxWaitMilliseconds) => | |
6197 _blink.BlinkSVGSVGElement.instance | |
6198 .suspendRedraw_Callback_1_(this, maxWaitMilliseconds); | |
6199 | |
6200 @DomName('SVGSVGElement.unpauseAnimations') | |
6201 @DocsEditable() | |
6202 void unpauseAnimations() => | |
6203 _blink.BlinkSVGSVGElement.instance.unpauseAnimations_Callback_0_(this); | |
6204 | |
6205 @DomName('SVGSVGElement.unsuspendRedraw') | |
6206 @DocsEditable() | |
6207 void unsuspendRedraw(int suspendHandleId) => | |
6208 _blink.BlinkSVGSVGElement.instance | |
6209 .unsuspendRedraw_Callback_1_(this, suspendHandleId); | |
6210 | |
6211 @DomName('SVGSVGElement.unsuspendRedrawAll') | |
6212 @DocsEditable() | |
6213 void unsuspendRedrawAll() => | |
6214 _blink.BlinkSVGSVGElement.instance.unsuspendRedrawAll_Callback_0_(this); | |
6215 | |
6216 @DomName('SVGSVGElement.preserveAspectRatio') | |
6217 @DocsEditable() | |
6218 AnimatedPreserveAspectRatio get preserveAspectRatio => | |
6219 _blink.BlinkSVGSVGElement.instance.preserveAspectRatio_Getter_(this); | |
6220 | |
6221 @DomName('SVGSVGElement.viewBox') | |
6222 @DocsEditable() | |
6223 AnimatedRect get viewBox => | |
6224 _blink.BlinkSVGSVGElement.instance.viewBox_Getter_(this); | |
6225 | |
6226 @DomName('SVGSVGElement.zoomAndPan') | |
6227 @DocsEditable() | |
6228 int get zoomAndPan => | |
6229 _blink.BlinkSVGSVGElement.instance.zoomAndPan_Getter_(this); | |
6230 | |
6231 @DomName('SVGSVGElement.zoomAndPan') | |
6232 @DocsEditable() | |
6233 set zoomAndPan(int value) => | |
6234 _blink.BlinkSVGSVGElement.instance.zoomAndPan_Setter_(this, value); | |
6235 } | |
6236 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6237 // for details. All rights reserved. Use of this source code is governed by a | |
6238 // BSD-style license that can be found in the LICENSE file. | |
6239 | |
6240 // WARNING: Do not edit - generated code. | |
6241 | |
6242 @DocsEditable() | |
6243 @DomName('SVGSwitchElement') | |
6244 @Unstable() | |
6245 class SwitchElement extends GraphicsElement { | |
6246 // To suppress missing implicit constructor warnings. | |
6247 factory SwitchElement._() { | |
6248 throw new UnsupportedError("Not supported"); | |
6249 } | |
6250 | |
6251 @DomName('SVGSwitchElement.SVGSwitchElement') | |
6252 @DocsEditable() | |
6253 factory SwitchElement() => | |
6254 _SvgElementFactoryProvider.createSvgElement_tag("switch"); | |
6255 | |
6256 @Deprecated("Internal Use Only") | |
6257 external static Type get instanceRuntimeType; | |
6258 | |
6259 @Deprecated("Internal Use Only") | |
6260 SwitchElement.internal_() : super.internal_(); | |
6261 | |
6262 /** | |
6263 * Constructor instantiated by the DOM when a custom element has been created. | |
6264 * | |
6265 * This can only be called by subclasses from their created constructor. | |
6266 */ | |
6267 SwitchElement.created() : super.created(); | |
6268 } | |
6269 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6270 // for details. All rights reserved. Use of this source code is governed by a | |
6271 // BSD-style license that can be found in the LICENSE file. | |
6272 | |
6273 // WARNING: Do not edit - generated code. | |
6274 | |
6275 @DocsEditable() | |
6276 @DomName('SVGSymbolElement') | |
6277 @Unstable() | |
6278 class SymbolElement extends SvgElement implements FitToViewBox { | |
6279 // To suppress missing implicit constructor warnings. | |
6280 factory SymbolElement._() { | |
6281 throw new UnsupportedError("Not supported"); | |
6282 } | |
6283 | |
6284 @DomName('SVGSymbolElement.SVGSymbolElement') | |
6285 @DocsEditable() | |
6286 factory SymbolElement() => | |
6287 _SvgElementFactoryProvider.createSvgElement_tag("symbol"); | |
6288 | |
6289 @Deprecated("Internal Use Only") | |
6290 external static Type get instanceRuntimeType; | |
6291 | |
6292 @Deprecated("Internal Use Only") | |
6293 SymbolElement.internal_() : super.internal_(); | |
6294 | |
6295 /** | |
6296 * Constructor instantiated by the DOM when a custom element has been created. | |
6297 * | |
6298 * This can only be called by subclasses from their created constructor. | |
6299 */ | |
6300 SymbolElement.created() : super.created(); | |
6301 | |
6302 @DomName('SVGSymbolElement.preserveAspectRatio') | |
6303 @DocsEditable() | |
6304 AnimatedPreserveAspectRatio get preserveAspectRatio => | |
6305 _blink.BlinkSVGSymbolElement.instance.preserveAspectRatio_Getter_(this); | |
6306 | |
6307 @DomName('SVGSymbolElement.viewBox') | |
6308 @DocsEditable() | |
6309 AnimatedRect get viewBox => | |
6310 _blink.BlinkSVGSymbolElement.instance.viewBox_Getter_(this); | |
6311 } | |
6312 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6313 // for details. All rights reserved. Use of this source code is governed by a | |
6314 // BSD-style license that can be found in the LICENSE file. | |
6315 | |
6316 // WARNING: Do not edit - generated code. | |
6317 | |
6318 @DocsEditable() | |
6319 @DomName('SVGTSpanElement') | |
6320 @Unstable() | |
6321 class TSpanElement extends TextPositioningElement { | |
6322 // To suppress missing implicit constructor warnings. | |
6323 factory TSpanElement._() { | |
6324 throw new UnsupportedError("Not supported"); | |
6325 } | |
6326 | |
6327 @DomName('SVGTSpanElement.SVGTSpanElement') | |
6328 @DocsEditable() | |
6329 factory TSpanElement() => | |
6330 _SvgElementFactoryProvider.createSvgElement_tag("tspan"); | |
6331 | |
6332 @Deprecated("Internal Use Only") | |
6333 external static Type get instanceRuntimeType; | |
6334 | |
6335 @Deprecated("Internal Use Only") | |
6336 TSpanElement.internal_() : super.internal_(); | |
6337 | |
6338 /** | |
6339 * Constructor instantiated by the DOM when a custom element has been created. | |
6340 * | |
6341 * This can only be called by subclasses from their created constructor. | |
6342 */ | |
6343 TSpanElement.created() : super.created(); | |
6344 } | |
6345 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6346 // for details. All rights reserved. Use of this source code is governed by a | |
6347 // BSD-style license that can be found in the LICENSE file. | |
6348 | |
6349 // WARNING: Do not edit - generated code. | |
6350 | |
6351 @DocsEditable() | |
6352 @DomName('SVGTests') | |
6353 @Unstable() | |
6354 abstract class Tests extends DartHtmlDomObject { | |
6355 // To suppress missing implicit constructor warnings. | |
6356 factory Tests._() { | |
6357 throw new UnsupportedError("Not supported"); | |
6358 } | |
6359 | |
6360 @DomName('SVGTests.requiredExtensions') | |
6361 @DocsEditable() | |
6362 StringList get requiredExtensions; | |
6363 | |
6364 @DomName('SVGTests.requiredFeatures') | |
6365 @DocsEditable() | |
6366 StringList get requiredFeatures; | |
6367 | |
6368 @DomName('SVGTests.systemLanguage') | |
6369 @DocsEditable() | |
6370 StringList get systemLanguage; | |
6371 } | |
6372 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6373 // for details. All rights reserved. Use of this source code is governed by a | |
6374 // BSD-style license that can be found in the LICENSE file. | |
6375 | |
6376 // WARNING: Do not edit - generated code. | |
6377 | |
6378 @DocsEditable() | |
6379 @DomName('SVGTextContentElement') | |
6380 @Unstable() | |
6381 class TextContentElement extends GraphicsElement { | |
6382 // To suppress missing implicit constructor warnings. | |
6383 factory TextContentElement._() { | |
6384 throw new UnsupportedError("Not supported"); | |
6385 } | |
6386 | |
6387 @Deprecated("Internal Use Only") | |
6388 external static Type get instanceRuntimeType; | |
6389 | |
6390 @Deprecated("Internal Use Only") | |
6391 TextContentElement.internal_() : super.internal_(); | |
6392 | |
6393 /** | |
6394 * Constructor instantiated by the DOM when a custom element has been created. | |
6395 * | |
6396 * This can only be called by subclasses from their created constructor. | |
6397 */ | |
6398 TextContentElement.created() : super.created(); | |
6399 | |
6400 @DomName('SVGTextContentElement.LENGTHADJUST_SPACING') | |
6401 @DocsEditable() | |
6402 static const int LENGTHADJUST_SPACING = 1; | |
6403 | |
6404 @DomName('SVGTextContentElement.LENGTHADJUST_SPACINGANDGLYPHS') | |
6405 @DocsEditable() | |
6406 static const int LENGTHADJUST_SPACINGANDGLYPHS = 2; | |
6407 | |
6408 @DomName('SVGTextContentElement.LENGTHADJUST_UNKNOWN') | |
6409 @DocsEditable() | |
6410 static const int LENGTHADJUST_UNKNOWN = 0; | |
6411 | |
6412 @DomName('SVGTextContentElement.lengthAdjust') | |
6413 @DocsEditable() | |
6414 AnimatedEnumeration get lengthAdjust => | |
6415 _blink.BlinkSVGTextContentElement.instance.lengthAdjust_Getter_(this); | |
6416 | |
6417 @DomName('SVGTextContentElement.textLength') | |
6418 @DocsEditable() | |
6419 AnimatedLength get textLength => | |
6420 _blink.BlinkSVGTextContentElement.instance.textLength_Getter_(this); | |
6421 | |
6422 @DomName('SVGTextContentElement.getCharNumAtPosition') | |
6423 @DocsEditable() | |
6424 int getCharNumAtPosition(Point point) => | |
6425 _blink.BlinkSVGTextContentElement.instance | |
6426 .getCharNumAtPosition_Callback_1_(this, point); | |
6427 | |
6428 @DomName('SVGTextContentElement.getComputedTextLength') | |
6429 @DocsEditable() | |
6430 num getComputedTextLength() => _blink.BlinkSVGTextContentElement.instance | |
6431 .getComputedTextLength_Callback_0_(this); | |
6432 | |
6433 @DomName('SVGTextContentElement.getEndPositionOfChar') | |
6434 @DocsEditable() | |
6435 Point getEndPositionOfChar(int charnum) => | |
6436 _blink.BlinkSVGTextContentElement.instance | |
6437 .getEndPositionOfChar_Callback_1_(this, charnum); | |
6438 | |
6439 @DomName('SVGTextContentElement.getExtentOfChar') | |
6440 @DocsEditable() | |
6441 Rect getExtentOfChar(int charnum) => | |
6442 _blink.BlinkSVGTextContentElement.instance | |
6443 .getExtentOfChar_Callback_1_(this, charnum); | |
6444 | |
6445 @DomName('SVGTextContentElement.getNumberOfChars') | |
6446 @DocsEditable() | |
6447 int getNumberOfChars() => _blink.BlinkSVGTextContentElement.instance | |
6448 .getNumberOfChars_Callback_0_(this); | |
6449 | |
6450 @DomName('SVGTextContentElement.getRotationOfChar') | |
6451 @DocsEditable() | |
6452 num getRotationOfChar(int charnum) => | |
6453 _blink.BlinkSVGTextContentElement.instance | |
6454 .getRotationOfChar_Callback_1_(this, charnum); | |
6455 | |
6456 @DomName('SVGTextContentElement.getStartPositionOfChar') | |
6457 @DocsEditable() | |
6458 Point getStartPositionOfChar(int charnum) => | |
6459 _blink.BlinkSVGTextContentElement.instance | |
6460 .getStartPositionOfChar_Callback_1_(this, charnum); | |
6461 | |
6462 @DomName('SVGTextContentElement.getSubStringLength') | |
6463 @DocsEditable() | |
6464 num getSubStringLength(int charnum, int nchars) => | |
6465 _blink.BlinkSVGTextContentElement.instance | |
6466 .getSubStringLength_Callback_2_(this, charnum, nchars); | |
6467 | |
6468 @DomName('SVGTextContentElement.selectSubString') | |
6469 @DocsEditable() | |
6470 void selectSubString(int charnum, int nchars) => | |
6471 _blink.BlinkSVGTextContentElement.instance | |
6472 .selectSubString_Callback_2_(this, charnum, nchars); | |
6473 } | |
6474 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6475 // for details. All rights reserved. Use of this source code is governed by a | |
6476 // BSD-style license that can be found in the LICENSE file. | |
6477 | |
6478 // WARNING: Do not edit - generated code. | |
6479 | |
6480 @DocsEditable() | |
6481 @DomName('SVGTextElement') | |
6482 @Unstable() | |
6483 class TextElement extends TextPositioningElement { | |
6484 // To suppress missing implicit constructor warnings. | |
6485 factory TextElement._() { | |
6486 throw new UnsupportedError("Not supported"); | |
6487 } | |
6488 | |
6489 @DomName('SVGTextElement.SVGTextElement') | |
6490 @DocsEditable() | |
6491 factory TextElement() => | |
6492 _SvgElementFactoryProvider.createSvgElement_tag("text"); | |
6493 | |
6494 @Deprecated("Internal Use Only") | |
6495 external static Type get instanceRuntimeType; | |
6496 | |
6497 @Deprecated("Internal Use Only") | |
6498 TextElement.internal_() : super.internal_(); | |
6499 | |
6500 /** | |
6501 * Constructor instantiated by the DOM when a custom element has been created. | |
6502 * | |
6503 * This can only be called by subclasses from their created constructor. | |
6504 */ | |
6505 TextElement.created() : super.created(); | |
6506 } | |
6507 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6508 // for details. All rights reserved. Use of this source code is governed by a | |
6509 // BSD-style license that can be found in the LICENSE file. | |
6510 | |
6511 // WARNING: Do not edit - generated code. | |
6512 | |
6513 @DocsEditable() | |
6514 @DomName('SVGTextPathElement') | |
6515 @Unstable() | |
6516 class TextPathElement extends TextContentElement implements UriReference { | |
6517 // To suppress missing implicit constructor warnings. | |
6518 factory TextPathElement._() { | |
6519 throw new UnsupportedError("Not supported"); | |
6520 } | |
6521 | |
6522 @Deprecated("Internal Use Only") | |
6523 external static Type get instanceRuntimeType; | |
6524 | |
6525 @Deprecated("Internal Use Only") | |
6526 TextPathElement.internal_() : super.internal_(); | |
6527 | |
6528 /** | |
6529 * Constructor instantiated by the DOM when a custom element has been created. | |
6530 * | |
6531 * This can only be called by subclasses from their created constructor. | |
6532 */ | |
6533 TextPathElement.created() : super.created(); | |
6534 | |
6535 @DomName('SVGTextPathElement.TEXTPATH_METHODTYPE_ALIGN') | |
6536 @DocsEditable() | |
6537 static const int TEXTPATH_METHODTYPE_ALIGN = 1; | |
6538 | |
6539 @DomName('SVGTextPathElement.TEXTPATH_METHODTYPE_STRETCH') | |
6540 @DocsEditable() | |
6541 static const int TEXTPATH_METHODTYPE_STRETCH = 2; | |
6542 | |
6543 @DomName('SVGTextPathElement.TEXTPATH_METHODTYPE_UNKNOWN') | |
6544 @DocsEditable() | |
6545 static const int TEXTPATH_METHODTYPE_UNKNOWN = 0; | |
6546 | |
6547 @DomName('SVGTextPathElement.TEXTPATH_SPACINGTYPE_AUTO') | |
6548 @DocsEditable() | |
6549 static const int TEXTPATH_SPACINGTYPE_AUTO = 1; | |
6550 | |
6551 @DomName('SVGTextPathElement.TEXTPATH_SPACINGTYPE_EXACT') | |
6552 @DocsEditable() | |
6553 static const int TEXTPATH_SPACINGTYPE_EXACT = 2; | |
6554 | |
6555 @DomName('SVGTextPathElement.TEXTPATH_SPACINGTYPE_UNKNOWN') | |
6556 @DocsEditable() | |
6557 static const int TEXTPATH_SPACINGTYPE_UNKNOWN = 0; | |
6558 | |
6559 @DomName('SVGTextPathElement.method') | |
6560 @DocsEditable() | |
6561 AnimatedEnumeration get method => | |
6562 _blink.BlinkSVGTextPathElement.instance.method_Getter_(this); | |
6563 | |
6564 @DomName('SVGTextPathElement.spacing') | |
6565 @DocsEditable() | |
6566 AnimatedEnumeration get spacing => | |
6567 _blink.BlinkSVGTextPathElement.instance.spacing_Getter_(this); | |
6568 | |
6569 @DomName('SVGTextPathElement.startOffset') | |
6570 @DocsEditable() | |
6571 AnimatedLength get startOffset => | |
6572 _blink.BlinkSVGTextPathElement.instance.startOffset_Getter_(this); | |
6573 | |
6574 @DomName('SVGTextPathElement.href') | |
6575 @DocsEditable() | |
6576 AnimatedString get href => | |
6577 _blink.BlinkSVGTextPathElement.instance.href_Getter_(this); | |
6578 } | |
6579 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6580 // for details. All rights reserved. Use of this source code is governed by a | |
6581 // BSD-style license that can be found in the LICENSE file. | |
6582 | |
6583 // WARNING: Do not edit - generated code. | |
6584 | |
6585 @DocsEditable() | |
6586 @DomName('SVGTextPositioningElement') | |
6587 @Unstable() | |
6588 class TextPositioningElement extends TextContentElement { | |
6589 // To suppress missing implicit constructor warnings. | |
6590 factory TextPositioningElement._() { | |
6591 throw new UnsupportedError("Not supported"); | |
6592 } | |
6593 | |
6594 @Deprecated("Internal Use Only") | |
6595 external static Type get instanceRuntimeType; | |
6596 | |
6597 @Deprecated("Internal Use Only") | |
6598 TextPositioningElement.internal_() : super.internal_(); | |
6599 | |
6600 /** | |
6601 * Constructor instantiated by the DOM when a custom element has been created. | |
6602 * | |
6603 * This can only be called by subclasses from their created constructor. | |
6604 */ | |
6605 TextPositioningElement.created() : super.created(); | |
6606 | |
6607 @DomName('SVGTextPositioningElement.dx') | |
6608 @DocsEditable() | |
6609 AnimatedLengthList get dx => | |
6610 _blink.BlinkSVGTextPositioningElement.instance.dx_Getter_(this); | |
6611 | |
6612 @DomName('SVGTextPositioningElement.dy') | |
6613 @DocsEditable() | |
6614 AnimatedLengthList get dy => | |
6615 _blink.BlinkSVGTextPositioningElement.instance.dy_Getter_(this); | |
6616 | |
6617 @DomName('SVGTextPositioningElement.rotate') | |
6618 @DocsEditable() | |
6619 AnimatedNumberList get rotate => | |
6620 _blink.BlinkSVGTextPositioningElement.instance.rotate_Getter_(this); | |
6621 | |
6622 @DomName('SVGTextPositioningElement.x') | |
6623 @DocsEditable() | |
6624 AnimatedLengthList get x => | |
6625 _blink.BlinkSVGTextPositioningElement.instance.x_Getter_(this); | |
6626 | |
6627 @DomName('SVGTextPositioningElement.y') | |
6628 @DocsEditable() | |
6629 AnimatedLengthList get y => | |
6630 _blink.BlinkSVGTextPositioningElement.instance.y_Getter_(this); | |
6631 } | |
6632 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6633 // for details. All rights reserved. Use of this source code is governed by a | |
6634 // BSD-style license that can be found in the LICENSE file. | |
6635 | |
6636 // WARNING: Do not edit - generated code. | |
6637 | |
6638 @DocsEditable() | |
6639 @DomName('SVGTitleElement') | |
6640 @Unstable() | |
6641 class TitleElement extends SvgElement { | |
6642 // To suppress missing implicit constructor warnings. | |
6643 factory TitleElement._() { | |
6644 throw new UnsupportedError("Not supported"); | |
6645 } | |
6646 | |
6647 @DomName('SVGTitleElement.SVGTitleElement') | |
6648 @DocsEditable() | |
6649 factory TitleElement() => | |
6650 _SvgElementFactoryProvider.createSvgElement_tag("title"); | |
6651 | |
6652 @Deprecated("Internal Use Only") | |
6653 external static Type get instanceRuntimeType; | |
6654 | |
6655 @Deprecated("Internal Use Only") | |
6656 TitleElement.internal_() : super.internal_(); | |
6657 | |
6658 /** | |
6659 * Constructor instantiated by the DOM when a custom element has been created. | |
6660 * | |
6661 * This can only be called by subclasses from their created constructor. | |
6662 */ | |
6663 TitleElement.created() : super.created(); | |
6664 } | |
6665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6666 // for details. All rights reserved. Use of this source code is governed by a | |
6667 // BSD-style license that can be found in the LICENSE file. | |
6668 | |
6669 // WARNING: Do not edit - generated code. | |
6670 | |
6671 @DocsEditable() | |
6672 @DomName('SVGTransform') | |
6673 @Unstable() | |
6674 class Transform extends DartHtmlDomObject { | |
6675 // To suppress missing implicit constructor warnings. | |
6676 factory Transform._() { | |
6677 throw new UnsupportedError("Not supported"); | |
6678 } | |
6679 | |
6680 @Deprecated("Internal Use Only") | |
6681 external static Type get instanceRuntimeType; | |
6682 | |
6683 @Deprecated("Internal Use Only") | |
6684 Transform.internal_() {} | |
6685 | |
6686 @DomName('SVGTransform.SVG_TRANSFORM_MATRIX') | |
6687 @DocsEditable() | |
6688 static const int SVG_TRANSFORM_MATRIX = 1; | |
6689 | |
6690 @DomName('SVGTransform.SVG_TRANSFORM_ROTATE') | |
6691 @DocsEditable() | |
6692 static const int SVG_TRANSFORM_ROTATE = 4; | |
6693 | |
6694 @DomName('SVGTransform.SVG_TRANSFORM_SCALE') | |
6695 @DocsEditable() | |
6696 static const int SVG_TRANSFORM_SCALE = 3; | |
6697 | |
6698 @DomName('SVGTransform.SVG_TRANSFORM_SKEWX') | |
6699 @DocsEditable() | |
6700 static const int SVG_TRANSFORM_SKEWX = 5; | |
6701 | |
6702 @DomName('SVGTransform.SVG_TRANSFORM_SKEWY') | |
6703 @DocsEditable() | |
6704 static const int SVG_TRANSFORM_SKEWY = 6; | |
6705 | |
6706 @DomName('SVGTransform.SVG_TRANSFORM_TRANSLATE') | |
6707 @DocsEditable() | |
6708 static const int SVG_TRANSFORM_TRANSLATE = 2; | |
6709 | |
6710 @DomName('SVGTransform.SVG_TRANSFORM_UNKNOWN') | |
6711 @DocsEditable() | |
6712 static const int SVG_TRANSFORM_UNKNOWN = 0; | |
6713 | |
6714 @DomName('SVGTransform.angle') | |
6715 @DocsEditable() | |
6716 num get angle => _blink.BlinkSVGTransform.instance.angle_Getter_(this); | |
6717 | |
6718 @DomName('SVGTransform.matrix') | |
6719 @DocsEditable() | |
6720 Matrix get matrix => _blink.BlinkSVGTransform.instance.matrix_Getter_(this); | |
6721 | |
6722 @DomName('SVGTransform.type') | |
6723 @DocsEditable() | |
6724 int get type => _blink.BlinkSVGTransform.instance.type_Getter_(this); | |
6725 | |
6726 @DomName('SVGTransform.setMatrix') | |
6727 @DocsEditable() | |
6728 void setMatrix(Matrix matrix) => | |
6729 _blink.BlinkSVGTransform.instance.setMatrix_Callback_1_(this, matrix); | |
6730 | |
6731 @DomName('SVGTransform.setRotate') | |
6732 @DocsEditable() | |
6733 void setRotate(num angle, num cx, num cy) => _blink.BlinkSVGTransform.instance | |
6734 .setRotate_Callback_3_(this, angle, cx, cy); | |
6735 | |
6736 @DomName('SVGTransform.setScale') | |
6737 @DocsEditable() | |
6738 void setScale(num sx, num sy) => | |
6739 _blink.BlinkSVGTransform.instance.setScale_Callback_2_(this, sx, sy); | |
6740 | |
6741 @DomName('SVGTransform.setSkewX') | |
6742 @DocsEditable() | |
6743 void setSkewX(num angle) => | |
6744 _blink.BlinkSVGTransform.instance.setSkewX_Callback_1_(this, angle); | |
6745 | |
6746 @DomName('SVGTransform.setSkewY') | |
6747 @DocsEditable() | |
6748 void setSkewY(num angle) => | |
6749 _blink.BlinkSVGTransform.instance.setSkewY_Callback_1_(this, angle); | |
6750 | |
6751 @DomName('SVGTransform.setTranslate') | |
6752 @DocsEditable() | |
6753 void setTranslate(num tx, num ty) => | |
6754 _blink.BlinkSVGTransform.instance.setTranslate_Callback_2_(this, tx, ty); | |
6755 } | |
6756 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6757 // for details. All rights reserved. Use of this source code is governed by a | |
6758 // BSD-style license that can be found in the LICENSE file. | |
6759 | |
6760 // WARNING: Do not edit - generated code. | |
6761 | |
6762 @DocsEditable() | |
6763 @DomName('SVGTransformList') | |
6764 @Unstable() | |
6765 class TransformList extends DartHtmlDomObject | |
6766 with ListMixin<Transform>, ImmutableListMixin<Transform> | |
6767 implements List<Transform> { | |
6768 // To suppress missing implicit constructor warnings. | |
6769 factory TransformList._() { | |
6770 throw new UnsupportedError("Not supported"); | |
6771 } | |
6772 | |
6773 @Deprecated("Internal Use Only") | |
6774 external static Type get instanceRuntimeType; | |
6775 | |
6776 @Deprecated("Internal Use Only") | |
6777 TransformList.internal_() {} | |
6778 | |
6779 @DomName('SVGTransformList.length') | |
6780 @DocsEditable() | |
6781 @Experimental() // untriaged | |
6782 int get length => _blink.BlinkSVGTransformList.instance.length_Getter_(this); | |
6783 | |
6784 @DomName('SVGTransformList.numberOfItems') | |
6785 @DocsEditable() | |
6786 int get numberOfItems => | |
6787 _blink.BlinkSVGTransformList.instance.numberOfItems_Getter_(this); | |
6788 | |
6789 Transform operator [](int index) { | |
6790 if (index < 0 || index >= length) throw new RangeError.index(index, this); | |
6791 return getItem(index); | |
6792 } | |
6793 | |
6794 void operator []=(int index, Transform value) { | |
6795 throw new UnsupportedError("Cannot assign element of immutable List."); | |
6796 } | |
6797 // -- start List<Transform> mixins. | |
6798 // Transform is the element type. | |
6799 | |
6800 set length(int value) { | |
6801 throw new UnsupportedError("Cannot resize immutable List."); | |
6802 } | |
6803 | |
6804 Transform get first { | |
6805 if (this.length > 0) { | |
6806 return getItem(0); | |
6807 } | |
6808 throw new StateError("No elements"); | |
6809 } | |
6810 | |
6811 Transform get last { | |
6812 int len = this.length; | |
6813 if (len > 0) { | |
6814 return getItem(len - 1); | |
6815 } | |
6816 throw new StateError("No elements"); | |
6817 } | |
6818 | |
6819 Transform get single { | |
6820 int len = this.length; | |
6821 if (len == 1) { | |
6822 return getItem(0); | |
6823 } | |
6824 if (len == 0) throw new StateError("No elements"); | |
6825 throw new StateError("More than one element"); | |
6826 } | |
6827 | |
6828 Transform elementAt(int index) => this[index]; | |
6829 // -- end List<Transform> mixins. | |
6830 | |
6831 @DomName('SVGTransformList.__setter__') | |
6832 @DocsEditable() | |
6833 @Experimental() // untriaged | |
6834 void __setter__(int index, Transform newItem) => | |
6835 _blink.BlinkSVGTransformList.instance | |
6836 .$__setter___Callback_2_(this, index, newItem); | |
6837 | |
6838 @DomName('SVGTransformList.appendItem') | |
6839 @DocsEditable() | |
6840 Transform appendItem(Transform newItem) => | |
6841 _blink.BlinkSVGTransformList.instance | |
6842 .appendItem_Callback_1_(this, newItem); | |
6843 | |
6844 @DomName('SVGTransformList.clear') | |
6845 @DocsEditable() | |
6846 void clear() => _blink.BlinkSVGTransformList.instance.clear_Callback_0_(this); | |
6847 | |
6848 @DomName('SVGTransformList.consolidate') | |
6849 @DocsEditable() | |
6850 Transform consolidate() => | |
6851 _blink.BlinkSVGTransformList.instance.consolidate_Callback_0_(this); | |
6852 | |
6853 @DomName('SVGTransformList.createSVGTransformFromMatrix') | |
6854 @DocsEditable() | |
6855 Transform createSvgTransformFromMatrix(Matrix matrix) => | |
6856 _blink.BlinkSVGTransformList.instance | |
6857 .createSVGTransformFromMatrix_Callback_1_(this, matrix); | |
6858 | |
6859 @DomName('SVGTransformList.getItem') | |
6860 @DocsEditable() | |
6861 Transform getItem(int index) => | |
6862 _blink.BlinkSVGTransformList.instance.getItem_Callback_1_(this, index); | |
6863 | |
6864 @DomName('SVGTransformList.initialize') | |
6865 @DocsEditable() | |
6866 Transform initialize(Transform newItem) => | |
6867 _blink.BlinkSVGTransformList.instance | |
6868 .initialize_Callback_1_(this, newItem); | |
6869 | |
6870 @DomName('SVGTransformList.insertItemBefore') | |
6871 @DocsEditable() | |
6872 Transform insertItemBefore(Transform newItem, int index) => | |
6873 _blink.BlinkSVGTransformList.instance | |
6874 .insertItemBefore_Callback_2_(this, newItem, index); | |
6875 | |
6876 @DomName('SVGTransformList.removeItem') | |
6877 @DocsEditable() | |
6878 Transform removeItem(int index) => | |
6879 _blink.BlinkSVGTransformList.instance.removeItem_Callback_1_(this, index); | |
6880 | |
6881 @DomName('SVGTransformList.replaceItem') | |
6882 @DocsEditable() | |
6883 Transform replaceItem(Transform newItem, int index) => | |
6884 _blink.BlinkSVGTransformList.instance | |
6885 .replaceItem_Callback_2_(this, newItem, index); | |
6886 } | |
6887 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6888 // for details. All rights reserved. Use of this source code is governed by a | |
6889 // BSD-style license that can be found in the LICENSE file. | |
6890 | |
6891 // WARNING: Do not edit - generated code. | |
6892 | |
6893 @DocsEditable() | |
6894 @DomName('SVGUnitTypes') | |
6895 @Unstable() | |
6896 class UnitTypes extends DartHtmlDomObject { | |
6897 // To suppress missing implicit constructor warnings. | |
6898 factory UnitTypes._() { | |
6899 throw new UnsupportedError("Not supported"); | |
6900 } | |
6901 | |
6902 @Deprecated("Internal Use Only") | |
6903 external static Type get instanceRuntimeType; | |
6904 | |
6905 @Deprecated("Internal Use Only") | |
6906 UnitTypes.internal_() {} | |
6907 | |
6908 @DomName('SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX') | |
6909 @DocsEditable() | |
6910 static const int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; | |
6911 | |
6912 @DomName('SVGUnitTypes.SVG_UNIT_TYPE_UNKNOWN') | |
6913 @DocsEditable() | |
6914 static const int SVG_UNIT_TYPE_UNKNOWN = 0; | |
6915 | |
6916 @DomName('SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE') | |
6917 @DocsEditable() | |
6918 static const int SVG_UNIT_TYPE_USERSPACEONUSE = 1; | |
6919 } | |
6920 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6921 // for details. All rights reserved. Use of this source code is governed by a | |
6922 // BSD-style license that can be found in the LICENSE file. | |
6923 | |
6924 // WARNING: Do not edit - generated code. | |
6925 | |
6926 @DocsEditable() | |
6927 @DomName('SVGURIReference') | |
6928 @Unstable() | |
6929 abstract class UriReference extends DartHtmlDomObject { | |
6930 // To suppress missing implicit constructor warnings. | |
6931 factory UriReference._() { | |
6932 throw new UnsupportedError("Not supported"); | |
6933 } | |
6934 | |
6935 @DomName('SVGURIReference.href') | |
6936 @DocsEditable() | |
6937 AnimatedString get href; | |
6938 } | |
6939 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6940 // for details. All rights reserved. Use of this source code is governed by a | |
6941 // BSD-style license that can be found in the LICENSE file. | |
6942 | |
6943 // WARNING: Do not edit - generated code. | |
6944 | |
6945 @DocsEditable() | |
6946 @DomName('SVGUseElement') | |
6947 @Unstable() | |
6948 class UseElement extends GraphicsElement implements UriReference { | |
6949 // To suppress missing implicit constructor warnings. | |
6950 factory UseElement._() { | |
6951 throw new UnsupportedError("Not supported"); | |
6952 } | |
6953 | |
6954 @DomName('SVGUseElement.SVGUseElement') | |
6955 @DocsEditable() | |
6956 factory UseElement() => | |
6957 _SvgElementFactoryProvider.createSvgElement_tag("use"); | |
6958 | |
6959 @Deprecated("Internal Use Only") | |
6960 external static Type get instanceRuntimeType; | |
6961 | |
6962 @Deprecated("Internal Use Only") | |
6963 UseElement.internal_() : super.internal_(); | |
6964 | |
6965 /** | |
6966 * Constructor instantiated by the DOM when a custom element has been created. | |
6967 * | |
6968 * This can only be called by subclasses from their created constructor. | |
6969 */ | |
6970 UseElement.created() : super.created(); | |
6971 | |
6972 @DomName('SVGUseElement.height') | |
6973 @DocsEditable() | |
6974 AnimatedLength get height => | |
6975 _blink.BlinkSVGUseElement.instance.height_Getter_(this); | |
6976 | |
6977 @DomName('SVGUseElement.width') | |
6978 @DocsEditable() | |
6979 AnimatedLength get width => | |
6980 _blink.BlinkSVGUseElement.instance.width_Getter_(this); | |
6981 | |
6982 @DomName('SVGUseElement.x') | |
6983 @DocsEditable() | |
6984 AnimatedLength get x => _blink.BlinkSVGUseElement.instance.x_Getter_(this); | |
6985 | |
6986 @DomName('SVGUseElement.y') | |
6987 @DocsEditable() | |
6988 AnimatedLength get y => _blink.BlinkSVGUseElement.instance.y_Getter_(this); | |
6989 | |
6990 @DomName('SVGUseElement.href') | |
6991 @DocsEditable() | |
6992 AnimatedString get href => | |
6993 _blink.BlinkSVGUseElement.instance.href_Getter_(this); | |
6994 } | |
6995 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
6996 // for details. All rights reserved. Use of this source code is governed by a | |
6997 // BSD-style license that can be found in the LICENSE file. | |
6998 | |
6999 // WARNING: Do not edit - generated code. | |
7000 | |
7001 @DocsEditable() | |
7002 @DomName('SVGViewElement') | |
7003 @Unstable() | |
7004 class ViewElement extends SvgElement implements FitToViewBox, ZoomAndPan { | |
7005 // To suppress missing implicit constructor warnings. | |
7006 factory ViewElement._() { | |
7007 throw new UnsupportedError("Not supported"); | |
7008 } | |
7009 | |
7010 @DomName('SVGViewElement.SVGViewElement') | |
7011 @DocsEditable() | |
7012 factory ViewElement() => | |
7013 _SvgElementFactoryProvider.createSvgElement_tag("view"); | |
7014 | |
7015 @Deprecated("Internal Use Only") | |
7016 external static Type get instanceRuntimeType; | |
7017 | |
7018 @Deprecated("Internal Use Only") | |
7019 ViewElement.internal_() : super.internal_(); | |
7020 | |
7021 /** | |
7022 * Constructor instantiated by the DOM when a custom element has been created. | |
7023 * | |
7024 * This can only be called by subclasses from their created constructor. | |
7025 */ | |
7026 ViewElement.created() : super.created(); | |
7027 | |
7028 @DomName('SVGViewElement.viewTarget') | |
7029 @DocsEditable() | |
7030 StringList get viewTarget => | |
7031 _blink.BlinkSVGViewElement.instance.viewTarget_Getter_(this); | |
7032 | |
7033 @DomName('SVGViewElement.preserveAspectRatio') | |
7034 @DocsEditable() | |
7035 AnimatedPreserveAspectRatio get preserveAspectRatio => | |
7036 _blink.BlinkSVGViewElement.instance.preserveAspectRatio_Getter_(this); | |
7037 | |
7038 @DomName('SVGViewElement.viewBox') | |
7039 @DocsEditable() | |
7040 AnimatedRect get viewBox => | |
7041 _blink.BlinkSVGViewElement.instance.viewBox_Getter_(this); | |
7042 | |
7043 @DomName('SVGViewElement.zoomAndPan') | |
7044 @DocsEditable() | |
7045 int get zoomAndPan => | |
7046 _blink.BlinkSVGViewElement.instance.zoomAndPan_Getter_(this); | |
7047 | |
7048 @DomName('SVGViewElement.zoomAndPan') | |
7049 @DocsEditable() | |
7050 set zoomAndPan(int value) => | |
7051 _blink.BlinkSVGViewElement.instance.zoomAndPan_Setter_(this, value); | |
7052 } | |
7053 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
7054 // for details. All rights reserved. Use of this source code is governed by a | |
7055 // BSD-style license that can be found in the LICENSE file. | |
7056 | |
7057 // WARNING: Do not edit - generated code. | |
7058 | |
7059 @DocsEditable() | |
7060 @DomName('SVGViewSpec') | |
7061 @Unstable() | |
7062 class ViewSpec extends DartHtmlDomObject implements FitToViewBox, ZoomAndPan { | |
7063 // To suppress missing implicit constructor warnings. | |
7064 factory ViewSpec._() { | |
7065 throw new UnsupportedError("Not supported"); | |
7066 } | |
7067 | |
7068 @Deprecated("Internal Use Only") | |
7069 external static Type get instanceRuntimeType; | |
7070 | |
7071 @Deprecated("Internal Use Only") | |
7072 ViewSpec.internal_() {} | |
7073 | |
7074 @DomName('SVGViewSpec.preserveAspectRatioString') | |
7075 @DocsEditable() | |
7076 String get preserveAspectRatioString => | |
7077 _blink.BlinkSVGViewSpec.instance.preserveAspectRatioString_Getter_(this); | |
7078 | |
7079 @DomName('SVGViewSpec.transform') | |
7080 @DocsEditable() | |
7081 TransformList get transform => | |
7082 _blink.BlinkSVGViewSpec.instance.transform_Getter_(this); | |
7083 | |
7084 @DomName('SVGViewSpec.transformString') | |
7085 @DocsEditable() | |
7086 String get transformString => | |
7087 _blink.BlinkSVGViewSpec.instance.transformString_Getter_(this); | |
7088 | |
7089 @DomName('SVGViewSpec.viewBoxString') | |
7090 @DocsEditable() | |
7091 String get viewBoxString => | |
7092 _blink.BlinkSVGViewSpec.instance.viewBoxString_Getter_(this); | |
7093 | |
7094 @DomName('SVGViewSpec.viewTarget') | |
7095 @DocsEditable() | |
7096 SvgElement get viewTarget => | |
7097 _blink.BlinkSVGViewSpec.instance.viewTarget_Getter_(this); | |
7098 | |
7099 @DomName('SVGViewSpec.viewTargetString') | |
7100 @DocsEditable() | |
7101 String get viewTargetString => | |
7102 _blink.BlinkSVGViewSpec.instance.viewTargetString_Getter_(this); | |
7103 | |
7104 @DomName('SVGViewSpec.preserveAspectRatio') | |
7105 @DocsEditable() | |
7106 @Experimental() // nonstandard | |
7107 AnimatedPreserveAspectRatio get preserveAspectRatio => | |
7108 _blink.BlinkSVGViewSpec.instance.preserveAspectRatio_Getter_(this); | |
7109 | |
7110 @DomName('SVGViewSpec.viewBox') | |
7111 @DocsEditable() | |
7112 @Experimental() // nonstandard | |
7113 AnimatedRect get viewBox => | |
7114 _blink.BlinkSVGViewSpec.instance.viewBox_Getter_(this); | |
7115 | |
7116 @DomName('SVGViewSpec.zoomAndPan') | |
7117 @DocsEditable() | |
7118 @Experimental() // nonstandard | |
7119 int get zoomAndPan => | |
7120 _blink.BlinkSVGViewSpec.instance.zoomAndPan_Getter_(this); | |
7121 | |
7122 @DomName('SVGViewSpec.zoomAndPan') | |
7123 @DocsEditable() | |
7124 @Experimental() // nonstandard | |
7125 set zoomAndPan(int value) => | |
7126 _blink.BlinkSVGViewSpec.instance.zoomAndPan_Setter_(this, value); | |
7127 } | |
7128 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
7129 // for details. All rights reserved. Use of this source code is governed by a | |
7130 // BSD-style license that can be found in the LICENSE file. | |
7131 | |
7132 // WARNING: Do not edit - generated code. | |
7133 | |
7134 @DocsEditable() | |
7135 @DomName('SVGZoomAndPan') | |
7136 @Unstable() | |
7137 abstract class ZoomAndPan extends DartHtmlDomObject { | |
7138 // To suppress missing implicit constructor warnings. | |
7139 factory ZoomAndPan._() { | |
7140 throw new UnsupportedError("Not supported"); | |
7141 } | |
7142 | |
7143 @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE') | |
7144 @DocsEditable() | |
7145 static const int SVG_ZOOMANDPAN_DISABLE = 1; | |
7146 | |
7147 @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY') | |
7148 @DocsEditable() | |
7149 static const int SVG_ZOOMANDPAN_MAGNIFY = 2; | |
7150 | |
7151 @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN') | |
7152 @DocsEditable() | |
7153 static const int SVG_ZOOMANDPAN_UNKNOWN = 0; | |
7154 | |
7155 @DomName('SVGZoomAndPan.zoomAndPan') | |
7156 @DocsEditable() | |
7157 int get zoomAndPan; | |
7158 | |
7159 @DomName('SVGZoomAndPan.zoomAndPan') | |
7160 @DocsEditable() | |
7161 set zoomAndPan(int value); | |
7162 } | |
7163 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
7164 // for details. All rights reserved. Use of this source code is governed by a | |
7165 // BSD-style license that can be found in the LICENSE file. | |
7166 | |
7167 // WARNING: Do not edit - generated code. | |
7168 | |
7169 @DocsEditable() | |
7170 @DomName('SVGZoomEvent') | |
7171 @Unstable() | |
7172 class ZoomEvent extends UIEvent { | |
7173 // To suppress missing implicit constructor warnings. | |
7174 factory ZoomEvent._() { | |
7175 throw new UnsupportedError("Not supported"); | |
7176 } | |
7177 | |
7178 @Deprecated("Internal Use Only") | |
7179 external static Type get instanceRuntimeType; | |
7180 | |
7181 @Deprecated("Internal Use Only") | |
7182 ZoomEvent.internal_() : super.internal_(); | |
7183 | |
7184 @DomName('SVGZoomEvent.newScale') | |
7185 @DocsEditable() | |
7186 num get newScale => _blink.BlinkSVGZoomEvent.instance.newScale_Getter_(this); | |
7187 | |
7188 @DomName('SVGZoomEvent.newTranslate') | |
7189 @DocsEditable() | |
7190 Point get newTranslate => | |
7191 _blink.BlinkSVGZoomEvent.instance.newTranslate_Getter_(this); | |
7192 | |
7193 @DomName('SVGZoomEvent.previousScale') | |
7194 @DocsEditable() | |
7195 num get previousScale => | |
7196 _blink.BlinkSVGZoomEvent.instance.previousScale_Getter_(this); | |
7197 | |
7198 @DomName('SVGZoomEvent.previousTranslate') | |
7199 @DocsEditable() | |
7200 Point get previousTranslate => | |
7201 _blink.BlinkSVGZoomEvent.instance.previousTranslate_Getter_(this); | |
7202 | |
7203 @DomName('SVGZoomEvent.zoomRectScreen') | |
7204 @DocsEditable() | |
7205 Rect get zoomRectScreen => | |
7206 _blink.BlinkSVGZoomEvent.instance.zoomRectScreen_Getter_(this); | |
7207 } | |
7208 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
7209 // for details. All rights reserved. Use of this source code is governed by a | |
7210 // BSD-style license that can be found in the LICENSE file. | |
7211 | |
7212 // WARNING: Do not edit - generated code. | |
7213 | |
7214 @DocsEditable() | |
7215 @DomName('SVGGradientElement') | |
7216 @Unstable() | |
7217 class _GradientElement extends SvgElement implements UriReference { | |
7218 // To suppress missing implicit constructor warnings. | |
7219 factory _GradientElement._() { | |
7220 throw new UnsupportedError("Not supported"); | |
7221 } | |
7222 | |
7223 @Deprecated("Internal Use Only") | |
7224 external static Type get instanceRuntimeType; | |
7225 | |
7226 @Deprecated("Internal Use Only") | |
7227 _GradientElement.internal_() : super.internal_(); | |
7228 | |
7229 /** | |
7230 * Constructor instantiated by the DOM when a custom element has been created. | |
7231 * | |
7232 * This can only be called by subclasses from their created constructor. | |
7233 */ | |
7234 _GradientElement.created() : super.created(); | |
7235 | |
7236 @DomName('SVGGradientElement.SVG_SPREADMETHOD_PAD') | |
7237 @DocsEditable() | |
7238 static const int SVG_SPREADMETHOD_PAD = 1; | |
7239 | |
7240 @DomName('SVGGradientElement.SVG_SPREADMETHOD_REFLECT') | |
7241 @DocsEditable() | |
7242 static const int SVG_SPREADMETHOD_REFLECT = 2; | |
7243 | |
7244 @DomName('SVGGradientElement.SVG_SPREADMETHOD_REPEAT') | |
7245 @DocsEditable() | |
7246 static const int SVG_SPREADMETHOD_REPEAT = 3; | |
7247 | |
7248 @DomName('SVGGradientElement.SVG_SPREADMETHOD_UNKNOWN') | |
7249 @DocsEditable() | |
7250 static const int SVG_SPREADMETHOD_UNKNOWN = 0; | |
7251 | |
7252 @DomName('SVGGradientElement.gradientTransform') | |
7253 @DocsEditable() | |
7254 AnimatedTransformList get gradientTransform => | |
7255 _blink.BlinkSVGGradientElement.instance.gradientTransform_Getter_(this); | |
7256 | |
7257 @DomName('SVGGradientElement.gradientUnits') | |
7258 @DocsEditable() | |
7259 AnimatedEnumeration get gradientUnits => | |
7260 _blink.BlinkSVGGradientElement.instance.gradientUnits_Getter_(this); | |
7261 | |
7262 @DomName('SVGGradientElement.spreadMethod') | |
7263 @DocsEditable() | |
7264 AnimatedEnumeration get spreadMethod => | |
7265 _blink.BlinkSVGGradientElement.instance.spreadMethod_Getter_(this); | |
7266 | |
7267 @DomName('SVGGradientElement.href') | |
7268 @DocsEditable() | |
7269 AnimatedString get href => | |
7270 _blink.BlinkSVGGradientElement.instance.href_Getter_(this); | |
7271 } | |
7272 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
7273 // for details. All rights reserved. Use of this source code is governed by a | |
7274 // BSD-style license that can be found in the LICENSE file. | |
7275 | |
7276 // WARNING: Do not edit - generated code. | |
7277 | |
7278 @DocsEditable() | |
7279 @DomName('SVGComponentTransferFunctionElement') | |
7280 @Unstable() | |
7281 class _SVGComponentTransferFunctionElement extends SvgElement { | |
7282 // To suppress missing implicit constructor warnings. | |
7283 factory _SVGComponentTransferFunctionElement._() { | |
7284 throw new UnsupportedError("Not supported"); | |
7285 } | |
7286 | |
7287 @Deprecated("Internal Use Only") | |
7288 external static Type get instanceRuntimeType; | |
7289 | |
7290 @Deprecated("Internal Use Only") | |
7291 _SVGComponentTransferFunctionElement.internal_() : super.internal_(); | |
7292 | |
7293 /** | |
7294 * Constructor instantiated by the DOM when a custom element has been created. | |
7295 * | |
7296 * This can only be called by subclasses from their created constructor. | |
7297 */ | |
7298 _SVGComponentTransferFunctionElement.created() : super.created(); | |
7299 } | |
7300 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
7301 // for details. All rights reserved. Use of this source code is governed by a | |
7302 // BSD-style license that can be found in the LICENSE file. | |
7303 | |
7304 @DocsEditable() | |
7305 @DomName('SVGCursorElement') | |
7306 @Unstable() | |
7307 class _SVGCursorElement extends SvgElement implements UriReference, Tests { | |
7308 // To suppress missing implicit constructor warnings. | |
7309 factory _SVGCursorElement._() { | |
7310 throw new UnsupportedError("Not supported"); | |
7311 } | |
7312 | |
7313 @DomName('SVGCursorElement.SVGCursorElement') | |
7314 @DocsEditable() | |
7315 factory _SVGCursorElement() => | |
7316 _SvgElementFactoryProvider.createSvgElement_tag("cursor"); | |
7317 | |
7318 @Deprecated("Internal Use Only") | |
7319 external static Type get instanceRuntimeType; | |
7320 | |
7321 @Deprecated("Internal Use Only") | |
7322 _SVGCursorElement.internal_() : super.internal_(); | |
7323 | |
7324 /** | |
7325 * Constructor instantiated by the DOM when a custom element has been created. | |
7326 * | |
7327 * This can only be called by subclasses from their created constructor. | |
7328 */ | |
7329 _SVGCursorElement.created() : super.created(); | |
7330 | |
7331 /// Checks if this type is supported on the current platform. | |
7332 static bool get supported => true; | |
7333 | |
7334 // Override these methods for Dartium _SVGCursorElement can't be abstract. | |
7335 StringList get requiredExtensions => | |
7336 _blink.BlinkSVGCursorElement.instance.requiredExtensions_Getter_(this); | |
7337 StringList get requiredFeatures => | |
7338 _blink.BlinkSVGCursorElement.instance.requiredFeatures_Getter_(this); | |
7339 StringList get systemLanguage => | |
7340 _blink.BlinkSVGCursorElement.instance.systemLanguage_Getter_(this); | |
7341 AnimatedString get href => | |
7342 _blink.BlinkSVGCursorElement.instance.href_Getter_(this); | |
7343 bool hasExtension(String extension) => _blink.BlinkSVGCursorElement.instance | |
7344 .hasExtension_Callback_1_(this, extension); | |
7345 } | |
7346 | |
7347 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
7348 // for details. All rights reserved. Use of this source code is governed by a | |
7349 // BSD-style license that can be found in the LICENSE file. | |
7350 | |
7351 @DocsEditable() | |
7352 @DomName('SVGFEDropShadowElement') | |
7353 @Experimental() // nonstandard | |
7354 class _SVGFEDropShadowElement extends SvgElement | |
7355 implements FilterPrimitiveStandardAttributes { | |
7356 // To suppress missing implicit constructor warnings. | |
7357 factory _SVGFEDropShadowElement._() { | |
7358 throw new UnsupportedError("Not supported"); | |
7359 } | |
7360 | |
7361 @Deprecated("Internal Use Only") | |
7362 external static Type get instanceRuntimeType; | |
7363 | |
7364 @Deprecated("Internal Use Only") | |
7365 _SVGFEDropShadowElement.internal_() : super.internal_(); | |
7366 | |
7367 /** | |
7368 * Constructor instantiated by the DOM when a custom element has been created. | |
7369 * | |
7370 * This can only be called by subclasses from their created constructor. | |
7371 */ | |
7372 _SVGFEDropShadowElement.created() : super.created(); | |
7373 | |
7374 // Override these methods for Dartium _SVGFEDropShadowElement can't be abstrac
t. | |
7375 AnimatedLength get height => | |
7376 _blink.BlinkSVGFEDropShadowElement.instance.height_Getter_(this); | |
7377 AnimatedString get result => | |
7378 _blink.BlinkSVGFEDropShadowElement.instance.result_Getter_(this); | |
7379 AnimatedLength get width => | |
7380 _blink.BlinkSVGFEDropShadowElement.instance.width_Getter_(this); | |
7381 AnimatedLength get x => | |
7382 _blink.BlinkSVGFEDropShadowElement.instance.x_Getter_(this); | |
7383 AnimatedLength get y => | |
7384 _blink.BlinkSVGFEDropShadowElement.instance.y_Getter_(this); | |
7385 } | |
7386 | |
7387 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
7388 // for details. All rights reserved. Use of this source code is governed by a | |
7389 // BSD-style license that can be found in the LICENSE file. | |
7390 | |
7391 @DocsEditable() | |
7392 @DomName('SVGMPathElement') | |
7393 class _SVGMPathElement extends SvgElement implements UriReference { | |
7394 // To suppress missing implicit constructor warnings. | |
7395 factory _SVGMPathElement._() { | |
7396 throw new UnsupportedError("Not supported"); | |
7397 } | |
7398 | |
7399 @DomName('SVGMPathElement.SVGMPathElement') | |
7400 @DocsEditable() | |
7401 factory _SVGMPathElement() => | |
7402 _SvgElementFactoryProvider.createSvgElement_tag("mpath"); | |
7403 | |
7404 @Deprecated("Internal Use Only") | |
7405 external static Type get instanceRuntimeType; | |
7406 | |
7407 @Deprecated("Internal Use Only") | |
7408 _SVGMPathElement.internal_() : super.internal_(); | |
7409 | |
7410 /** | |
7411 * Constructor instantiated by the DOM when a custom element has been created. | |
7412 * | |
7413 * This can only be called by subclasses from their created constructor. | |
7414 */ | |
7415 _SVGMPathElement.created() : super.created(); | |
7416 | |
7417 // Override these methods for Dartium _SVGMPathElement can't be abstract. | |
7418 AnimatedString get href => | |
7419 _blink.BlinkSVGMPathElement.instance.href_Getter_(this); | |
7420 } | |
OLD | NEW |