OLD | NEW |
1 /** | 1 /** |
2 * Scalable Vector Graphics: | 2 * Scalable Vector Graphics: |
3 * Two-dimensional vector graphics with support for events and animation. | 3 * Two-dimensional vector graphics with support for events and animation. |
4 * | 4 * |
5 * For details about the features and syntax of SVG, a W3C standard, | 5 * For details about the features and syntax of SVG, a W3C standard, |
6 * refer to the | 6 * refer to the |
7 * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/). | 7 * [Scalable Vector Graphics Specification](http://www.w3.org/TR/SVG/). |
8 */ | 8 */ |
9 library dart.dom.svg; | 9 library dart.dom.svg; |
10 | 10 |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 Loading... |
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 * Constructor instantiated by the DOM when a custom element has been created. | 5349 * Constructor instantiated by the DOM when a custom element has been created. |
5068 * | 5350 * |
5069 * This can only be called by subclasses from their created constructor. | 5351 * This can only be called by subclasses from their created constructor. |
5070 */ | 5352 */ |
5071 SvgElement.created() : super.created(); | 5353 SvgElement.created() : super.created(); |
5072 | 5354 |
5073 // Shadowing definition. | 5355 // Shadowing definition. |
5074 AnimatedString get _svgClassName => JS("AnimatedString", "#.className", this); | 5356 AnimatedString get _svgClassName => JS("AnimatedString", "#.className", this); |
5075 | 5357 |
5076 @JSName('ownerSVGElement') | 5358 @JSName('ownerSVGElement') |
5077 @DomName('SVGElement.ownerSVGElement') | 5359 @DomName('SVGElement.ownerSVGElement') |
5078 @DocsEditable() | 5360 @DocsEditable() |
5079 final SvgSvgElement ownerSvgElement; | 5361 final SvgSvgElement ownerSvgElement; |
5080 | 5362 |
5081 // Use implementation from Element. | 5363 // Use implementation from Element. |
5082 // final CssStyleDeclaration style; | 5364 // final CssStyleDeclaration style; |
5083 | 5365 |
5084 // Use implementation from Element. | 5366 // Use implementation from Element. |
5085 // final int tabIndex; | 5367 // final int tabIndex; |
5086 | 5368 |
5087 @DomName('SVGElement.viewportElement') | 5369 @DomName('SVGElement.viewportElement') |
5088 @DocsEditable() | 5370 @DocsEditable() |
5089 final SvgElement viewportElement; | 5371 final SvgElement viewportElement; |
5090 | 5372 |
5091 @DomName('SVGElement.blur') | 5373 @DomName('SVGElement.blur') |
5092 @DocsEditable() | 5374 @DocsEditable() |
5093 @Experimental() // untriaged | 5375 @Experimental() // untriaged |
5094 void blur() native; | 5376 void blur() native ; |
5095 | 5377 |
5096 @DomName('SVGElement.focus') | 5378 @DomName('SVGElement.focus') |
5097 @DocsEditable() | 5379 @DocsEditable() |
5098 @Experimental() // untriaged | 5380 @Experimental() // untriaged |
5099 void focus() native; | 5381 void focus() native ; |
5100 | 5382 |
5101 @DomName('SVGElement.onabort') | 5383 @DomName('SVGElement.onabort') |
5102 @DocsEditable() | 5384 @DocsEditable() |
5103 @Experimental() // untriaged | 5385 @Experimental() // untriaged |
5104 ElementStream<Event> get onAbort => abortEvent.forElement(this); | 5386 ElementStream<Event> get onAbort => abortEvent.forElement(this); |
5105 | 5387 |
5106 @DomName('SVGElement.onblur') | 5388 @DomName('SVGElement.onblur') |
5107 @DocsEditable() | 5389 @DocsEditable() |
5108 @Experimental() // untriaged | 5390 @Experimental() // untriaged |
5109 ElementStream<Event> get onBlur => blurEvent.forElement(this); | 5391 ElementStream<Event> get onBlur => blurEvent.forElement(this); |
5110 | 5392 |
5111 @DomName('SVGElement.oncanplay') | 5393 @DomName('SVGElement.oncanplay') |
5112 @DocsEditable() | 5394 @DocsEditable() |
5113 @Experimental() // untriaged | 5395 @Experimental() // untriaged |
5114 ElementStream<Event> get onCanPlay => canPlayEvent.forElement(this); | 5396 ElementStream<Event> get onCanPlay => canPlayEvent.forElement(this); |
5115 | 5397 |
5116 @DomName('SVGElement.oncanplaythrough') | 5398 @DomName('SVGElement.oncanplaythrough') |
5117 @DocsEditable() | 5399 @DocsEditable() |
5118 @Experimental() // untriaged | 5400 @Experimental() // untriaged |
5119 ElementStream<Event> get onCanPlayThrough => canPlayThroughEvent.forElement(th
is); | 5401 ElementStream<Event> get onCanPlayThrough => |
| 5402 canPlayThroughEvent.forElement(this); |
5120 | 5403 |
5121 @DomName('SVGElement.onchange') | 5404 @DomName('SVGElement.onchange') |
5122 @DocsEditable() | 5405 @DocsEditable() |
5123 @Experimental() // untriaged | 5406 @Experimental() // untriaged |
5124 ElementStream<Event> get onChange => changeEvent.forElement(this); | 5407 ElementStream<Event> get onChange => changeEvent.forElement(this); |
5125 | 5408 |
5126 @DomName('SVGElement.onclick') | 5409 @DomName('SVGElement.onclick') |
5127 @DocsEditable() | 5410 @DocsEditable() |
5128 @Experimental() // untriaged | 5411 @Experimental() // untriaged |
5129 ElementStream<MouseEvent> get onClick => clickEvent.forElement(this); | 5412 ElementStream<MouseEvent> get onClick => clickEvent.forElement(this); |
5130 | 5413 |
5131 @DomName('SVGElement.oncontextmenu') | 5414 @DomName('SVGElement.oncontextmenu') |
5132 @DocsEditable() | 5415 @DocsEditable() |
5133 @Experimental() // untriaged | 5416 @Experimental() // untriaged |
5134 ElementStream<MouseEvent> get onContextMenu => contextMenuEvent.forElement(thi
s); | 5417 ElementStream<MouseEvent> get onContextMenu => |
| 5418 contextMenuEvent.forElement(this); |
5135 | 5419 |
5136 @DomName('SVGElement.ondblclick') | 5420 @DomName('SVGElement.ondblclick') |
5137 @DocsEditable() | 5421 @DocsEditable() |
5138 @Experimental() // untriaged | 5422 @Experimental() // untriaged |
5139 ElementStream<Event> get onDoubleClick => doubleClickEvent.forElement(this); | 5423 ElementStream<Event> get onDoubleClick => doubleClickEvent.forElement(this); |
5140 | 5424 |
5141 @DomName('SVGElement.ondrag') | 5425 @DomName('SVGElement.ondrag') |
5142 @DocsEditable() | 5426 @DocsEditable() |
5143 @Experimental() // untriaged | 5427 @Experimental() // untriaged |
5144 ElementStream<MouseEvent> get onDrag => dragEvent.forElement(this); | 5428 ElementStream<MouseEvent> get onDrag => dragEvent.forElement(this); |
(...skipping 24 matching lines...) Expand all Loading... |
5169 ElementStream<MouseEvent> get onDragStart => dragStartEvent.forElement(this); | 5453 ElementStream<MouseEvent> get onDragStart => dragStartEvent.forElement(this); |
5170 | 5454 |
5171 @DomName('SVGElement.ondrop') | 5455 @DomName('SVGElement.ondrop') |
5172 @DocsEditable() | 5456 @DocsEditable() |
5173 @Experimental() // untriaged | 5457 @Experimental() // untriaged |
5174 ElementStream<MouseEvent> get onDrop => dropEvent.forElement(this); | 5458 ElementStream<MouseEvent> get onDrop => dropEvent.forElement(this); |
5175 | 5459 |
5176 @DomName('SVGElement.ondurationchange') | 5460 @DomName('SVGElement.ondurationchange') |
5177 @DocsEditable() | 5461 @DocsEditable() |
5178 @Experimental() // untriaged | 5462 @Experimental() // untriaged |
5179 ElementStream<Event> get onDurationChange => durationChangeEvent.forElement(th
is); | 5463 ElementStream<Event> get onDurationChange => |
| 5464 durationChangeEvent.forElement(this); |
5180 | 5465 |
5181 @DomName('SVGElement.onemptied') | 5466 @DomName('SVGElement.onemptied') |
5182 @DocsEditable() | 5467 @DocsEditable() |
5183 @Experimental() // untriaged | 5468 @Experimental() // untriaged |
5184 ElementStream<Event> get onEmptied => emptiedEvent.forElement(this); | 5469 ElementStream<Event> get onEmptied => emptiedEvent.forElement(this); |
5185 | 5470 |
5186 @DomName('SVGElement.onended') | 5471 @DomName('SVGElement.onended') |
5187 @DocsEditable() | 5472 @DocsEditable() |
5188 @Experimental() // untriaged | 5473 @Experimental() // untriaged |
5189 ElementStream<Event> get onEnded => endedEvent.forElement(this); | 5474 ElementStream<Event> get onEnded => endedEvent.forElement(this); |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5229 ElementStream<Event> get onLoad => loadEvent.forElement(this); | 5514 ElementStream<Event> get onLoad => loadEvent.forElement(this); |
5230 | 5515 |
5231 @DomName('SVGElement.onloadeddata') | 5516 @DomName('SVGElement.onloadeddata') |
5232 @DocsEditable() | 5517 @DocsEditable() |
5233 @Experimental() // untriaged | 5518 @Experimental() // untriaged |
5234 ElementStream<Event> get onLoadedData => loadedDataEvent.forElement(this); | 5519 ElementStream<Event> get onLoadedData => loadedDataEvent.forElement(this); |
5235 | 5520 |
5236 @DomName('SVGElement.onloadedmetadata') | 5521 @DomName('SVGElement.onloadedmetadata') |
5237 @DocsEditable() | 5522 @DocsEditable() |
5238 @Experimental() // untriaged | 5523 @Experimental() // untriaged |
5239 ElementStream<Event> get onLoadedMetadata => loadedMetadataEvent.forElement(th
is); | 5524 ElementStream<Event> get onLoadedMetadata => |
| 5525 loadedMetadataEvent.forElement(this); |
5240 | 5526 |
5241 @DomName('SVGElement.onmousedown') | 5527 @DomName('SVGElement.onmousedown') |
5242 @DocsEditable() | 5528 @DocsEditable() |
5243 @Experimental() // untriaged | 5529 @Experimental() // untriaged |
5244 ElementStream<MouseEvent> get onMouseDown => mouseDownEvent.forElement(this); | 5530 ElementStream<MouseEvent> get onMouseDown => mouseDownEvent.forElement(this); |
5245 | 5531 |
5246 @DomName('SVGElement.onmouseenter') | 5532 @DomName('SVGElement.onmouseenter') |
5247 @DocsEditable() | 5533 @DocsEditable() |
5248 @Experimental() // untriaged | 5534 @Experimental() // untriaged |
5249 ElementStream<MouseEvent> get onMouseEnter => mouseEnterEvent.forElement(this)
; | 5535 ElementStream<MouseEvent> get onMouseEnter => |
| 5536 mouseEnterEvent.forElement(this); |
5250 | 5537 |
5251 @DomName('SVGElement.onmouseleave') | 5538 @DomName('SVGElement.onmouseleave') |
5252 @DocsEditable() | 5539 @DocsEditable() |
5253 @Experimental() // untriaged | 5540 @Experimental() // untriaged |
5254 ElementStream<MouseEvent> get onMouseLeave => mouseLeaveEvent.forElement(this)
; | 5541 ElementStream<MouseEvent> get onMouseLeave => |
| 5542 mouseLeaveEvent.forElement(this); |
5255 | 5543 |
5256 @DomName('SVGElement.onmousemove') | 5544 @DomName('SVGElement.onmousemove') |
5257 @DocsEditable() | 5545 @DocsEditable() |
5258 @Experimental() // untriaged | 5546 @Experimental() // untriaged |
5259 ElementStream<MouseEvent> get onMouseMove => mouseMoveEvent.forElement(this); | 5547 ElementStream<MouseEvent> get onMouseMove => mouseMoveEvent.forElement(this); |
5260 | 5548 |
5261 @DomName('SVGElement.onmouseout') | 5549 @DomName('SVGElement.onmouseout') |
5262 @DocsEditable() | 5550 @DocsEditable() |
5263 @Experimental() // untriaged | 5551 @Experimental() // untriaged |
5264 ElementStream<MouseEvent> get onMouseOut => mouseOutEvent.forElement(this); | 5552 ElementStream<MouseEvent> get onMouseOut => mouseOutEvent.forElement(this); |
5265 | 5553 |
5266 @DomName('SVGElement.onmouseover') | 5554 @DomName('SVGElement.onmouseover') |
5267 @DocsEditable() | 5555 @DocsEditable() |
5268 @Experimental() // untriaged | 5556 @Experimental() // untriaged |
5269 ElementStream<MouseEvent> get onMouseOver => mouseOverEvent.forElement(this); | 5557 ElementStream<MouseEvent> get onMouseOver => mouseOverEvent.forElement(this); |
5270 | 5558 |
5271 @DomName('SVGElement.onmouseup') | 5559 @DomName('SVGElement.onmouseup') |
5272 @DocsEditable() | 5560 @DocsEditable() |
5273 @Experimental() // untriaged | 5561 @Experimental() // untriaged |
5274 ElementStream<MouseEvent> get onMouseUp => mouseUpEvent.forElement(this); | 5562 ElementStream<MouseEvent> get onMouseUp => mouseUpEvent.forElement(this); |
5275 | 5563 |
5276 @DomName('SVGElement.onmousewheel') | 5564 @DomName('SVGElement.onmousewheel') |
5277 @DocsEditable() | 5565 @DocsEditable() |
5278 @Experimental() // untriaged | 5566 @Experimental() // untriaged |
5279 ElementStream<WheelEvent> get onMouseWheel => mouseWheelEvent.forElement(this)
; | 5567 ElementStream<WheelEvent> get onMouseWheel => |
| 5568 mouseWheelEvent.forElement(this); |
5280 | 5569 |
5281 @DomName('SVGElement.onpause') | 5570 @DomName('SVGElement.onpause') |
5282 @DocsEditable() | 5571 @DocsEditable() |
5283 @Experimental() // untriaged | 5572 @Experimental() // untriaged |
5284 ElementStream<Event> get onPause => pauseEvent.forElement(this); | 5573 ElementStream<Event> get onPause => pauseEvent.forElement(this); |
5285 | 5574 |
5286 @DomName('SVGElement.onplay') | 5575 @DomName('SVGElement.onplay') |
5287 @DocsEditable() | 5576 @DocsEditable() |
5288 @Experimental() // untriaged | 5577 @Experimental() // untriaged |
5289 ElementStream<Event> get onPlay => playEvent.forElement(this); | 5578 ElementStream<Event> get onPlay => playEvent.forElement(this); |
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5350 | 5639 |
5351 @DomName('SVGElement.onvolumechange') | 5640 @DomName('SVGElement.onvolumechange') |
5352 @DocsEditable() | 5641 @DocsEditable() |
5353 @Experimental() // untriaged | 5642 @Experimental() // untriaged |
5354 ElementStream<Event> get onVolumeChange => volumeChangeEvent.forElement(this); | 5643 ElementStream<Event> get onVolumeChange => volumeChangeEvent.forElement(this); |
5355 | 5644 |
5356 @DomName('SVGElement.onwaiting') | 5645 @DomName('SVGElement.onwaiting') |
5357 @DocsEditable() | 5646 @DocsEditable() |
5358 @Experimental() // untriaged | 5647 @Experimental() // untriaged |
5359 ElementStream<Event> get onWaiting => waitingEvent.forElement(this); | 5648 ElementStream<Event> get onWaiting => waitingEvent.forElement(this); |
5360 | |
5361 } | 5649 } |
5362 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5650 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5363 // for details. All rights reserved. Use of this source code is governed by a | 5651 // for details. All rights reserved. Use of this source code is governed by a |
5364 // BSD-style license that can be found in the LICENSE file. | 5652 // BSD-style license that can be found in the LICENSE file. |
5365 | 5653 |
5366 | |
5367 @DomName('SVGSVGElement') | 5654 @DomName('SVGSVGElement') |
5368 @Unstable() | 5655 @Unstable() |
5369 @Native("SVGSVGElement") | 5656 @Native("SVGSVGElement") |
5370 class SvgSvgElement extends GraphicsElement implements FitToViewBox, ZoomAndPan
{ | 5657 class SvgSvgElement extends GraphicsElement |
| 5658 implements FitToViewBox, ZoomAndPan { |
5371 factory SvgSvgElement() { | 5659 factory SvgSvgElement() { |
5372 final el = new SvgElement.tag("svg"); | 5660 final el = new SvgElement.tag("svg"); |
5373 // The SVG spec requires the version attribute to match the spec version | 5661 // The SVG spec requires the version attribute to match the spec version |
5374 el.attributes['version'] = "1.1"; | 5662 el.attributes['version'] = "1.1"; |
5375 return el; | 5663 return el; |
5376 } | 5664 } |
5377 | 5665 |
5378 // To suppress missing implicit constructor warnings. | 5666 // To suppress missing implicit constructor warnings. |
5379 factory SvgSvgElement._() { throw new UnsupportedError("Not supported"); } | 5667 factory SvgSvgElement._() { |
| 5668 throw new UnsupportedError("Not supported"); |
| 5669 } |
5380 /** | 5670 /** |
5381 * Constructor instantiated by the DOM when a custom element has been created. | 5671 * Constructor instantiated by the DOM when a custom element has been created. |
5382 * | 5672 * |
5383 * This can only be called by subclasses from their created constructor. | 5673 * This can only be called by subclasses from their created constructor. |
5384 */ | 5674 */ |
5385 SvgSvgElement.created() : super.created(); | 5675 SvgSvgElement.created() : super.created(); |
5386 | 5676 |
5387 @DomName('SVGSVGElement.currentScale') | 5677 @DomName('SVGSVGElement.currentScale') |
5388 @DocsEditable() | 5678 @DocsEditable() |
5389 num currentScale; | 5679 num currentScale; |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5431 @DomName('SVGSVGElement.x') | 5721 @DomName('SVGSVGElement.x') |
5432 @DocsEditable() | 5722 @DocsEditable() |
5433 final AnimatedLength x; | 5723 final AnimatedLength x; |
5434 | 5724 |
5435 @DomName('SVGSVGElement.y') | 5725 @DomName('SVGSVGElement.y') |
5436 @DocsEditable() | 5726 @DocsEditable() |
5437 final AnimatedLength y; | 5727 final AnimatedLength y; |
5438 | 5728 |
5439 @DomName('SVGSVGElement.animationsPaused') | 5729 @DomName('SVGSVGElement.animationsPaused') |
5440 @DocsEditable() | 5730 @DocsEditable() |
5441 bool animationsPaused() native; | 5731 bool animationsPaused() native ; |
5442 | 5732 |
5443 @DomName('SVGSVGElement.checkEnclosure') | 5733 @DomName('SVGSVGElement.checkEnclosure') |
5444 @DocsEditable() | 5734 @DocsEditable() |
5445 bool checkEnclosure(SvgElement element, Rect rect) native; | 5735 bool checkEnclosure(SvgElement element, Rect rect) native ; |
5446 | 5736 |
5447 @DomName('SVGSVGElement.checkIntersection') | 5737 @DomName('SVGSVGElement.checkIntersection') |
5448 @DocsEditable() | 5738 @DocsEditable() |
5449 bool checkIntersection(SvgElement element, Rect rect) native; | 5739 bool checkIntersection(SvgElement element, Rect rect) native ; |
5450 | 5740 |
5451 @JSName('createSVGAngle') | 5741 @JSName('createSVGAngle') |
5452 @DomName('SVGSVGElement.createSVGAngle') | 5742 @DomName('SVGSVGElement.createSVGAngle') |
5453 @DocsEditable() | 5743 @DocsEditable() |
5454 Angle createSvgAngle() native; | 5744 Angle createSvgAngle() native ; |
5455 | 5745 |
5456 @JSName('createSVGLength') | 5746 @JSName('createSVGLength') |
5457 @DomName('SVGSVGElement.createSVGLength') | 5747 @DomName('SVGSVGElement.createSVGLength') |
5458 @DocsEditable() | 5748 @DocsEditable() |
5459 Length createSvgLength() native; | 5749 Length createSvgLength() native ; |
5460 | 5750 |
5461 @JSName('createSVGMatrix') | 5751 @JSName('createSVGMatrix') |
5462 @DomName('SVGSVGElement.createSVGMatrix') | 5752 @DomName('SVGSVGElement.createSVGMatrix') |
5463 @DocsEditable() | 5753 @DocsEditable() |
5464 Matrix createSvgMatrix() native; | 5754 Matrix createSvgMatrix() native ; |
5465 | 5755 |
5466 @JSName('createSVGNumber') | 5756 @JSName('createSVGNumber') |
5467 @DomName('SVGSVGElement.createSVGNumber') | 5757 @DomName('SVGSVGElement.createSVGNumber') |
5468 @DocsEditable() | 5758 @DocsEditable() |
5469 Number createSvgNumber() native; | 5759 Number createSvgNumber() native ; |
5470 | 5760 |
5471 @JSName('createSVGPoint') | 5761 @JSName('createSVGPoint') |
5472 @DomName('SVGSVGElement.createSVGPoint') | 5762 @DomName('SVGSVGElement.createSVGPoint') |
5473 @DocsEditable() | 5763 @DocsEditable() |
5474 Point createSvgPoint() native; | 5764 Point createSvgPoint() native ; |
5475 | 5765 |
5476 @JSName('createSVGRect') | 5766 @JSName('createSVGRect') |
5477 @DomName('SVGSVGElement.createSVGRect') | 5767 @DomName('SVGSVGElement.createSVGRect') |
5478 @DocsEditable() | 5768 @DocsEditable() |
5479 Rect createSvgRect() native; | 5769 Rect createSvgRect() native ; |
5480 | 5770 |
5481 @JSName('createSVGTransform') | 5771 @JSName('createSVGTransform') |
5482 @DomName('SVGSVGElement.createSVGTransform') | 5772 @DomName('SVGSVGElement.createSVGTransform') |
5483 @DocsEditable() | 5773 @DocsEditable() |
5484 Transform createSvgTransform() native; | 5774 Transform createSvgTransform() native ; |
5485 | 5775 |
5486 @JSName('createSVGTransformFromMatrix') | 5776 @JSName('createSVGTransformFromMatrix') |
5487 @DomName('SVGSVGElement.createSVGTransformFromMatrix') | 5777 @DomName('SVGSVGElement.createSVGTransformFromMatrix') |
5488 @DocsEditable() | 5778 @DocsEditable() |
5489 Transform createSvgTransformFromMatrix(Matrix matrix) native; | 5779 Transform createSvgTransformFromMatrix(Matrix matrix) native ; |
5490 | 5780 |
5491 @DomName('SVGSVGElement.deselectAll') | 5781 @DomName('SVGSVGElement.deselectAll') |
5492 @DocsEditable() | 5782 @DocsEditable() |
5493 void deselectAll() native; | 5783 void deselectAll() native ; |
5494 | 5784 |
5495 @DomName('SVGSVGElement.forceRedraw') | 5785 @DomName('SVGSVGElement.forceRedraw') |
5496 @DocsEditable() | 5786 @DocsEditable() |
5497 void forceRedraw() native; | 5787 void forceRedraw() native ; |
5498 | 5788 |
5499 @DomName('SVGSVGElement.getCurrentTime') | 5789 @DomName('SVGSVGElement.getCurrentTime') |
5500 @DocsEditable() | 5790 @DocsEditable() |
5501 double getCurrentTime() native; | 5791 double getCurrentTime() native ; |
5502 | 5792 |
5503 @DomName('SVGSVGElement.getElementById') | 5793 @DomName('SVGSVGElement.getElementById') |
5504 @DocsEditable() | 5794 @DocsEditable() |
5505 Element getElementById(String elementId) native; | 5795 Element getElementById(String elementId) native ; |
5506 | 5796 |
5507 @DomName('SVGSVGElement.getEnclosureList') | 5797 @DomName('SVGSVGElement.getEnclosureList') |
5508 @DocsEditable() | 5798 @DocsEditable() |
5509 @Returns('NodeList') | 5799 @Returns('NodeList') |
5510 @Creates('NodeList') | 5800 @Creates('NodeList') |
5511 List<Node> getEnclosureList(Rect rect, SvgElement referenceElement) native; | 5801 List<Node> getEnclosureList(Rect rect, SvgElement referenceElement) native ; |
5512 | 5802 |
5513 @DomName('SVGSVGElement.getIntersectionList') | 5803 @DomName('SVGSVGElement.getIntersectionList') |
5514 @DocsEditable() | 5804 @DocsEditable() |
5515 @Returns('NodeList') | 5805 @Returns('NodeList') |
5516 @Creates('NodeList') | 5806 @Creates('NodeList') |
5517 List<Node> getIntersectionList(Rect rect, SvgElement referenceElement) native; | 5807 List<Node> getIntersectionList(Rect rect, SvgElement referenceElement) |
| 5808 native ; |
5518 | 5809 |
5519 @DomName('SVGSVGElement.pauseAnimations') | 5810 @DomName('SVGSVGElement.pauseAnimations') |
5520 @DocsEditable() | 5811 @DocsEditable() |
5521 void pauseAnimations() native; | 5812 void pauseAnimations() native ; |
5522 | 5813 |
5523 @DomName('SVGSVGElement.setCurrentTime') | 5814 @DomName('SVGSVGElement.setCurrentTime') |
5524 @DocsEditable() | 5815 @DocsEditable() |
5525 void setCurrentTime(num seconds) native; | 5816 void setCurrentTime(num seconds) native ; |
5526 | 5817 |
5527 @DomName('SVGSVGElement.suspendRedraw') | 5818 @DomName('SVGSVGElement.suspendRedraw') |
5528 @DocsEditable() | 5819 @DocsEditable() |
5529 int suspendRedraw(int maxWaitMilliseconds) native; | 5820 int suspendRedraw(int maxWaitMilliseconds) native ; |
5530 | 5821 |
5531 @DomName('SVGSVGElement.unpauseAnimations') | 5822 @DomName('SVGSVGElement.unpauseAnimations') |
5532 @DocsEditable() | 5823 @DocsEditable() |
5533 void unpauseAnimations() native; | 5824 void unpauseAnimations() native ; |
5534 | 5825 |
5535 @DomName('SVGSVGElement.unsuspendRedraw') | 5826 @DomName('SVGSVGElement.unsuspendRedraw') |
5536 @DocsEditable() | 5827 @DocsEditable() |
5537 void unsuspendRedraw(int suspendHandleId) native; | 5828 void unsuspendRedraw(int suspendHandleId) native ; |
5538 | 5829 |
5539 @DomName('SVGSVGElement.unsuspendRedrawAll') | 5830 @DomName('SVGSVGElement.unsuspendRedrawAll') |
5540 @DocsEditable() | 5831 @DocsEditable() |
5541 void unsuspendRedrawAll() native; | 5832 void unsuspendRedrawAll() native ; |
5542 | 5833 |
5543 // From SVGFitToViewBox | 5834 // From SVGFitToViewBox |
5544 | 5835 |
5545 @DomName('SVGSVGElement.preserveAspectRatio') | 5836 @DomName('SVGSVGElement.preserveAspectRatio') |
5546 @DocsEditable() | 5837 @DocsEditable() |
5547 final AnimatedPreserveAspectRatio preserveAspectRatio; | 5838 final AnimatedPreserveAspectRatio preserveAspectRatio; |
5548 | 5839 |
5549 @DomName('SVGSVGElement.viewBox') | 5840 @DomName('SVGSVGElement.viewBox') |
5550 @DocsEditable() | 5841 @DocsEditable() |
5551 final AnimatedRect viewBox; | 5842 final AnimatedRect viewBox; |
5552 | 5843 |
5553 // From SVGZoomAndPan | 5844 // From SVGZoomAndPan |
5554 | 5845 |
5555 @DomName('SVGSVGElement.zoomAndPan') | 5846 @DomName('SVGSVGElement.zoomAndPan') |
5556 @DocsEditable() | 5847 @DocsEditable() |
5557 int zoomAndPan; | 5848 int zoomAndPan; |
5558 | |
5559 } | 5849 } |
5560 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5850 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5561 // for details. All rights reserved. Use of this source code is governed by a | 5851 // for details. All rights reserved. Use of this source code is governed by a |
5562 // BSD-style license that can be found in the LICENSE file. | 5852 // BSD-style license that can be found in the LICENSE file. |
5563 | 5853 |
5564 | |
5565 @DocsEditable() | 5854 @DocsEditable() |
5566 @DomName('SVGSwitchElement') | 5855 @DomName('SVGSwitchElement') |
5567 @Unstable() | 5856 @Unstable() |
5568 @Native("SVGSwitchElement") | 5857 @Native("SVGSwitchElement") |
5569 class SwitchElement extends GraphicsElement { | 5858 class SwitchElement extends GraphicsElement { |
5570 // To suppress missing implicit constructor warnings. | 5859 // To suppress missing implicit constructor warnings. |
5571 factory SwitchElement._() { throw new UnsupportedError("Not supported"); } | 5860 factory SwitchElement._() { |
| 5861 throw new UnsupportedError("Not supported"); |
| 5862 } |
5572 | 5863 |
5573 @DomName('SVGSwitchElement.SVGSwitchElement') | 5864 @DomName('SVGSwitchElement.SVGSwitchElement') |
5574 @DocsEditable() | 5865 @DocsEditable() |
5575 factory SwitchElement() => _SvgElementFactoryProvider.createSvgElement_tag("sw
itch"); | 5866 factory SwitchElement() => |
| 5867 _SvgElementFactoryProvider.createSvgElement_tag("switch"); |
5576 /** | 5868 /** |
5577 * Constructor instantiated by the DOM when a custom element has been created. | 5869 * Constructor instantiated by the DOM when a custom element has been created. |
5578 * | 5870 * |
5579 * This can only be called by subclasses from their created constructor. | 5871 * This can only be called by subclasses from their created constructor. |
5580 */ | 5872 */ |
5581 SwitchElement.created() : super.created(); | 5873 SwitchElement.created() : super.created(); |
5582 } | 5874 } |
5583 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5875 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5584 // for details. All rights reserved. Use of this source code is governed by a | 5876 // for details. All rights reserved. Use of this source code is governed by a |
5585 // BSD-style license that can be found in the LICENSE file. | 5877 // BSD-style license that can be found in the LICENSE file. |
5586 | 5878 |
5587 | |
5588 @DocsEditable() | 5879 @DocsEditable() |
5589 @DomName('SVGSymbolElement') | 5880 @DomName('SVGSymbolElement') |
5590 @Unstable() | 5881 @Unstable() |
5591 @Native("SVGSymbolElement") | 5882 @Native("SVGSymbolElement") |
5592 class SymbolElement extends SvgElement implements FitToViewBox { | 5883 class SymbolElement extends SvgElement implements FitToViewBox { |
5593 // To suppress missing implicit constructor warnings. | 5884 // To suppress missing implicit constructor warnings. |
5594 factory SymbolElement._() { throw new UnsupportedError("Not supported"); } | 5885 factory SymbolElement._() { |
| 5886 throw new UnsupportedError("Not supported"); |
| 5887 } |
5595 | 5888 |
5596 @DomName('SVGSymbolElement.SVGSymbolElement') | 5889 @DomName('SVGSymbolElement.SVGSymbolElement') |
5597 @DocsEditable() | 5890 @DocsEditable() |
5598 factory SymbolElement() => _SvgElementFactoryProvider.createSvgElement_tag("sy
mbol"); | 5891 factory SymbolElement() => |
| 5892 _SvgElementFactoryProvider.createSvgElement_tag("symbol"); |
5599 /** | 5893 /** |
5600 * Constructor instantiated by the DOM when a custom element has been created. | 5894 * Constructor instantiated by the DOM when a custom element has been created. |
5601 * | 5895 * |
5602 * This can only be called by subclasses from their created constructor. | 5896 * This can only be called by subclasses from their created constructor. |
5603 */ | 5897 */ |
5604 SymbolElement.created() : super.created(); | 5898 SymbolElement.created() : super.created(); |
5605 | 5899 |
5606 // From SVGFitToViewBox | 5900 // From SVGFitToViewBox |
5607 | 5901 |
5608 @DomName('SVGSymbolElement.preserveAspectRatio') | 5902 @DomName('SVGSymbolElement.preserveAspectRatio') |
5609 @DocsEditable() | 5903 @DocsEditable() |
5610 final AnimatedPreserveAspectRatio preserveAspectRatio; | 5904 final AnimatedPreserveAspectRatio preserveAspectRatio; |
5611 | 5905 |
5612 @DomName('SVGSymbolElement.viewBox') | 5906 @DomName('SVGSymbolElement.viewBox') |
5613 @DocsEditable() | 5907 @DocsEditable() |
5614 final AnimatedRect viewBox; | 5908 final AnimatedRect viewBox; |
5615 } | 5909 } |
5616 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5617 // for details. All rights reserved. Use of this source code is governed by a | 5911 // for details. All rights reserved. Use of this source code is governed by a |
5618 // BSD-style license that can be found in the LICENSE file. | 5912 // BSD-style license that can be found in the LICENSE file. |
5619 | 5913 |
5620 | |
5621 @DocsEditable() | 5914 @DocsEditable() |
5622 @DomName('SVGTSpanElement') | 5915 @DomName('SVGTSpanElement') |
5623 @Unstable() | 5916 @Unstable() |
5624 @Native("SVGTSpanElement") | 5917 @Native("SVGTSpanElement") |
5625 class TSpanElement extends TextPositioningElement { | 5918 class TSpanElement extends TextPositioningElement { |
5626 // To suppress missing implicit constructor warnings. | 5919 // To suppress missing implicit constructor warnings. |
5627 factory TSpanElement._() { throw new UnsupportedError("Not supported"); } | 5920 factory TSpanElement._() { |
| 5921 throw new UnsupportedError("Not supported"); |
| 5922 } |
5628 | 5923 |
5629 @DomName('SVGTSpanElement.SVGTSpanElement') | 5924 @DomName('SVGTSpanElement.SVGTSpanElement') |
5630 @DocsEditable() | 5925 @DocsEditable() |
5631 factory TSpanElement() => _SvgElementFactoryProvider.createSvgElement_tag("tsp
an"); | 5926 factory TSpanElement() => |
| 5927 _SvgElementFactoryProvider.createSvgElement_tag("tspan"); |
5632 /** | 5928 /** |
5633 * Constructor instantiated by the DOM when a custom element has been created. | 5929 * Constructor instantiated by the DOM when a custom element has been created. |
5634 * | 5930 * |
5635 * This can only be called by subclasses from their created constructor. | 5931 * This can only be called by subclasses from their created constructor. |
5636 */ | 5932 */ |
5637 TSpanElement.created() : super.created(); | 5933 TSpanElement.created() : super.created(); |
5638 } | 5934 } |
5639 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5935 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5640 // for details. All rights reserved. Use of this source code is governed by a | 5936 // for details. All rights reserved. Use of this source code is governed by a |
5641 // BSD-style license that can be found in the LICENSE file. | 5937 // BSD-style license that can be found in the LICENSE file. |
5642 | 5938 |
5643 | |
5644 @DocsEditable() | 5939 @DocsEditable() |
5645 @DomName('SVGTests') | 5940 @DomName('SVGTests') |
5646 @Unstable() | 5941 @Unstable() |
5647 abstract class Tests extends Interceptor { | 5942 abstract class Tests extends Interceptor { |
5648 // To suppress missing implicit constructor warnings. | 5943 // To suppress missing implicit constructor warnings. |
5649 factory Tests._() { throw new UnsupportedError("Not supported"); } | 5944 factory Tests._() { |
| 5945 throw new UnsupportedError("Not supported"); |
| 5946 } |
5650 | 5947 |
5651 final StringList requiredExtensions; | 5948 final StringList requiredExtensions; |
5652 | 5949 |
5653 final StringList requiredFeatures; | 5950 final StringList requiredFeatures; |
5654 | 5951 |
5655 final StringList systemLanguage; | 5952 final StringList systemLanguage; |
5656 | 5953 |
5657 bool hasExtension(String extension); | 5954 bool hasExtension(String extension); |
5658 } | 5955 } |
5659 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5956 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5660 // for details. All rights reserved. Use of this source code is governed by a | 5957 // for details. All rights reserved. Use of this source code is governed by a |
5661 // BSD-style license that can be found in the LICENSE file. | 5958 // BSD-style license that can be found in the LICENSE file. |
5662 | 5959 |
5663 | |
5664 @DocsEditable() | 5960 @DocsEditable() |
5665 @DomName('SVGTextContentElement') | 5961 @DomName('SVGTextContentElement') |
5666 @Unstable() | 5962 @Unstable() |
5667 @Native("SVGTextContentElement") | 5963 @Native("SVGTextContentElement") |
5668 class TextContentElement extends GraphicsElement { | 5964 class TextContentElement extends GraphicsElement { |
5669 // To suppress missing implicit constructor warnings. | 5965 // To suppress missing implicit constructor warnings. |
5670 factory TextContentElement._() { throw new UnsupportedError("Not supported");
} | 5966 factory TextContentElement._() { |
| 5967 throw new UnsupportedError("Not supported"); |
| 5968 } |
5671 /** | 5969 /** |
5672 * Constructor instantiated by the DOM when a custom element has been created. | 5970 * Constructor instantiated by the DOM when a custom element has been created. |
5673 * | 5971 * |
5674 * This can only be called by subclasses from their created constructor. | 5972 * This can only be called by subclasses from their created constructor. |
5675 */ | 5973 */ |
5676 TextContentElement.created() : super.created(); | 5974 TextContentElement.created() : super.created(); |
5677 | 5975 |
5678 @DomName('SVGTextContentElement.LENGTHADJUST_SPACING') | 5976 @DomName('SVGTextContentElement.LENGTHADJUST_SPACING') |
5679 @DocsEditable() | 5977 @DocsEditable() |
5680 static const int LENGTHADJUST_SPACING = 1; | 5978 static const int LENGTHADJUST_SPACING = 1; |
5681 | 5979 |
5682 @DomName('SVGTextContentElement.LENGTHADJUST_SPACINGANDGLYPHS') | 5980 @DomName('SVGTextContentElement.LENGTHADJUST_SPACINGANDGLYPHS') |
5683 @DocsEditable() | 5981 @DocsEditable() |
5684 static const int LENGTHADJUST_SPACINGANDGLYPHS = 2; | 5982 static const int LENGTHADJUST_SPACINGANDGLYPHS = 2; |
5685 | 5983 |
5686 @DomName('SVGTextContentElement.LENGTHADJUST_UNKNOWN') | 5984 @DomName('SVGTextContentElement.LENGTHADJUST_UNKNOWN') |
5687 @DocsEditable() | 5985 @DocsEditable() |
5688 static const int LENGTHADJUST_UNKNOWN = 0; | 5986 static const int LENGTHADJUST_UNKNOWN = 0; |
5689 | 5987 |
5690 @DomName('SVGTextContentElement.lengthAdjust') | 5988 @DomName('SVGTextContentElement.lengthAdjust') |
5691 @DocsEditable() | 5989 @DocsEditable() |
5692 final AnimatedEnumeration lengthAdjust; | 5990 final AnimatedEnumeration lengthAdjust; |
5693 | 5991 |
5694 @DomName('SVGTextContentElement.textLength') | 5992 @DomName('SVGTextContentElement.textLength') |
5695 @DocsEditable() | 5993 @DocsEditable() |
5696 final AnimatedLength textLength; | 5994 final AnimatedLength textLength; |
5697 | 5995 |
5698 @DomName('SVGTextContentElement.getCharNumAtPosition') | 5996 @DomName('SVGTextContentElement.getCharNumAtPosition') |
5699 @DocsEditable() | 5997 @DocsEditable() |
5700 int getCharNumAtPosition(Point point) native; | 5998 int getCharNumAtPosition(Point point) native ; |
5701 | 5999 |
5702 @DomName('SVGTextContentElement.getComputedTextLength') | 6000 @DomName('SVGTextContentElement.getComputedTextLength') |
5703 @DocsEditable() | 6001 @DocsEditable() |
5704 double getComputedTextLength() native; | 6002 double getComputedTextLength() native ; |
5705 | 6003 |
5706 @DomName('SVGTextContentElement.getEndPositionOfChar') | 6004 @DomName('SVGTextContentElement.getEndPositionOfChar') |
5707 @DocsEditable() | 6005 @DocsEditable() |
5708 Point getEndPositionOfChar(int charnum) native; | 6006 Point getEndPositionOfChar(int charnum) native ; |
5709 | 6007 |
5710 @DomName('SVGTextContentElement.getExtentOfChar') | 6008 @DomName('SVGTextContentElement.getExtentOfChar') |
5711 @DocsEditable() | 6009 @DocsEditable() |
5712 Rect getExtentOfChar(int charnum) native; | 6010 Rect getExtentOfChar(int charnum) native ; |
5713 | 6011 |
5714 @DomName('SVGTextContentElement.getNumberOfChars') | 6012 @DomName('SVGTextContentElement.getNumberOfChars') |
5715 @DocsEditable() | 6013 @DocsEditable() |
5716 int getNumberOfChars() native; | 6014 int getNumberOfChars() native ; |
5717 | 6015 |
5718 @DomName('SVGTextContentElement.getRotationOfChar') | 6016 @DomName('SVGTextContentElement.getRotationOfChar') |
5719 @DocsEditable() | 6017 @DocsEditable() |
5720 double getRotationOfChar(int charnum) native; | 6018 double getRotationOfChar(int charnum) native ; |
5721 | 6019 |
5722 @DomName('SVGTextContentElement.getStartPositionOfChar') | 6020 @DomName('SVGTextContentElement.getStartPositionOfChar') |
5723 @DocsEditable() | 6021 @DocsEditable() |
5724 Point getStartPositionOfChar(int charnum) native; | 6022 Point getStartPositionOfChar(int charnum) native ; |
5725 | 6023 |
5726 @DomName('SVGTextContentElement.getSubStringLength') | 6024 @DomName('SVGTextContentElement.getSubStringLength') |
5727 @DocsEditable() | 6025 @DocsEditable() |
5728 double getSubStringLength(int charnum, int nchars) native; | 6026 double getSubStringLength(int charnum, int nchars) native ; |
5729 | 6027 |
5730 @DomName('SVGTextContentElement.selectSubString') | 6028 @DomName('SVGTextContentElement.selectSubString') |
5731 @DocsEditable() | 6029 @DocsEditable() |
5732 void selectSubString(int charnum, int nchars) native; | 6030 void selectSubString(int charnum, int nchars) native ; |
5733 } | 6031 } |
5734 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5735 // for details. All rights reserved. Use of this source code is governed by a | 6033 // for details. All rights reserved. Use of this source code is governed by a |
5736 // BSD-style license that can be found in the LICENSE file. | 6034 // BSD-style license that can be found in the LICENSE file. |
5737 | 6035 |
5738 | |
5739 @DocsEditable() | 6036 @DocsEditable() |
5740 @DomName('SVGTextElement') | 6037 @DomName('SVGTextElement') |
5741 @Unstable() | 6038 @Unstable() |
5742 @Native("SVGTextElement") | 6039 @Native("SVGTextElement") |
5743 class TextElement extends TextPositioningElement { | 6040 class TextElement extends TextPositioningElement { |
5744 // To suppress missing implicit constructor warnings. | 6041 // To suppress missing implicit constructor warnings. |
5745 factory TextElement._() { throw new UnsupportedError("Not supported"); } | 6042 factory TextElement._() { |
| 6043 throw new UnsupportedError("Not supported"); |
| 6044 } |
5746 | 6045 |
5747 @DomName('SVGTextElement.SVGTextElement') | 6046 @DomName('SVGTextElement.SVGTextElement') |
5748 @DocsEditable() | 6047 @DocsEditable() |
5749 factory TextElement() => _SvgElementFactoryProvider.createSvgElement_tag("text
"); | 6048 factory TextElement() => |
| 6049 _SvgElementFactoryProvider.createSvgElement_tag("text"); |
5750 /** | 6050 /** |
5751 * Constructor instantiated by the DOM when a custom element has been created. | 6051 * Constructor instantiated by the DOM when a custom element has been created. |
5752 * | 6052 * |
5753 * This can only be called by subclasses from their created constructor. | 6053 * This can only be called by subclasses from their created constructor. |
5754 */ | 6054 */ |
5755 TextElement.created() : super.created(); | 6055 TextElement.created() : super.created(); |
5756 } | 6056 } |
5757 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6057 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5758 // for details. All rights reserved. Use of this source code is governed by a | 6058 // for details. All rights reserved. Use of this source code is governed by a |
5759 // BSD-style license that can be found in the LICENSE file. | 6059 // BSD-style license that can be found in the LICENSE file. |
5760 | 6060 |
5761 | |
5762 @DocsEditable() | 6061 @DocsEditable() |
5763 @DomName('SVGTextPathElement') | 6062 @DomName('SVGTextPathElement') |
5764 @Unstable() | 6063 @Unstable() |
5765 @Native("SVGTextPathElement") | 6064 @Native("SVGTextPathElement") |
5766 class TextPathElement extends TextContentElement implements UriReference { | 6065 class TextPathElement extends TextContentElement implements UriReference { |
5767 // To suppress missing implicit constructor warnings. | 6066 // To suppress missing implicit constructor warnings. |
5768 factory TextPathElement._() { throw new UnsupportedError("Not supported"); } | 6067 factory TextPathElement._() { |
| 6068 throw new UnsupportedError("Not supported"); |
| 6069 } |
5769 /** | 6070 /** |
5770 * Constructor instantiated by the DOM when a custom element has been created. | 6071 * Constructor instantiated by the DOM when a custom element has been created. |
5771 * | 6072 * |
5772 * This can only be called by subclasses from their created constructor. | 6073 * This can only be called by subclasses from their created constructor. |
5773 */ | 6074 */ |
5774 TextPathElement.created() : super.created(); | 6075 TextPathElement.created() : super.created(); |
5775 | 6076 |
5776 @DomName('SVGTextPathElement.TEXTPATH_METHODTYPE_ALIGN') | 6077 @DomName('SVGTextPathElement.TEXTPATH_METHODTYPE_ALIGN') |
5777 @DocsEditable() | 6078 @DocsEditable() |
5778 static const int TEXTPATH_METHODTYPE_ALIGN = 1; | 6079 static const int TEXTPATH_METHODTYPE_ALIGN = 1; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5812 // From SVGURIReference | 6113 // From SVGURIReference |
5813 | 6114 |
5814 @DomName('SVGTextPathElement.href') | 6115 @DomName('SVGTextPathElement.href') |
5815 @DocsEditable() | 6116 @DocsEditable() |
5816 final AnimatedString href; | 6117 final AnimatedString href; |
5817 } | 6118 } |
5818 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6119 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5819 // for details. All rights reserved. Use of this source code is governed by a | 6120 // for details. All rights reserved. Use of this source code is governed by a |
5820 // BSD-style license that can be found in the LICENSE file. | 6121 // BSD-style license that can be found in the LICENSE file. |
5821 | 6122 |
5822 | |
5823 @DocsEditable() | 6123 @DocsEditable() |
5824 @DomName('SVGTextPositioningElement') | 6124 @DomName('SVGTextPositioningElement') |
5825 @Unstable() | 6125 @Unstable() |
5826 @Native("SVGTextPositioningElement") | 6126 @Native("SVGTextPositioningElement") |
5827 class TextPositioningElement extends TextContentElement { | 6127 class TextPositioningElement extends TextContentElement { |
5828 // To suppress missing implicit constructor warnings. | 6128 // To suppress missing implicit constructor warnings. |
5829 factory TextPositioningElement._() { throw new UnsupportedError("Not supported
"); } | 6129 factory TextPositioningElement._() { |
| 6130 throw new UnsupportedError("Not supported"); |
| 6131 } |
5830 /** | 6132 /** |
5831 * Constructor instantiated by the DOM when a custom element has been created. | 6133 * Constructor instantiated by the DOM when a custom element has been created. |
5832 * | 6134 * |
5833 * This can only be called by subclasses from their created constructor. | 6135 * This can only be called by subclasses from their created constructor. |
5834 */ | 6136 */ |
5835 TextPositioningElement.created() : super.created(); | 6137 TextPositioningElement.created() : super.created(); |
5836 | 6138 |
5837 @DomName('SVGTextPositioningElement.dx') | 6139 @DomName('SVGTextPositioningElement.dx') |
5838 @DocsEditable() | 6140 @DocsEditable() |
5839 final AnimatedLengthList dx; | 6141 final AnimatedLengthList dx; |
(...skipping 11 matching lines...) Expand all Loading... |
5851 final AnimatedLengthList x; | 6153 final AnimatedLengthList x; |
5852 | 6154 |
5853 @DomName('SVGTextPositioningElement.y') | 6155 @DomName('SVGTextPositioningElement.y') |
5854 @DocsEditable() | 6156 @DocsEditable() |
5855 final AnimatedLengthList y; | 6157 final AnimatedLengthList y; |
5856 } | 6158 } |
5857 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6159 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5858 // for details. All rights reserved. Use of this source code is governed by a | 6160 // for details. All rights reserved. Use of this source code is governed by a |
5859 // BSD-style license that can be found in the LICENSE file. | 6161 // BSD-style license that can be found in the LICENSE file. |
5860 | 6162 |
5861 | |
5862 @DocsEditable() | 6163 @DocsEditable() |
5863 @DomName('SVGTitleElement') | 6164 @DomName('SVGTitleElement') |
5864 @Unstable() | 6165 @Unstable() |
5865 @Native("SVGTitleElement") | 6166 @Native("SVGTitleElement") |
5866 class TitleElement extends SvgElement { | 6167 class TitleElement extends SvgElement { |
5867 // To suppress missing implicit constructor warnings. | 6168 // To suppress missing implicit constructor warnings. |
5868 factory TitleElement._() { throw new UnsupportedError("Not supported"); } | 6169 factory TitleElement._() { |
| 6170 throw new UnsupportedError("Not supported"); |
| 6171 } |
5869 | 6172 |
5870 @DomName('SVGTitleElement.SVGTitleElement') | 6173 @DomName('SVGTitleElement.SVGTitleElement') |
5871 @DocsEditable() | 6174 @DocsEditable() |
5872 factory TitleElement() => _SvgElementFactoryProvider.createSvgElement_tag("tit
le"); | 6175 factory TitleElement() => |
| 6176 _SvgElementFactoryProvider.createSvgElement_tag("title"); |
5873 /** | 6177 /** |
5874 * Constructor instantiated by the DOM when a custom element has been created. | 6178 * Constructor instantiated by the DOM when a custom element has been created. |
5875 * | 6179 * |
5876 * This can only be called by subclasses from their created constructor. | 6180 * This can only be called by subclasses from their created constructor. |
5877 */ | 6181 */ |
5878 TitleElement.created() : super.created(); | 6182 TitleElement.created() : super.created(); |
5879 } | 6183 } |
5880 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6184 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5881 // for details. All rights reserved. Use of this source code is governed by a | 6185 // for details. All rights reserved. Use of this source code is governed by a |
5882 // BSD-style license that can be found in the LICENSE file. | 6186 // BSD-style license that can be found in the LICENSE file. |
5883 | 6187 |
5884 | |
5885 @DocsEditable() | 6188 @DocsEditable() |
5886 @DomName('SVGTransform') | 6189 @DomName('SVGTransform') |
5887 @Unstable() | 6190 @Unstable() |
5888 @Native("SVGTransform") | 6191 @Native("SVGTransform") |
5889 class Transform extends Interceptor { | 6192 class Transform extends Interceptor { |
5890 // To suppress missing implicit constructor warnings. | 6193 // To suppress missing implicit constructor warnings. |
5891 factory Transform._() { throw new UnsupportedError("Not supported"); } | 6194 factory Transform._() { |
| 6195 throw new UnsupportedError("Not supported"); |
| 6196 } |
5892 | 6197 |
5893 @DomName('SVGTransform.SVG_TRANSFORM_MATRIX') | 6198 @DomName('SVGTransform.SVG_TRANSFORM_MATRIX') |
5894 @DocsEditable() | 6199 @DocsEditable() |
5895 static const int SVG_TRANSFORM_MATRIX = 1; | 6200 static const int SVG_TRANSFORM_MATRIX = 1; |
5896 | 6201 |
5897 @DomName('SVGTransform.SVG_TRANSFORM_ROTATE') | 6202 @DomName('SVGTransform.SVG_TRANSFORM_ROTATE') |
5898 @DocsEditable() | 6203 @DocsEditable() |
5899 static const int SVG_TRANSFORM_ROTATE = 4; | 6204 static const int SVG_TRANSFORM_ROTATE = 4; |
5900 | 6205 |
5901 @DomName('SVGTransform.SVG_TRANSFORM_SCALE') | 6206 @DomName('SVGTransform.SVG_TRANSFORM_SCALE') |
(...skipping 23 matching lines...) Expand all Loading... |
5925 @DomName('SVGTransform.matrix') | 6230 @DomName('SVGTransform.matrix') |
5926 @DocsEditable() | 6231 @DocsEditable() |
5927 final Matrix matrix; | 6232 final Matrix matrix; |
5928 | 6233 |
5929 @DomName('SVGTransform.type') | 6234 @DomName('SVGTransform.type') |
5930 @DocsEditable() | 6235 @DocsEditable() |
5931 final int type; | 6236 final int type; |
5932 | 6237 |
5933 @DomName('SVGTransform.setMatrix') | 6238 @DomName('SVGTransform.setMatrix') |
5934 @DocsEditable() | 6239 @DocsEditable() |
5935 void setMatrix(Matrix matrix) native; | 6240 void setMatrix(Matrix matrix) native ; |
5936 | 6241 |
5937 @DomName('SVGTransform.setRotate') | 6242 @DomName('SVGTransform.setRotate') |
5938 @DocsEditable() | 6243 @DocsEditable() |
5939 void setRotate(num angle, num cx, num cy) native; | 6244 void setRotate(num angle, num cx, num cy) native ; |
5940 | 6245 |
5941 @DomName('SVGTransform.setScale') | 6246 @DomName('SVGTransform.setScale') |
5942 @DocsEditable() | 6247 @DocsEditable() |
5943 void setScale(num sx, num sy) native; | 6248 void setScale(num sx, num sy) native ; |
5944 | 6249 |
5945 @DomName('SVGTransform.setSkewX') | 6250 @DomName('SVGTransform.setSkewX') |
5946 @DocsEditable() | 6251 @DocsEditable() |
5947 void setSkewX(num angle) native; | 6252 void setSkewX(num angle) native ; |
5948 | 6253 |
5949 @DomName('SVGTransform.setSkewY') | 6254 @DomName('SVGTransform.setSkewY') |
5950 @DocsEditable() | 6255 @DocsEditable() |
5951 void setSkewY(num angle) native; | 6256 void setSkewY(num angle) native ; |
5952 | 6257 |
5953 @DomName('SVGTransform.setTranslate') | 6258 @DomName('SVGTransform.setTranslate') |
5954 @DocsEditable() | 6259 @DocsEditable() |
5955 void setTranslate(num tx, num ty) native; | 6260 void setTranslate(num tx, num ty) native ; |
5956 } | 6261 } |
5957 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6262 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
5958 // for details. All rights reserved. Use of this source code is governed by a | 6263 // for details. All rights reserved. Use of this source code is governed by a |
5959 // BSD-style license that can be found in the LICENSE file. | 6264 // BSD-style license that can be found in the LICENSE file. |
5960 | 6265 |
5961 | |
5962 @DocsEditable() | 6266 @DocsEditable() |
5963 @DomName('SVGTransformList') | 6267 @DomName('SVGTransformList') |
5964 @Unstable() | 6268 @Unstable() |
5965 @Native("SVGTransformList") | 6269 @Native("SVGTransformList") |
5966 class TransformList extends Interceptor with ListMixin<Transform>, ImmutableList
Mixin<Transform> implements List<Transform> { | 6270 class TransformList extends Interceptor |
| 6271 with ListMixin<Transform>, ImmutableListMixin<Transform> |
| 6272 implements List<Transform> { |
5967 // To suppress missing implicit constructor warnings. | 6273 // To suppress missing implicit constructor warnings. |
5968 factory TransformList._() { throw new UnsupportedError("Not supported"); } | 6274 factory TransformList._() { |
| 6275 throw new UnsupportedError("Not supported"); |
| 6276 } |
5969 | 6277 |
5970 @DomName('SVGTransformList.length') | 6278 @DomName('SVGTransformList.length') |
5971 @DocsEditable() | 6279 @DocsEditable() |
5972 @Experimental() // untriaged | 6280 @Experimental() // untriaged |
5973 int get length => JS("int", "#.length", this); | 6281 int get length => JS("int", "#.length", this); |
5974 | 6282 |
5975 @DomName('SVGTransformList.numberOfItems') | 6283 @DomName('SVGTransformList.numberOfItems') |
5976 @DocsEditable() | 6284 @DocsEditable() |
5977 final int numberOfItems; | 6285 final int numberOfItems; |
5978 | 6286 |
5979 Transform operator[](int index) { | 6287 Transform operator [](int index) { |
5980 if (JS("bool", "# >>> 0 !== # || # >= #", index, | 6288 if (JS("bool", "# >>> 0 !== # || # >= #", index, index, index, length)) |
5981 index, index, length)) | |
5982 throw new RangeError.index(index, this); | 6289 throw new RangeError.index(index, this); |
5983 return this.getItem(index); | 6290 return this.getItem(index); |
5984 } | 6291 } |
5985 void operator[]=(int index, Transform value) { | 6292 |
| 6293 void operator []=(int index, Transform value) { |
5986 throw new UnsupportedError("Cannot assign element of immutable List."); | 6294 throw new UnsupportedError("Cannot assign element of immutable List."); |
5987 } | 6295 } |
5988 // -- start List<Transform> mixins. | 6296 // -- start List<Transform> mixins. |
5989 // Transform is the element type. | 6297 // Transform is the element type. |
5990 | 6298 |
5991 | |
5992 set length(int value) { | 6299 set length(int value) { |
5993 throw new UnsupportedError("Cannot resize immutable List."); | 6300 throw new UnsupportedError("Cannot resize immutable List."); |
5994 } | 6301 } |
5995 | 6302 |
5996 Transform get first { | 6303 Transform get first { |
5997 if (this.length > 0) { | 6304 if (this.length > 0) { |
5998 return JS('Transform', '#[0]', this); | 6305 return JS('Transform', '#[0]', this); |
5999 } | 6306 } |
6000 throw new StateError("No elements"); | 6307 throw new StateError("No elements"); |
6001 } | 6308 } |
(...skipping 14 matching lines...) Expand all Loading... |
6016 if (len == 0) throw new StateError("No elements"); | 6323 if (len == 0) throw new StateError("No elements"); |
6017 throw new StateError("More than one element"); | 6324 throw new StateError("More than one element"); |
6018 } | 6325 } |
6019 | 6326 |
6020 Transform elementAt(int index) => this[index]; | 6327 Transform elementAt(int index) => this[index]; |
6021 // -- end List<Transform> mixins. | 6328 // -- end List<Transform> mixins. |
6022 | 6329 |
6023 @DomName('SVGTransformList.__setter__') | 6330 @DomName('SVGTransformList.__setter__') |
6024 @DocsEditable() | 6331 @DocsEditable() |
6025 @Experimental() // untriaged | 6332 @Experimental() // untriaged |
6026 void __setter__(int index, Transform newItem) native; | 6333 void __setter__(int index, Transform newItem) native ; |
6027 | 6334 |
6028 @DomName('SVGTransformList.appendItem') | 6335 @DomName('SVGTransformList.appendItem') |
6029 @DocsEditable() | 6336 @DocsEditable() |
6030 Transform appendItem(Transform newItem) native; | 6337 Transform appendItem(Transform newItem) native ; |
6031 | 6338 |
6032 @DomName('SVGTransformList.clear') | 6339 @DomName('SVGTransformList.clear') |
6033 @DocsEditable() | 6340 @DocsEditable() |
6034 void clear() native; | 6341 void clear() native ; |
6035 | 6342 |
6036 @DomName('SVGTransformList.consolidate') | 6343 @DomName('SVGTransformList.consolidate') |
6037 @DocsEditable() | 6344 @DocsEditable() |
6038 Transform consolidate() native; | 6345 Transform consolidate() native ; |
6039 | 6346 |
6040 @JSName('createSVGTransformFromMatrix') | 6347 @JSName('createSVGTransformFromMatrix') |
6041 @DomName('SVGTransformList.createSVGTransformFromMatrix') | 6348 @DomName('SVGTransformList.createSVGTransformFromMatrix') |
6042 @DocsEditable() | 6349 @DocsEditable() |
6043 Transform createSvgTransformFromMatrix(Matrix matrix) native; | 6350 Transform createSvgTransformFromMatrix(Matrix matrix) native ; |
6044 | 6351 |
6045 @DomName('SVGTransformList.getItem') | 6352 @DomName('SVGTransformList.getItem') |
6046 @DocsEditable() | 6353 @DocsEditable() |
6047 Transform getItem(int index) native; | 6354 Transform getItem(int index) native ; |
6048 | 6355 |
6049 @DomName('SVGTransformList.initialize') | 6356 @DomName('SVGTransformList.initialize') |
6050 @DocsEditable() | 6357 @DocsEditable() |
6051 Transform initialize(Transform newItem) native; | 6358 Transform initialize(Transform newItem) native ; |
6052 | 6359 |
6053 @DomName('SVGTransformList.insertItemBefore') | 6360 @DomName('SVGTransformList.insertItemBefore') |
6054 @DocsEditable() | 6361 @DocsEditable() |
6055 Transform insertItemBefore(Transform newItem, int index) native; | 6362 Transform insertItemBefore(Transform newItem, int index) native ; |
6056 | 6363 |
6057 @DomName('SVGTransformList.removeItem') | 6364 @DomName('SVGTransformList.removeItem') |
6058 @DocsEditable() | 6365 @DocsEditable() |
6059 Transform removeItem(int index) native; | 6366 Transform removeItem(int index) native ; |
6060 | 6367 |
6061 @DomName('SVGTransformList.replaceItem') | 6368 @DomName('SVGTransformList.replaceItem') |
6062 @DocsEditable() | 6369 @DocsEditable() |
6063 Transform replaceItem(Transform newItem, int index) native; | 6370 Transform replaceItem(Transform newItem, int index) native ; |
6064 } | 6371 } |
6065 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6372 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6066 // for details. All rights reserved. Use of this source code is governed by a | 6373 // for details. All rights reserved. Use of this source code is governed by a |
6067 // BSD-style license that can be found in the LICENSE file. | 6374 // BSD-style license that can be found in the LICENSE file. |
6068 | 6375 |
6069 | |
6070 @DocsEditable() | 6376 @DocsEditable() |
6071 @DomName('SVGUnitTypes') | 6377 @DomName('SVGUnitTypes') |
6072 @Unstable() | 6378 @Unstable() |
6073 @Native("SVGUnitTypes") | 6379 @Native("SVGUnitTypes") |
6074 class UnitTypes extends Interceptor { | 6380 class UnitTypes extends Interceptor { |
6075 // To suppress missing implicit constructor warnings. | 6381 // To suppress missing implicit constructor warnings. |
6076 factory UnitTypes._() { throw new UnsupportedError("Not supported"); } | 6382 factory UnitTypes._() { |
| 6383 throw new UnsupportedError("Not supported"); |
| 6384 } |
6077 | 6385 |
6078 @DomName('SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX') | 6386 @DomName('SVGUnitTypes.SVG_UNIT_TYPE_OBJECTBOUNDINGBOX') |
6079 @DocsEditable() | 6387 @DocsEditable() |
6080 static const int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; | 6388 static const int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; |
6081 | 6389 |
6082 @DomName('SVGUnitTypes.SVG_UNIT_TYPE_UNKNOWN') | 6390 @DomName('SVGUnitTypes.SVG_UNIT_TYPE_UNKNOWN') |
6083 @DocsEditable() | 6391 @DocsEditable() |
6084 static const int SVG_UNIT_TYPE_UNKNOWN = 0; | 6392 static const int SVG_UNIT_TYPE_UNKNOWN = 0; |
6085 | 6393 |
6086 @DomName('SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE') | 6394 @DomName('SVGUnitTypes.SVG_UNIT_TYPE_USERSPACEONUSE') |
6087 @DocsEditable() | 6395 @DocsEditable() |
6088 static const int SVG_UNIT_TYPE_USERSPACEONUSE = 1; | 6396 static const int SVG_UNIT_TYPE_USERSPACEONUSE = 1; |
6089 } | 6397 } |
6090 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6398 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6091 // for details. All rights reserved. Use of this source code is governed by a | 6399 // for details. All rights reserved. Use of this source code is governed by a |
6092 // BSD-style license that can be found in the LICENSE file. | 6400 // BSD-style license that can be found in the LICENSE file. |
6093 | 6401 |
6094 | |
6095 @DocsEditable() | 6402 @DocsEditable() |
6096 @DomName('SVGURIReference') | 6403 @DomName('SVGURIReference') |
6097 @Unstable() | 6404 @Unstable() |
6098 abstract class UriReference extends Interceptor { | 6405 abstract class UriReference extends Interceptor { |
6099 // To suppress missing implicit constructor warnings. | 6406 // To suppress missing implicit constructor warnings. |
6100 factory UriReference._() { throw new UnsupportedError("Not supported"); } | 6407 factory UriReference._() { |
| 6408 throw new UnsupportedError("Not supported"); |
| 6409 } |
6101 | 6410 |
6102 final AnimatedString href; | 6411 final AnimatedString href; |
6103 } | 6412 } |
6104 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6413 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6105 // for details. All rights reserved. Use of this source code is governed by a | 6414 // for details. All rights reserved. Use of this source code is governed by a |
6106 // BSD-style license that can be found in the LICENSE file. | 6415 // BSD-style license that can be found in the LICENSE file. |
6107 | 6416 |
6108 | |
6109 @DocsEditable() | 6417 @DocsEditable() |
6110 @DomName('SVGUseElement') | 6418 @DomName('SVGUseElement') |
6111 @Unstable() | 6419 @Unstable() |
6112 @Native("SVGUseElement") | 6420 @Native("SVGUseElement") |
6113 class UseElement extends GraphicsElement implements UriReference { | 6421 class UseElement extends GraphicsElement implements UriReference { |
6114 // To suppress missing implicit constructor warnings. | 6422 // To suppress missing implicit constructor warnings. |
6115 factory UseElement._() { throw new UnsupportedError("Not supported"); } | 6423 factory UseElement._() { |
| 6424 throw new UnsupportedError("Not supported"); |
| 6425 } |
6116 | 6426 |
6117 @DomName('SVGUseElement.SVGUseElement') | 6427 @DomName('SVGUseElement.SVGUseElement') |
6118 @DocsEditable() | 6428 @DocsEditable() |
6119 factory UseElement() => _SvgElementFactoryProvider.createSvgElement_tag("use")
; | 6429 factory UseElement() => |
| 6430 _SvgElementFactoryProvider.createSvgElement_tag("use"); |
6120 /** | 6431 /** |
6121 * Constructor instantiated by the DOM when a custom element has been created. | 6432 * Constructor instantiated by the DOM when a custom element has been created. |
6122 * | 6433 * |
6123 * This can only be called by subclasses from their created constructor. | 6434 * This can only be called by subclasses from their created constructor. |
6124 */ | 6435 */ |
6125 UseElement.created() : super.created(); | 6436 UseElement.created() : super.created(); |
6126 | 6437 |
6127 @DomName('SVGUseElement.height') | 6438 @DomName('SVGUseElement.height') |
6128 @DocsEditable() | 6439 @DocsEditable() |
6129 final AnimatedLength height; | 6440 final AnimatedLength height; |
(...skipping 13 matching lines...) Expand all Loading... |
6143 // From SVGURIReference | 6454 // From SVGURIReference |
6144 | 6455 |
6145 @DomName('SVGUseElement.href') | 6456 @DomName('SVGUseElement.href') |
6146 @DocsEditable() | 6457 @DocsEditable() |
6147 final AnimatedString href; | 6458 final AnimatedString href; |
6148 } | 6459 } |
6149 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6460 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6150 // for details. All rights reserved. Use of this source code is governed by a | 6461 // for details. All rights reserved. Use of this source code is governed by a |
6151 // BSD-style license that can be found in the LICENSE file. | 6462 // BSD-style license that can be found in the LICENSE file. |
6152 | 6463 |
6153 | |
6154 @DocsEditable() | 6464 @DocsEditable() |
6155 @DomName('SVGViewElement') | 6465 @DomName('SVGViewElement') |
6156 @Unstable() | 6466 @Unstable() |
6157 @Native("SVGViewElement") | 6467 @Native("SVGViewElement") |
6158 class ViewElement extends SvgElement implements FitToViewBox, ZoomAndPan { | 6468 class ViewElement extends SvgElement implements FitToViewBox, ZoomAndPan { |
6159 // To suppress missing implicit constructor warnings. | 6469 // To suppress missing implicit constructor warnings. |
6160 factory ViewElement._() { throw new UnsupportedError("Not supported"); } | 6470 factory ViewElement._() { |
| 6471 throw new UnsupportedError("Not supported"); |
| 6472 } |
6161 | 6473 |
6162 @DomName('SVGViewElement.SVGViewElement') | 6474 @DomName('SVGViewElement.SVGViewElement') |
6163 @DocsEditable() | 6475 @DocsEditable() |
6164 factory ViewElement() => _SvgElementFactoryProvider.createSvgElement_tag("view
"); | 6476 factory ViewElement() => |
| 6477 _SvgElementFactoryProvider.createSvgElement_tag("view"); |
6165 /** | 6478 /** |
6166 * Constructor instantiated by the DOM when a custom element has been created. | 6479 * Constructor instantiated by the DOM when a custom element has been created. |
6167 * | 6480 * |
6168 * This can only be called by subclasses from their created constructor. | 6481 * This can only be called by subclasses from their created constructor. |
6169 */ | 6482 */ |
6170 ViewElement.created() : super.created(); | 6483 ViewElement.created() : super.created(); |
6171 | 6484 |
6172 @DomName('SVGViewElement.viewTarget') | 6485 @DomName('SVGViewElement.viewTarget') |
6173 @DocsEditable() | 6486 @DocsEditable() |
6174 final StringList viewTarget; | 6487 final StringList viewTarget; |
(...skipping 11 matching lines...) Expand all Loading... |
6186 // From SVGZoomAndPan | 6499 // From SVGZoomAndPan |
6187 | 6500 |
6188 @DomName('SVGViewElement.zoomAndPan') | 6501 @DomName('SVGViewElement.zoomAndPan') |
6189 @DocsEditable() | 6502 @DocsEditable() |
6190 int zoomAndPan; | 6503 int zoomAndPan; |
6191 } | 6504 } |
6192 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6505 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6193 // for details. All rights reserved. Use of this source code is governed by a | 6506 // for details. All rights reserved. Use of this source code is governed by a |
6194 // BSD-style license that can be found in the LICENSE file. | 6507 // BSD-style license that can be found in the LICENSE file. |
6195 | 6508 |
6196 | |
6197 @DocsEditable() | 6509 @DocsEditable() |
6198 @DomName('SVGViewSpec') | 6510 @DomName('SVGViewSpec') |
6199 @Unstable() | 6511 @Unstable() |
6200 @Native("SVGViewSpec") | 6512 @Native("SVGViewSpec") |
6201 class ViewSpec extends Interceptor implements FitToViewBox, ZoomAndPan { | 6513 class ViewSpec extends Interceptor implements FitToViewBox, ZoomAndPan { |
6202 // To suppress missing implicit constructor warnings. | 6514 // To suppress missing implicit constructor warnings. |
6203 factory ViewSpec._() { throw new UnsupportedError("Not supported"); } | 6515 factory ViewSpec._() { |
| 6516 throw new UnsupportedError("Not supported"); |
| 6517 } |
6204 | 6518 |
6205 @DomName('SVGViewSpec.preserveAspectRatioString') | 6519 @DomName('SVGViewSpec.preserveAspectRatioString') |
6206 @DocsEditable() | 6520 @DocsEditable() |
6207 final String preserveAspectRatioString; | 6521 final String preserveAspectRatioString; |
6208 | 6522 |
6209 @DomName('SVGViewSpec.transform') | 6523 @DomName('SVGViewSpec.transform') |
6210 @DocsEditable() | 6524 @DocsEditable() |
6211 final TransformList transform; | 6525 final TransformList transform; |
6212 | 6526 |
6213 @DomName('SVGViewSpec.transformString') | 6527 @DomName('SVGViewSpec.transformString') |
(...skipping 28 matching lines...) Expand all Loading... |
6242 | 6556 |
6243 @DomName('SVGViewSpec.zoomAndPan') | 6557 @DomName('SVGViewSpec.zoomAndPan') |
6244 @DocsEditable() | 6558 @DocsEditable() |
6245 @Experimental() // nonstandard | 6559 @Experimental() // nonstandard |
6246 int zoomAndPan; | 6560 int zoomAndPan; |
6247 } | 6561 } |
6248 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6562 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6249 // for details. All rights reserved. Use of this source code is governed by a | 6563 // for details. All rights reserved. Use of this source code is governed by a |
6250 // BSD-style license that can be found in the LICENSE file. | 6564 // BSD-style license that can be found in the LICENSE file. |
6251 | 6565 |
6252 | |
6253 @DocsEditable() | 6566 @DocsEditable() |
6254 @DomName('SVGZoomAndPan') | 6567 @DomName('SVGZoomAndPan') |
6255 @Unstable() | 6568 @Unstable() |
6256 abstract class ZoomAndPan extends Interceptor { | 6569 abstract class ZoomAndPan extends Interceptor { |
6257 // To suppress missing implicit constructor warnings. | 6570 // To suppress missing implicit constructor warnings. |
6258 factory ZoomAndPan._() { throw new UnsupportedError("Not supported"); } | 6571 factory ZoomAndPan._() { |
| 6572 throw new UnsupportedError("Not supported"); |
| 6573 } |
6259 | 6574 |
6260 @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE') | 6575 @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_DISABLE') |
6261 @DocsEditable() | 6576 @DocsEditable() |
6262 static const int SVG_ZOOMANDPAN_DISABLE = 1; | 6577 static const int SVG_ZOOMANDPAN_DISABLE = 1; |
6263 | 6578 |
6264 @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY') | 6579 @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_MAGNIFY') |
6265 @DocsEditable() | 6580 @DocsEditable() |
6266 static const int SVG_ZOOMANDPAN_MAGNIFY = 2; | 6581 static const int SVG_ZOOMANDPAN_MAGNIFY = 2; |
6267 | 6582 |
6268 @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN') | 6583 @DomName('SVGZoomAndPan.SVG_ZOOMANDPAN_UNKNOWN') |
6269 @DocsEditable() | 6584 @DocsEditable() |
6270 static const int SVG_ZOOMANDPAN_UNKNOWN = 0; | 6585 static const int SVG_ZOOMANDPAN_UNKNOWN = 0; |
6271 | 6586 |
6272 int zoomAndPan; | 6587 int zoomAndPan; |
6273 } | 6588 } |
6274 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6589 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6275 // for details. All rights reserved. Use of this source code is governed by a | 6590 // for details. All rights reserved. Use of this source code is governed by a |
6276 // BSD-style license that can be found in the LICENSE file. | 6591 // BSD-style license that can be found in the LICENSE file. |
6277 | 6592 |
6278 | |
6279 @DocsEditable() | 6593 @DocsEditable() |
6280 @DomName('SVGZoomEvent') | 6594 @DomName('SVGZoomEvent') |
6281 @Unstable() | 6595 @Unstable() |
6282 @Native("SVGZoomEvent") | 6596 @Native("SVGZoomEvent") |
6283 class ZoomEvent extends UIEvent { | 6597 class ZoomEvent extends UIEvent { |
6284 // To suppress missing implicit constructor warnings. | 6598 // To suppress missing implicit constructor warnings. |
6285 factory ZoomEvent._() { throw new UnsupportedError("Not supported"); } | 6599 factory ZoomEvent._() { |
| 6600 throw new UnsupportedError("Not supported"); |
| 6601 } |
6286 | 6602 |
6287 @DomName('SVGZoomEvent.newScale') | 6603 @DomName('SVGZoomEvent.newScale') |
6288 @DocsEditable() | 6604 @DocsEditable() |
6289 final double newScale; | 6605 final double newScale; |
6290 | 6606 |
6291 @DomName('SVGZoomEvent.newTranslate') | 6607 @DomName('SVGZoomEvent.newTranslate') |
6292 @DocsEditable() | 6608 @DocsEditable() |
6293 final Point newTranslate; | 6609 final Point newTranslate; |
6294 | 6610 |
6295 @DomName('SVGZoomEvent.previousScale') | 6611 @DomName('SVGZoomEvent.previousScale') |
6296 @DocsEditable() | 6612 @DocsEditable() |
6297 final double previousScale; | 6613 final double previousScale; |
6298 | 6614 |
6299 @DomName('SVGZoomEvent.previousTranslate') | 6615 @DomName('SVGZoomEvent.previousTranslate') |
6300 @DocsEditable() | 6616 @DocsEditable() |
6301 final Point previousTranslate; | 6617 final Point previousTranslate; |
6302 | 6618 |
6303 @DomName('SVGZoomEvent.zoomRectScreen') | 6619 @DomName('SVGZoomEvent.zoomRectScreen') |
6304 @DocsEditable() | 6620 @DocsEditable() |
6305 final Rect zoomRectScreen; | 6621 final Rect zoomRectScreen; |
6306 } | 6622 } |
6307 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6623 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6308 // for details. All rights reserved. Use of this source code is governed by a | 6624 // for details. All rights reserved. Use of this source code is governed by a |
6309 // BSD-style license that can be found in the LICENSE file. | 6625 // BSD-style license that can be found in the LICENSE file. |
6310 | 6626 |
6311 | |
6312 @DocsEditable() | 6627 @DocsEditable() |
6313 @DomName('SVGGradientElement') | 6628 @DomName('SVGGradientElement') |
6314 @Unstable() | 6629 @Unstable() |
6315 @Native("SVGGradientElement") | 6630 @Native("SVGGradientElement") |
6316 class _GradientElement extends SvgElement implements UriReference { | 6631 class _GradientElement extends SvgElement implements UriReference { |
6317 // To suppress missing implicit constructor warnings. | 6632 // To suppress missing implicit constructor warnings. |
6318 factory _GradientElement._() { throw new UnsupportedError("Not supported"); } | 6633 factory _GradientElement._() { |
| 6634 throw new UnsupportedError("Not supported"); |
| 6635 } |
6319 /** | 6636 /** |
6320 * Constructor instantiated by the DOM when a custom element has been created. | 6637 * Constructor instantiated by the DOM when a custom element has been created. |
6321 * | 6638 * |
6322 * This can only be called by subclasses from their created constructor. | 6639 * This can only be called by subclasses from their created constructor. |
6323 */ | 6640 */ |
6324 _GradientElement.created() : super.created(); | 6641 _GradientElement.created() : super.created(); |
6325 | 6642 |
6326 @DomName('SVGGradientElement.SVG_SPREADMETHOD_PAD') | 6643 @DomName('SVGGradientElement.SVG_SPREADMETHOD_PAD') |
6327 @DocsEditable() | 6644 @DocsEditable() |
6328 static const int SVG_SPREADMETHOD_PAD = 1; | 6645 static const int SVG_SPREADMETHOD_PAD = 1; |
(...skipping 25 matching lines...) Expand all Loading... |
6354 // From SVGURIReference | 6671 // From SVGURIReference |
6355 | 6672 |
6356 @DomName('SVGGradientElement.href') | 6673 @DomName('SVGGradientElement.href') |
6357 @DocsEditable() | 6674 @DocsEditable() |
6358 final AnimatedString href; | 6675 final AnimatedString href; |
6359 } | 6676 } |
6360 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6677 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6361 // for details. All rights reserved. Use of this source code is governed by a | 6678 // for details. All rights reserved. Use of this source code is governed by a |
6362 // BSD-style license that can be found in the LICENSE file. | 6679 // BSD-style license that can be found in the LICENSE file. |
6363 | 6680 |
6364 | |
6365 @DocsEditable() | 6681 @DocsEditable() |
6366 @DomName('SVGComponentTransferFunctionElement') | 6682 @DomName('SVGComponentTransferFunctionElement') |
6367 @Unstable() | 6683 @Unstable() |
6368 @Native("SVGComponentTransferFunctionElement") | 6684 @Native("SVGComponentTransferFunctionElement") |
6369 abstract class _SVGComponentTransferFunctionElement extends SvgElement { | 6685 abstract class _SVGComponentTransferFunctionElement extends SvgElement { |
6370 // To suppress missing implicit constructor warnings. | 6686 // To suppress missing implicit constructor warnings. |
6371 factory _SVGComponentTransferFunctionElement._() { throw new UnsupportedError(
"Not supported"); } | 6687 factory _SVGComponentTransferFunctionElement._() { |
| 6688 throw new UnsupportedError("Not supported"); |
| 6689 } |
6372 /** | 6690 /** |
6373 * Constructor instantiated by the DOM when a custom element has been created. | 6691 * Constructor instantiated by the DOM when a custom element has been created. |
6374 * | 6692 * |
6375 * This can only be called by subclasses from their created constructor. | 6693 * This can only be called by subclasses from their created constructor. |
6376 */ | 6694 */ |
6377 _SVGComponentTransferFunctionElement.created() : super.created(); | 6695 _SVGComponentTransferFunctionElement.created() : super.created(); |
6378 } | 6696 } |
6379 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6697 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6380 // for details. All rights reserved. Use of this source code is governed by a | 6698 // for details. All rights reserved. Use of this source code is governed by a |
6381 // BSD-style license that can be found in the LICENSE file. | 6699 // BSD-style license that can be found in the LICENSE file. |
6382 | 6700 |
6383 | |
6384 @DocsEditable() | 6701 @DocsEditable() |
6385 @DomName('SVGCursorElement') | 6702 @DomName('SVGCursorElement') |
6386 @Unstable() | 6703 @Unstable() |
6387 @Native("SVGCursorElement") | 6704 @Native("SVGCursorElement") |
6388 abstract class _SVGCursorElement extends SvgElement implements UriReference, Tes
ts { | 6705 abstract class _SVGCursorElement extends SvgElement |
| 6706 implements UriReference, Tests { |
6389 // To suppress missing implicit constructor warnings. | 6707 // To suppress missing implicit constructor warnings. |
6390 factory _SVGCursorElement._() { throw new UnsupportedError("Not supported"); } | 6708 factory _SVGCursorElement._() { |
| 6709 throw new UnsupportedError("Not supported"); |
| 6710 } |
6391 | 6711 |
6392 @DomName('SVGCursorElement.SVGCursorElement') | 6712 @DomName('SVGCursorElement.SVGCursorElement') |
6393 @DocsEditable() | 6713 @DocsEditable() |
6394 factory _SVGCursorElement() => _SvgElementFactoryProvider.createSvgElement_tag
("cursor"); | 6714 factory _SVGCursorElement() => |
| 6715 _SvgElementFactoryProvider.createSvgElement_tag("cursor"); |
6395 /** | 6716 /** |
6396 * Constructor instantiated by the DOM when a custom element has been created. | 6717 * Constructor instantiated by the DOM when a custom element has been created. |
6397 * | 6718 * |
6398 * This can only be called by subclasses from their created constructor. | 6719 * This can only be called by subclasses from their created constructor. |
6399 */ | 6720 */ |
6400 _SVGCursorElement.created() : super.created(); | 6721 _SVGCursorElement.created() : super.created(); |
6401 | 6722 |
6402 /// Checks if this type is supported on the current platform. | 6723 /// Checks if this type is supported on the current platform. |
6403 static bool get supported => SvgElement.isTagSupported('cursor') && (new SvgEl
ement.tag('cursor') is _SVGCursorElement); | 6724 static bool get supported => |
| 6725 SvgElement.isTagSupported('cursor') && |
| 6726 (new SvgElement.tag('cursor') is _SVGCursorElement); |
6404 | 6727 |
6405 // From SVGTests | 6728 // From SVGTests |
6406 | 6729 |
6407 // From SVGURIReference | 6730 // From SVGURIReference |
6408 | 6731 |
6409 } | 6732 } |
6410 | 6733 |
6411 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6734 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6412 // for details. All rights reserved. Use of this source code is governed by a | 6735 // for details. All rights reserved. Use of this source code is governed by a |
6413 // BSD-style license that can be found in the LICENSE file. | 6736 // BSD-style license that can be found in the LICENSE file. |
6414 | 6737 |
6415 | |
6416 @DocsEditable() | 6738 @DocsEditable() |
6417 @DomName('SVGFEDropShadowElement') | 6739 @DomName('SVGFEDropShadowElement') |
6418 @Experimental() // nonstandard | 6740 @Experimental() // nonstandard |
6419 @Native("SVGFEDropShadowElement") | 6741 @Native("SVGFEDropShadowElement") |
6420 abstract class _SVGFEDropShadowElement extends SvgElement implements FilterPrimi
tiveStandardAttributes { | 6742 abstract class _SVGFEDropShadowElement extends SvgElement |
| 6743 implements FilterPrimitiveStandardAttributes { |
6421 // To suppress missing implicit constructor warnings. | 6744 // To suppress missing implicit constructor warnings. |
6422 factory _SVGFEDropShadowElement._() { throw new UnsupportedError("Not supporte
d"); } | 6745 factory _SVGFEDropShadowElement._() { |
| 6746 throw new UnsupportedError("Not supported"); |
| 6747 } |
6423 /** | 6748 /** |
6424 * Constructor instantiated by the DOM when a custom element has been created. | 6749 * Constructor instantiated by the DOM when a custom element has been created. |
6425 * | 6750 * |
6426 * This can only be called by subclasses from their created constructor. | 6751 * This can only be called by subclasses from their created constructor. |
6427 */ | 6752 */ |
6428 _SVGFEDropShadowElement.created() : super.created(); | 6753 _SVGFEDropShadowElement.created() : super.created(); |
6429 | 6754 |
6430 // From SVGFilterPrimitiveStandardAttributes | 6755 // From SVGFilterPrimitiveStandardAttributes |
6431 | 6756 |
6432 } | 6757 } |
6433 | 6758 |
6434 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6759 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
6435 // for details. All rights reserved. Use of this source code is governed by a | 6760 // for details. All rights reserved. Use of this source code is governed by a |
6436 // BSD-style license that can be found in the LICENSE file. | 6761 // BSD-style license that can be found in the LICENSE file. |
6437 | 6762 |
6438 | |
6439 @DocsEditable() | 6763 @DocsEditable() |
6440 @DomName('SVGMPathElement') | 6764 @DomName('SVGMPathElement') |
6441 @Native("SVGMPathElement") | 6765 @Native("SVGMPathElement") |
6442 abstract class _SVGMPathElement extends SvgElement implements UriReference { | 6766 abstract class _SVGMPathElement extends SvgElement implements UriReference { |
6443 // To suppress missing implicit constructor warnings. | 6767 // To suppress missing implicit constructor warnings. |
6444 factory _SVGMPathElement._() { throw new UnsupportedError("Not supported"); } | 6768 factory _SVGMPathElement._() { |
| 6769 throw new UnsupportedError("Not supported"); |
| 6770 } |
6445 | 6771 |
6446 @DomName('SVGMPathElement.SVGMPathElement') | 6772 @DomName('SVGMPathElement.SVGMPathElement') |
6447 @DocsEditable() | 6773 @DocsEditable() |
6448 factory _SVGMPathElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"mpath"); | 6774 factory _SVGMPathElement() => |
| 6775 _SvgElementFactoryProvider.createSvgElement_tag("mpath"); |
6449 /** | 6776 /** |
6450 * Constructor instantiated by the DOM when a custom element has been created. | 6777 * Constructor instantiated by the DOM when a custom element has been created. |
6451 * | 6778 * |
6452 * This can only be called by subclasses from their created constructor. | 6779 * This can only be called by subclasses from their created constructor. |
6453 */ | 6780 */ |
6454 _SVGMPathElement.created() : super.created(); | 6781 _SVGMPathElement.created() : super.created(); |
6455 | 6782 |
6456 // From SVGURIReference | 6783 // From SVGURIReference |
6457 | 6784 |
6458 } | 6785 } |
6459 | |
OLD | NEW |