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

Side by Side Diff: pkg/dev_compiler/tool/input_sdk/lib/svg/dart2js/svg_dart2js.dart

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

Powered by Google App Engine
This is Rietveld 408576698