| OLD | NEW |
| 1 library svg; | 1 library svg; |
| 2 | 2 |
| 3 import 'dart:html'; | 3 import 'dart:html'; |
| 4 // DO NOT EDIT | 4 // DO NOT EDIT |
| 5 // Auto-generated dart:svg library. | 5 // Auto-generated dart:svg library. |
| 6 | 6 |
| 7 | 7 |
| 8 | 8 |
| 9 | 9 |
| 10 | 10 |
| 11 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 11 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 12 // for details. All rights reserved. Use of this source code is governed by a | 12 // for details. All rights reserved. Use of this source code is governed by a |
| 13 // BSD-style license that can be found in the LICENSE file. | 13 // BSD-style license that can be found in the LICENSE file. |
| 14 | 14 |
| 15 | 15 |
| 16 final _START_TAG_REGEXP = new RegExp('<(\\w+)'); | 16 final _START_TAG_REGEXP = new RegExp('<(\\w+)'); |
| 17 | 17 |
| 18 class _SVGElementFactoryProvider { | 18 class _SvgElementFactoryProvider { |
| 19 static SVGElement createSVGElement_tag(String tag) { | 19 static SvgElement createSvgElement_tag(String tag) { |
| 20 final Element temp = | 20 final Element temp = |
| 21 document.$dom_createElementNS("http://www.w3.org/2000/svg", tag); | 21 document.$dom_createElementNS("http://www.w3.org/2000/svg", tag); |
| 22 return temp; | 22 return temp; |
| 23 } | 23 } |
| 24 | 24 |
| 25 static SVGElement createSVGElement_svg(String svg) { | 25 static SvgElement createSvgElement_svg(String svg) { |
| 26 Element parentTag; | 26 Element parentTag; |
| 27 final match = _START_TAG_REGEXP.firstMatch(svg); | 27 final match = _START_TAG_REGEXP.firstMatch(svg); |
| 28 if (match != null && match.group(1).toLowerCase() == 'svg') { | 28 if (match != null && match.group(1).toLowerCase() == 'svg') { |
| 29 parentTag = new Element.tag('div'); | 29 parentTag = new Element.tag('div'); |
| 30 } else { | 30 } else { |
| 31 parentTag = new SVGSVGElement(); | 31 parentTag = new SvgSvgElement(); |
| 32 } | 32 } |
| 33 | 33 |
| 34 parentTag.innerHTML = svg; | 34 parentTag.innerHTML = svg; |
| 35 if (parentTag.elements.length == 1) return parentTag.elements.removeLast(); | 35 if (parentTag.elements.length == 1) return parentTag.elements.removeLast(); |
| 36 | 36 |
| 37 throw new ArgumentError( | 37 throw new ArgumentError( |
| 38 'SVG had ${parentTag.elements.length} ' | 38 'SVG had ${parentTag.elements.length} ' |
| 39 'top-level elements but 1 expected'); | 39 'top-level elements but 1 expected'); |
| 40 } | 40 } |
| 41 } | 41 } |
| 42 | 42 |
| 43 class _SVGSVGElementFactoryProvider { | 43 class _SvgSvgElementFactoryProvider { |
| 44 static SVGSVGElement createSVGSVGElement() { | 44 static SvgSvgElement createSvgSvgElement() { |
| 45 final el = new SVGElement.tag("svg"); | 45 final el = new SvgElement.tag("svg"); |
| 46 // The SVG spec requires the version attribute to match the spec version | 46 // The SVG spec requires the version attribute to match the spec version |
| 47 el.attributes['version'] = "1.1"; | 47 el.attributes['version'] = "1.1"; |
| 48 return el; | 48 return el; |
| 49 } | 49 } |
| 50 } | 50 } |
| 51 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 51 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 52 // for details. All rights reserved. Use of this source code is governed by a | 52 // for details. All rights reserved. Use of this source code is governed by a |
| 53 // BSD-style license that can be found in the LICENSE file. | 53 // BSD-style license that can be found in the LICENSE file. |
| 54 | 54 |
| 55 | 55 |
| 56 /// @domName SVGAElement | 56 /// @domName SVGAElement |
| 57 class SVGAElement extends SVGElement implements SVGLangSpace, SVGTests, SVGStyla
ble, SVGURIReference, SVGExternalResourcesRequired, SVGTransformable native "*SV
GAElement" { | 57 class AElement extends SvgElement implements Transformable, Tests, UriReference,
Stylable, ExternalResourcesRequired, LangSpace native "*SVGAElement" { |
| 58 | 58 |
| 59 factory SVGAElement() => _SVGElementFactoryProvider.createSVGElement_tag("a"); | 59 factory AElement() => _SvgElementFactoryProvider.createSvgElement_tag("a"); |
| 60 | 60 |
| 61 /** @domName SVGAElement.target */ | 61 /** @domName SVGAElement.target */ |
| 62 final SVGAnimatedString target; | 62 final AnimatedString target; |
| 63 | 63 |
| 64 // From SVGExternalResourcesRequired | 64 // From SVGExternalResourcesRequired |
| 65 | 65 |
| 66 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 66 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 67 final SVGAnimatedBoolean externalResourcesRequired; | 67 final AnimatedBoolean externalResourcesRequired; |
| 68 | 68 |
| 69 // From SVGLangSpace | 69 // From SVGLangSpace |
| 70 | 70 |
| 71 /** @domName SVGLangSpace.xmllang */ | 71 /** @domName SVGLangSpace.xmllang */ |
| 72 String xmllang; | 72 String xmllang; |
| 73 | 73 |
| 74 /** @domName SVGLangSpace.xmlspace */ | 74 /** @domName SVGLangSpace.xmlspace */ |
| 75 String xmlspace; | 75 String xmlspace; |
| 76 | 76 |
| 77 // From SVGLocatable | 77 // From SVGLocatable |
| 78 | 78 |
| 79 /** @domName SVGLocatable.farthestViewportElement */ | 79 /** @domName SVGLocatable.farthestViewportElement */ |
| 80 final SVGElement farthestViewportElement; | 80 final SvgElement farthestViewportElement; |
| 81 | 81 |
| 82 /** @domName SVGLocatable.nearestViewportElement */ | 82 /** @domName SVGLocatable.nearestViewportElement */ |
| 83 final SVGElement nearestViewportElement; | 83 final SvgElement nearestViewportElement; |
| 84 | 84 |
| 85 /** @domName SVGLocatable.getBBox */ | 85 /** @domName SVGLocatable.getBBox */ |
| 86 SVGRect getBBox() native; | 86 Rect getBBox() native; |
| 87 | 87 |
| 88 /** @domName SVGLocatable.getCTM */ | 88 /** @domName SVGLocatable.getCTM */ |
| 89 SVGMatrix getCTM() native; | 89 Matrix getCTM() native; |
| 90 | 90 |
| 91 /** @domName SVGLocatable.getScreenCTM */ | 91 /** @domName SVGLocatable.getScreenCTM */ |
| 92 SVGMatrix getScreenCTM() native; | 92 Matrix getScreenCTM() native; |
| 93 | 93 |
| 94 /** @domName SVGLocatable.getTransformToElement */ | 94 /** @domName SVGLocatable.getTransformToElement */ |
| 95 SVGMatrix getTransformToElement(SVGElement element) native; | 95 Matrix getTransformToElement(SvgElement element) native; |
| 96 | 96 |
| 97 // From SVGStylable | 97 // From SVGStylable |
| 98 | 98 |
| 99 /** @domName SVGStylable.className */ | 99 /** @domName SVGStylable.className */ |
| 100 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 100 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 101 | 101 |
| 102 // Use implementation from Element. | 102 // Use implementation from Element. |
| 103 // final CSSStyleDeclaration style; | 103 // final CSSStyleDeclaration style; |
| 104 | 104 |
| 105 /** @domName SVGStylable.getPresentationAttribute */ | 105 /** @domName SVGStylable.getPresentationAttribute */ |
| 106 CSSValue getPresentationAttribute(String name) native; | 106 CSSValue getPresentationAttribute(String name) native; |
| 107 | 107 |
| 108 // From SVGTests | 108 // From SVGTests |
| 109 | 109 |
| 110 /** @domName SVGTests.requiredExtensions */ | 110 /** @domName SVGTests.requiredExtensions */ |
| 111 final SVGStringList requiredExtensions; | 111 final StringList requiredExtensions; |
| 112 | 112 |
| 113 /** @domName SVGTests.requiredFeatures */ | 113 /** @domName SVGTests.requiredFeatures */ |
| 114 final SVGStringList requiredFeatures; | 114 final StringList requiredFeatures; |
| 115 | 115 |
| 116 /** @domName SVGTests.systemLanguage */ | 116 /** @domName SVGTests.systemLanguage */ |
| 117 final SVGStringList systemLanguage; | 117 final StringList systemLanguage; |
| 118 | 118 |
| 119 /** @domName SVGTests.hasExtension */ | 119 /** @domName SVGTests.hasExtension */ |
| 120 bool hasExtension(String extension) native; | 120 bool hasExtension(String extension) native; |
| 121 | 121 |
| 122 // From SVGTransformable | 122 // From SVGTransformable |
| 123 | 123 |
| 124 /** @domName SVGTransformable.transform */ | 124 /** @domName SVGTransformable.transform */ |
| 125 final SVGAnimatedTransformList transform; | 125 final AnimatedTransformList transform; |
| 126 | 126 |
| 127 // From SVGURIReference | 127 // From SVGURIReference |
| 128 | 128 |
| 129 /** @domName SVGURIReference.href */ | 129 /** @domName SVGURIReference.href */ |
| 130 final SVGAnimatedString href; | 130 final AnimatedString href; |
| 131 } | 131 } |
| 132 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 132 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 133 // for details. All rights reserved. Use of this source code is governed by a | 133 // for details. All rights reserved. Use of this source code is governed by a |
| 134 // BSD-style license that can be found in the LICENSE file. | 134 // BSD-style license that can be found in the LICENSE file. |
| 135 | 135 |
| 136 | 136 |
| 137 /// @domName SVGAltGlyphDefElement | 137 /// @domName SVGAltGlyphDefElement |
| 138 class SVGAltGlyphDefElement extends SVGElement native "*SVGAltGlyphDefElement" { | 138 class AltGlyphDefElement extends SvgElement native "*SVGAltGlyphDefElement" { |
| 139 } | 139 } |
| 140 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 140 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 141 // for details. All rights reserved. Use of this source code is governed by a | 141 // for details. All rights reserved. Use of this source code is governed by a |
| 142 // BSD-style license that can be found in the LICENSE file. | 142 // BSD-style license that can be found in the LICENSE file. |
| 143 | 143 |
| 144 | 144 |
| 145 /// @domName SVGAltGlyphElement | 145 /// @domName SVGAltGlyphElement |
| 146 class SVGAltGlyphElement extends SVGTextPositioningElement implements SVGURIRefe
rence native "*SVGAltGlyphElement" { | 146 class AltGlyphElement extends TextPositioningElement implements UriReference nat
ive "*SVGAltGlyphElement" { |
| 147 | 147 |
| 148 /** @domName SVGAltGlyphElement.format */ | 148 /** @domName SVGAltGlyphElement.format */ |
| 149 String format; | 149 String format; |
| 150 | 150 |
| 151 /** @domName SVGAltGlyphElement.glyphRef */ | 151 /** @domName SVGAltGlyphElement.glyphRef */ |
| 152 String glyphRef; | 152 String glyphRef; |
| 153 | 153 |
| 154 // From SVGURIReference | 154 // From SVGURIReference |
| 155 | 155 |
| 156 /** @domName SVGURIReference.href */ | 156 /** @domName SVGURIReference.href */ |
| 157 final SVGAnimatedString href; | 157 final AnimatedString href; |
| 158 } | 158 } |
| 159 // 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 |
| 160 // 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 |
| 161 // BSD-style license that can be found in the LICENSE file. | 161 // BSD-style license that can be found in the LICENSE file. |
| 162 | 162 |
| 163 | 163 |
| 164 /// @domName SVGAltGlyphItemElement | 164 /// @domName SVGAltGlyphItemElement |
| 165 class SVGAltGlyphItemElement extends SVGElement native "*SVGAltGlyphItemElement"
{ | 165 class AltGlyphItemElement extends SvgElement native "*SVGAltGlyphItemElement" { |
| 166 } | 166 } |
| 167 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 167 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 168 // for details. All rights reserved. Use of this source code is governed by a | 168 // for details. All rights reserved. Use of this source code is governed by a |
| 169 // BSD-style license that can be found in the LICENSE file. | 169 // BSD-style license that can be found in the LICENSE file. |
| 170 | 170 |
| 171 | 171 |
| 172 /// @domName SVGAngle | 172 /// @domName SVGAngle |
| 173 class SVGAngle native "*SVGAngle" { | 173 class Angle native "*SVGAngle" { |
| 174 | 174 |
| 175 static const int SVG_ANGLETYPE_DEG = 2; | 175 static const int SVG_ANGLETYPE_DEG = 2; |
| 176 | 176 |
| 177 static const int SVG_ANGLETYPE_GRAD = 4; | 177 static const int SVG_ANGLETYPE_GRAD = 4; |
| 178 | 178 |
| 179 static const int SVG_ANGLETYPE_RAD = 3; | 179 static const int SVG_ANGLETYPE_RAD = 3; |
| 180 | 180 |
| 181 static const int SVG_ANGLETYPE_UNKNOWN = 0; | 181 static const int SVG_ANGLETYPE_UNKNOWN = 0; |
| 182 | 182 |
| 183 static const int SVG_ANGLETYPE_UNSPECIFIED = 1; | 183 static const int SVG_ANGLETYPE_UNSPECIFIED = 1; |
| (...skipping 15 matching lines...) Expand all Loading... |
| 199 | 199 |
| 200 /** @domName SVGAngle.newValueSpecifiedUnits */ | 200 /** @domName SVGAngle.newValueSpecifiedUnits */ |
| 201 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; | 201 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; |
| 202 } | 202 } |
| 203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 204 // for details. All rights reserved. Use of this source code is governed by a | 204 // for details. All rights reserved. Use of this source code is governed by a |
| 205 // BSD-style license that can be found in the LICENSE file. | 205 // BSD-style license that can be found in the LICENSE file. |
| 206 | 206 |
| 207 | 207 |
| 208 /// @domName SVGAnimateColorElement | 208 /// @domName SVGAnimateColorElement |
| 209 class SVGAnimateColorElement extends SVGAnimationElement native "*SVGAnimateColo
rElement" { | 209 class AnimateColorElement extends AnimationElement native "*SVGAnimateColorEleme
nt" { |
| 210 | 210 |
| 211 factory SVGAnimateColorElement() => _SVGElementFactoryProvider.createSVGElemen
t_tag("animateColor"); | 211 factory AnimateColorElement() => _SvgElementFactoryProvider.createSvgElement_t
ag("animateColor"); |
| 212 } | 212 } |
| 213 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 213 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 214 // for details. All rights reserved. Use of this source code is governed by a | 214 // for details. All rights reserved. Use of this source code is governed by a |
| 215 // BSD-style license that can be found in the LICENSE file. | 215 // BSD-style license that can be found in the LICENSE file. |
| 216 | 216 |
| 217 | 217 |
| 218 /// @domName SVGAnimateElement | 218 /// @domName SVGAnimateElement |
| 219 class SVGAnimateElement extends SVGAnimationElement native "*SVGAnimateElement"
{ | 219 class AnimateElement extends AnimationElement native "*SVGAnimateElement" { |
| 220 | 220 |
| 221 factory SVGAnimateElement() => _SVGElementFactoryProvider.createSVGElement_tag
("animate"); | 221 factory AnimateElement() => _SvgElementFactoryProvider.createSvgElement_tag("a
nimate"); |
| 222 } | 222 } |
| 223 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 223 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 224 // for details. All rights reserved. Use of this source code is governed by a | 224 // for details. All rights reserved. Use of this source code is governed by a |
| 225 // BSD-style license that can be found in the LICENSE file. | 225 // BSD-style license that can be found in the LICENSE file. |
| 226 | 226 |
| 227 | 227 |
| 228 /// @domName SVGAnimateMotionElement | 228 /// @domName SVGAnimateMotionElement |
| 229 class SVGAnimateMotionElement extends SVGAnimationElement native "*SVGAnimateMot
ionElement" { | 229 class AnimateMotionElement extends AnimationElement native "*SVGAnimateMotionEle
ment" { |
| 230 | 230 |
| 231 factory SVGAnimateMotionElement() => _SVGElementFactoryProvider.createSVGEleme
nt_tag("animateMotion"); | 231 factory AnimateMotionElement() => _SvgElementFactoryProvider.createSvgElement_
tag("animateMotion"); |
| 232 } | 232 } |
| 233 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 233 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 234 // for details. All rights reserved. Use of this source code is governed by a | 234 // for details. All rights reserved. Use of this source code is governed by a |
| 235 // BSD-style license that can be found in the LICENSE file. | 235 // BSD-style license that can be found in the LICENSE file. |
| 236 | 236 |
| 237 | 237 |
| 238 /// @domName SVGAnimateTransformElement | 238 /// @domName SVGAnimateTransformElement |
| 239 class SVGAnimateTransformElement extends SVGAnimationElement native "*SVGAnimate
TransformElement" { | 239 class AnimateTransformElement extends AnimationElement native "*SVGAnimateTransf
ormElement" { |
| 240 | 240 |
| 241 factory SVGAnimateTransformElement() => _SVGElementFactoryProvider.createSVGEl
ement_tag("animateTransform"); | 241 factory AnimateTransformElement() => _SvgElementFactoryProvider.createSvgEleme
nt_tag("animateTransform"); |
| 242 } | 242 } |
| 243 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 243 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 244 // for details. All rights reserved. Use of this source code is governed by a | 244 // for details. All rights reserved. Use of this source code is governed by a |
| 245 // BSD-style license that can be found in the LICENSE file. | 245 // BSD-style license that can be found in the LICENSE file. |
| 246 | 246 |
| 247 | 247 |
| 248 /// @domName SVGAnimatedAngle | 248 /// @domName SVGAnimatedAngle |
| 249 class SVGAnimatedAngle native "*SVGAnimatedAngle" { | 249 class AnimatedAngle native "*SVGAnimatedAngle" { |
| 250 | 250 |
| 251 /** @domName SVGAnimatedAngle.animVal */ | 251 /** @domName SVGAnimatedAngle.animVal */ |
| 252 final SVGAngle animVal; | 252 final Angle animVal; |
| 253 | 253 |
| 254 /** @domName SVGAnimatedAngle.baseVal */ | 254 /** @domName SVGAnimatedAngle.baseVal */ |
| 255 final SVGAngle baseVal; | 255 final Angle baseVal; |
| 256 } | 256 } |
| 257 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 257 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 258 // for details. All rights reserved. Use of this source code is governed by a | 258 // for details. All rights reserved. Use of this source code is governed by a |
| 259 // BSD-style license that can be found in the LICENSE file. | 259 // BSD-style license that can be found in the LICENSE file. |
| 260 | 260 |
| 261 | 261 |
| 262 /// @domName SVGAnimatedBoolean | 262 /// @domName SVGAnimatedBoolean |
| 263 class SVGAnimatedBoolean native "*SVGAnimatedBoolean" { | 263 class AnimatedBoolean native "*SVGAnimatedBoolean" { |
| 264 | 264 |
| 265 /** @domName SVGAnimatedBoolean.animVal */ | 265 /** @domName SVGAnimatedBoolean.animVal */ |
| 266 final bool animVal; | 266 final bool animVal; |
| 267 | 267 |
| 268 /** @domName SVGAnimatedBoolean.baseVal */ | 268 /** @domName SVGAnimatedBoolean.baseVal */ |
| 269 bool baseVal; | 269 bool baseVal; |
| 270 } | 270 } |
| 271 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 271 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 272 // for details. All rights reserved. Use of this source code is governed by a | 272 // for details. All rights reserved. Use of this source code is governed by a |
| 273 // BSD-style license that can be found in the LICENSE file. | 273 // BSD-style license that can be found in the LICENSE file. |
| 274 | 274 |
| 275 | 275 |
| 276 /// @domName SVGAnimatedEnumeration | 276 /// @domName SVGAnimatedEnumeration |
| 277 class SVGAnimatedEnumeration native "*SVGAnimatedEnumeration" { | 277 class AnimatedEnumeration native "*SVGAnimatedEnumeration" { |
| 278 | 278 |
| 279 /** @domName SVGAnimatedEnumeration.animVal */ | 279 /** @domName SVGAnimatedEnumeration.animVal */ |
| 280 final int animVal; | 280 final int animVal; |
| 281 | 281 |
| 282 /** @domName SVGAnimatedEnumeration.baseVal */ | 282 /** @domName SVGAnimatedEnumeration.baseVal */ |
| 283 int baseVal; | 283 int baseVal; |
| 284 } | 284 } |
| 285 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 285 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 286 // for details. All rights reserved. Use of this source code is governed by a | 286 // for details. All rights reserved. Use of this source code is governed by a |
| 287 // BSD-style license that can be found in the LICENSE file. | 287 // BSD-style license that can be found in the LICENSE file. |
| 288 | 288 |
| 289 | 289 |
| 290 /// @domName SVGAnimatedInteger | 290 /// @domName SVGAnimatedInteger |
| 291 class SVGAnimatedInteger native "*SVGAnimatedInteger" { | 291 class AnimatedInteger native "*SVGAnimatedInteger" { |
| 292 | 292 |
| 293 /** @domName SVGAnimatedInteger.animVal */ | 293 /** @domName SVGAnimatedInteger.animVal */ |
| 294 final int animVal; | 294 final int animVal; |
| 295 | 295 |
| 296 /** @domName SVGAnimatedInteger.baseVal */ | 296 /** @domName SVGAnimatedInteger.baseVal */ |
| 297 int baseVal; | 297 int baseVal; |
| 298 } | 298 } |
| 299 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 299 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 300 // for details. All rights reserved. Use of this source code is governed by a | 300 // for details. All rights reserved. Use of this source code is governed by a |
| 301 // BSD-style license that can be found in the LICENSE file. | 301 // BSD-style license that can be found in the LICENSE file. |
| 302 | 302 |
| 303 | 303 |
| 304 /// @domName SVGAnimatedLength | 304 /// @domName SVGAnimatedLength |
| 305 class SVGAnimatedLength native "*SVGAnimatedLength" { | 305 class AnimatedLength native "*SVGAnimatedLength" { |
| 306 | 306 |
| 307 /** @domName SVGAnimatedLength.animVal */ | 307 /** @domName SVGAnimatedLength.animVal */ |
| 308 final SVGLength animVal; | 308 final Length animVal; |
| 309 | 309 |
| 310 /** @domName SVGAnimatedLength.baseVal */ | 310 /** @domName SVGAnimatedLength.baseVal */ |
| 311 final SVGLength baseVal; | 311 final Length baseVal; |
| 312 } | 312 } |
| 313 // 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 |
| 314 // 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 |
| 315 // BSD-style license that can be found in the LICENSE file. | 315 // BSD-style license that can be found in the LICENSE file. |
| 316 | 316 |
| 317 | 317 |
| 318 /// @domName SVGAnimatedLengthList | 318 /// @domName SVGAnimatedLengthList |
| 319 class SVGAnimatedLengthList implements JavaScriptIndexingBehavior, List<SVGAnima
tedLength> native "*SVGAnimatedLengthList" { | 319 class AnimatedLengthList implements JavaScriptIndexingBehavior, List<AnimatedLen
gth> native "*SVGAnimatedLengthList" { |
| 320 | 320 |
| 321 /** @domName SVGAnimatedLengthList.animVal */ | 321 /** @domName SVGAnimatedLengthList.animVal */ |
| 322 final SVGLengthList animVal; | 322 final LengthList animVal; |
| 323 | 323 |
| 324 /** @domName SVGAnimatedLengthList.baseVal */ | 324 /** @domName SVGAnimatedLengthList.baseVal */ |
| 325 final SVGLengthList baseVal; | 325 final LengthList baseVal; |
| 326 | 326 |
| 327 SVGAnimatedLength operator[](int index) => JS("SVGAnimatedLength", "#[#]", thi
s, index); | 327 AnimatedLength operator[](int index) => JS("AnimatedLength", "#[#]", this, ind
ex); |
| 328 | 328 |
| 329 void operator[]=(int index, SVGAnimatedLength value) { | 329 void operator[]=(int index, AnimatedLength value) { |
| 330 throw new UnsupportedError("Cannot assign element of immutable List."); | 330 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 331 } | 331 } |
| 332 // -- start List<SVGAnimatedLength> mixins. | 332 // -- start List<AnimatedLength> mixins. |
| 333 // SVGAnimatedLength is the element type. | 333 // AnimatedLength is the element type. |
| 334 | 334 |
| 335 // From Iterable<SVGAnimatedLength>: | 335 // From Iterable<AnimatedLength>: |
| 336 | 336 |
| 337 Iterator<SVGAnimatedLength> iterator() { | 337 Iterator<AnimatedLength> iterator() { |
| 338 // Note: NodeLists are not fixed size. And most probably length shouldn't | 338 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 339 // be cached in both iterator _and_ forEach method. For now caching it | 339 // be cached in both iterator _and_ forEach method. For now caching it |
| 340 // for consistency. | 340 // for consistency. |
| 341 return new FixedSizeListIterator<SVGAnimatedLength>(this); | 341 return new FixedSizeListIterator<AnimatedLength>(this); |
| 342 } | 342 } |
| 343 | 343 |
| 344 // From Collection<SVGAnimatedLength>: | 344 // From Collection<AnimatedLength>: |
| 345 | 345 |
| 346 void add(SVGAnimatedLength value) { | 346 void add(AnimatedLength value) { |
| 347 throw new UnsupportedError("Cannot add to immutable List."); | 347 throw new UnsupportedError("Cannot add to immutable List."); |
| 348 } | 348 } |
| 349 | 349 |
| 350 void addLast(SVGAnimatedLength value) { | 350 void addLast(AnimatedLength value) { |
| 351 throw new UnsupportedError("Cannot add to immutable List."); | 351 throw new UnsupportedError("Cannot add to immutable List."); |
| 352 } | 352 } |
| 353 | 353 |
| 354 void addAll(Collection<SVGAnimatedLength> collection) { | 354 void addAll(Collection<AnimatedLength> collection) { |
| 355 throw new UnsupportedError("Cannot add to immutable List."); | 355 throw new UnsupportedError("Cannot add to immutable List."); |
| 356 } | 356 } |
| 357 | 357 |
| 358 bool contains(SVGAnimatedLength element) => _Collections.contains(this, elemen
t); | 358 bool contains(AnimatedLength element) => _Collections.contains(this, element); |
| 359 | 359 |
| 360 void forEach(void f(SVGAnimatedLength element)) => _Collections.forEach(this,
f); | 360 void forEach(void f(AnimatedLength element)) => _Collections.forEach(this, f); |
| 361 | 361 |
| 362 Collection map(f(SVGAnimatedLength element)) => _Collections.map(this, [], f); | 362 Collection map(f(AnimatedLength element)) => _Collections.map(this, [], f); |
| 363 | 363 |
| 364 Collection<SVGAnimatedLength> filter(bool f(SVGAnimatedLength element)) => | 364 Collection<AnimatedLength> filter(bool f(AnimatedLength element)) => |
| 365 _Collections.filter(this, <SVGAnimatedLength>[], f); | 365 _Collections.filter(this, <AnimatedLength>[], f); |
| 366 | 366 |
| 367 bool every(bool f(SVGAnimatedLength element)) => _Collections.every(this, f); | 367 bool every(bool f(AnimatedLength element)) => _Collections.every(this, f); |
| 368 | 368 |
| 369 bool some(bool f(SVGAnimatedLength element)) => _Collections.some(this, f); | 369 bool some(bool f(AnimatedLength element)) => _Collections.some(this, f); |
| 370 | 370 |
| 371 bool get isEmpty => this.length == 0; | 371 bool get isEmpty => this.length == 0; |
| 372 | 372 |
| 373 // From List<SVGAnimatedLength>: | 373 // From List<AnimatedLength>: |
| 374 | 374 |
| 375 void sort([Comparator<SVGAnimatedLength> compare = Comparable.compare]) { | 375 void sort([Comparator<AnimatedLength> compare = Comparable.compare]) { |
| 376 throw new UnsupportedError("Cannot sort immutable List."); | 376 throw new UnsupportedError("Cannot sort immutable List."); |
| 377 } | 377 } |
| 378 | 378 |
| 379 int indexOf(SVGAnimatedLength element, [int start = 0]) => | 379 int indexOf(AnimatedLength element, [int start = 0]) => |
| 380 _Lists.indexOf(this, element, start, this.length); | 380 _Lists.indexOf(this, element, start, this.length); |
| 381 | 381 |
| 382 int lastIndexOf(SVGAnimatedLength element, [int start]) { | 382 int lastIndexOf(AnimatedLength element, [int start]) { |
| 383 if (start == null) start = length - 1; | 383 if (start == null) start = length - 1; |
| 384 return _Lists.lastIndexOf(this, element, start); | 384 return _Lists.lastIndexOf(this, element, start); |
| 385 } | 385 } |
| 386 | 386 |
| 387 SVGAnimatedLength get first => this[0]; | 387 AnimatedLength get first => this[0]; |
| 388 | 388 |
| 389 SVGAnimatedLength get last => this[length - 1]; | 389 AnimatedLength get last => this[length - 1]; |
| 390 | 390 |
| 391 SVGAnimatedLength removeLast() { | 391 AnimatedLength removeLast() { |
| 392 throw new UnsupportedError("Cannot removeLast on immutable List."); | 392 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 393 } | 393 } |
| 394 | 394 |
| 395 void setRange(int start, int rangeLength, List<SVGAnimatedLength> from, [int s
tartFrom]) { | 395 void setRange(int start, int rangeLength, List<AnimatedLength> from, [int star
tFrom]) { |
| 396 throw new UnsupportedError("Cannot setRange on immutable List."); | 396 throw new UnsupportedError("Cannot setRange on immutable List."); |
| 397 } | 397 } |
| 398 | 398 |
| 399 void removeRange(int start, int rangeLength) { | 399 void removeRange(int start, int rangeLength) { |
| 400 throw new UnsupportedError("Cannot removeRange on immutable List."); | 400 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 401 } | 401 } |
| 402 | 402 |
| 403 void insertRange(int start, int rangeLength, [SVGAnimatedLength initialValue])
{ | 403 void insertRange(int start, int rangeLength, [AnimatedLength initialValue]) { |
| 404 throw new UnsupportedError("Cannot insertRange on immutable List."); | 404 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 405 } | 405 } |
| 406 | 406 |
| 407 List<SVGAnimatedLength> getRange(int start, int rangeLength) => | 407 List<AnimatedLength> getRange(int start, int rangeLength) => |
| 408 _Lists.getRange(this, start, rangeLength, <SVGAnimatedLength>[]); | 408 _Lists.getRange(this, start, rangeLength, <AnimatedLength>[]); |
| 409 | 409 |
| 410 // -- end List<SVGAnimatedLength> mixins. | 410 // -- end List<AnimatedLength> mixins. |
| 411 } | 411 } |
| 412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 413 // for details. All rights reserved. Use of this source code is governed by a | 413 // for details. All rights reserved. Use of this source code is governed by a |
| 414 // BSD-style license that can be found in the LICENSE file. | 414 // BSD-style license that can be found in the LICENSE file. |
| 415 | 415 |
| 416 | 416 |
| 417 /// @domName SVGAnimatedNumber | 417 /// @domName SVGAnimatedNumber |
| 418 class SVGAnimatedNumber native "*SVGAnimatedNumber" { | 418 class AnimatedNumber native "*SVGAnimatedNumber" { |
| 419 | 419 |
| 420 /** @domName SVGAnimatedNumber.animVal */ | 420 /** @domName SVGAnimatedNumber.animVal */ |
| 421 final num animVal; | 421 final num animVal; |
| 422 | 422 |
| 423 /** @domName SVGAnimatedNumber.baseVal */ | 423 /** @domName SVGAnimatedNumber.baseVal */ |
| 424 num baseVal; | 424 num baseVal; |
| 425 } | 425 } |
| 426 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 426 // 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 | 427 // 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. | 428 // BSD-style license that can be found in the LICENSE file. |
| 429 | 429 |
| 430 | 430 |
| 431 /// @domName SVGAnimatedNumberList | 431 /// @domName SVGAnimatedNumberList |
| 432 class SVGAnimatedNumberList implements JavaScriptIndexingBehavior, List<SVGAnima
tedNumber> native "*SVGAnimatedNumberList" { | 432 class AnimatedNumberList implements JavaScriptIndexingBehavior, List<AnimatedNum
ber> native "*SVGAnimatedNumberList" { |
| 433 | 433 |
| 434 /** @domName SVGAnimatedNumberList.animVal */ | 434 /** @domName SVGAnimatedNumberList.animVal */ |
| 435 final SVGNumberList animVal; | 435 final NumberList animVal; |
| 436 | 436 |
| 437 /** @domName SVGAnimatedNumberList.baseVal */ | 437 /** @domName SVGAnimatedNumberList.baseVal */ |
| 438 final SVGNumberList baseVal; | 438 final NumberList baseVal; |
| 439 | 439 |
| 440 SVGAnimatedNumber operator[](int index) => JS("SVGAnimatedNumber", "#[#]", thi
s, index); | 440 AnimatedNumber operator[](int index) => JS("AnimatedNumber", "#[#]", this, ind
ex); |
| 441 | 441 |
| 442 void operator[]=(int index, SVGAnimatedNumber value) { | 442 void operator[]=(int index, AnimatedNumber value) { |
| 443 throw new UnsupportedError("Cannot assign element of immutable List."); | 443 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 444 } | 444 } |
| 445 // -- start List<SVGAnimatedNumber> mixins. | 445 // -- start List<AnimatedNumber> mixins. |
| 446 // SVGAnimatedNumber is the element type. | 446 // AnimatedNumber is the element type. |
| 447 | 447 |
| 448 // From Iterable<SVGAnimatedNumber>: | 448 // From Iterable<AnimatedNumber>: |
| 449 | 449 |
| 450 Iterator<SVGAnimatedNumber> iterator() { | 450 Iterator<AnimatedNumber> iterator() { |
| 451 // Note: NodeLists are not fixed size. And most probably length shouldn't | 451 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 452 // be cached in both iterator _and_ forEach method. For now caching it | 452 // be cached in both iterator _and_ forEach method. For now caching it |
| 453 // for consistency. | 453 // for consistency. |
| 454 return new FixedSizeListIterator<SVGAnimatedNumber>(this); | 454 return new FixedSizeListIterator<AnimatedNumber>(this); |
| 455 } | 455 } |
| 456 | 456 |
| 457 // From Collection<SVGAnimatedNumber>: | 457 // From Collection<AnimatedNumber>: |
| 458 | 458 |
| 459 void add(SVGAnimatedNumber value) { | 459 void add(AnimatedNumber value) { |
| 460 throw new UnsupportedError("Cannot add to immutable List."); | 460 throw new UnsupportedError("Cannot add to immutable List."); |
| 461 } | 461 } |
| 462 | 462 |
| 463 void addLast(SVGAnimatedNumber value) { | 463 void addLast(AnimatedNumber value) { |
| 464 throw new UnsupportedError("Cannot add to immutable List."); | 464 throw new UnsupportedError("Cannot add to immutable List."); |
| 465 } | 465 } |
| 466 | 466 |
| 467 void addAll(Collection<SVGAnimatedNumber> collection) { | 467 void addAll(Collection<AnimatedNumber> collection) { |
| 468 throw new UnsupportedError("Cannot add to immutable List."); | 468 throw new UnsupportedError("Cannot add to immutable List."); |
| 469 } | 469 } |
| 470 | 470 |
| 471 bool contains(SVGAnimatedNumber element) => _Collections.contains(this, elemen
t); | 471 bool contains(AnimatedNumber element) => _Collections.contains(this, element); |
| 472 | 472 |
| 473 void forEach(void f(SVGAnimatedNumber element)) => _Collections.forEach(this,
f); | 473 void forEach(void f(AnimatedNumber element)) => _Collections.forEach(this, f); |
| 474 | 474 |
| 475 Collection map(f(SVGAnimatedNumber element)) => _Collections.map(this, [], f); | 475 Collection map(f(AnimatedNumber element)) => _Collections.map(this, [], f); |
| 476 | 476 |
| 477 Collection<SVGAnimatedNumber> filter(bool f(SVGAnimatedNumber element)) => | 477 Collection<AnimatedNumber> filter(bool f(AnimatedNumber element)) => |
| 478 _Collections.filter(this, <SVGAnimatedNumber>[], f); | 478 _Collections.filter(this, <AnimatedNumber>[], f); |
| 479 | 479 |
| 480 bool every(bool f(SVGAnimatedNumber element)) => _Collections.every(this, f); | 480 bool every(bool f(AnimatedNumber element)) => _Collections.every(this, f); |
| 481 | 481 |
| 482 bool some(bool f(SVGAnimatedNumber element)) => _Collections.some(this, f); | 482 bool some(bool f(AnimatedNumber element)) => _Collections.some(this, f); |
| 483 | 483 |
| 484 bool get isEmpty => this.length == 0; | 484 bool get isEmpty => this.length == 0; |
| 485 | 485 |
| 486 // From List<SVGAnimatedNumber>: | 486 // From List<AnimatedNumber>: |
| 487 | 487 |
| 488 void sort([Comparator<SVGAnimatedNumber> compare = Comparable.compare]) { | 488 void sort([Comparator<AnimatedNumber> compare = Comparable.compare]) { |
| 489 throw new UnsupportedError("Cannot sort immutable List."); | 489 throw new UnsupportedError("Cannot sort immutable List."); |
| 490 } | 490 } |
| 491 | 491 |
| 492 int indexOf(SVGAnimatedNumber element, [int start = 0]) => | 492 int indexOf(AnimatedNumber element, [int start = 0]) => |
| 493 _Lists.indexOf(this, element, start, this.length); | 493 _Lists.indexOf(this, element, start, this.length); |
| 494 | 494 |
| 495 int lastIndexOf(SVGAnimatedNumber element, [int start]) { | 495 int lastIndexOf(AnimatedNumber element, [int start]) { |
| 496 if (start == null) start = length - 1; | 496 if (start == null) start = length - 1; |
| 497 return _Lists.lastIndexOf(this, element, start); | 497 return _Lists.lastIndexOf(this, element, start); |
| 498 } | 498 } |
| 499 | 499 |
| 500 SVGAnimatedNumber get first => this[0]; | 500 AnimatedNumber get first => this[0]; |
| 501 | 501 |
| 502 SVGAnimatedNumber get last => this[length - 1]; | 502 AnimatedNumber get last => this[length - 1]; |
| 503 | 503 |
| 504 SVGAnimatedNumber removeLast() { | 504 AnimatedNumber removeLast() { |
| 505 throw new UnsupportedError("Cannot removeLast on immutable List."); | 505 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 506 } | 506 } |
| 507 | 507 |
| 508 void setRange(int start, int rangeLength, List<SVGAnimatedNumber> from, [int s
tartFrom]) { | 508 void setRange(int start, int rangeLength, List<AnimatedNumber> from, [int star
tFrom]) { |
| 509 throw new UnsupportedError("Cannot setRange on immutable List."); | 509 throw new UnsupportedError("Cannot setRange on immutable List."); |
| 510 } | 510 } |
| 511 | 511 |
| 512 void removeRange(int start, int rangeLength) { | 512 void removeRange(int start, int rangeLength) { |
| 513 throw new UnsupportedError("Cannot removeRange on immutable List."); | 513 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 514 } | 514 } |
| 515 | 515 |
| 516 void insertRange(int start, int rangeLength, [SVGAnimatedNumber initialValue])
{ | 516 void insertRange(int start, int rangeLength, [AnimatedNumber initialValue]) { |
| 517 throw new UnsupportedError("Cannot insertRange on immutable List."); | 517 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 518 } | 518 } |
| 519 | 519 |
| 520 List<SVGAnimatedNumber> getRange(int start, int rangeLength) => | 520 List<AnimatedNumber> getRange(int start, int rangeLength) => |
| 521 _Lists.getRange(this, start, rangeLength, <SVGAnimatedNumber>[]); | 521 _Lists.getRange(this, start, rangeLength, <AnimatedNumber>[]); |
| 522 | 522 |
| 523 // -- end List<SVGAnimatedNumber> mixins. | 523 // -- end List<AnimatedNumber> mixins. |
| 524 } | 524 } |
| 525 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 525 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 526 // for details. All rights reserved. Use of this source code is governed by a | 526 // for details. All rights reserved. Use of this source code is governed by a |
| 527 // BSD-style license that can be found in the LICENSE file. | 527 // BSD-style license that can be found in the LICENSE file. |
| 528 | 528 |
| 529 | 529 |
| 530 /// @domName SVGAnimatedPreserveAspectRatio | 530 /// @domName SVGAnimatedPreserveAspectRatio |
| 531 class SVGAnimatedPreserveAspectRatio native "*SVGAnimatedPreserveAspectRatio" { | 531 class AnimatedPreserveAspectRatio native "*SVGAnimatedPreserveAspectRatio" { |
| 532 | 532 |
| 533 /** @domName SVGAnimatedPreserveAspectRatio.animVal */ | 533 /** @domName SVGAnimatedPreserveAspectRatio.animVal */ |
| 534 final SVGPreserveAspectRatio animVal; | 534 final PreserveAspectRatio animVal; |
| 535 | 535 |
| 536 /** @domName SVGAnimatedPreserveAspectRatio.baseVal */ | 536 /** @domName SVGAnimatedPreserveAspectRatio.baseVal */ |
| 537 final SVGPreserveAspectRatio baseVal; | 537 final PreserveAspectRatio baseVal; |
| 538 } | 538 } |
| 539 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 539 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 540 // for details. All rights reserved. Use of this source code is governed by a | 540 // for details. All rights reserved. Use of this source code is governed by a |
| 541 // BSD-style license that can be found in the LICENSE file. | 541 // BSD-style license that can be found in the LICENSE file. |
| 542 | 542 |
| 543 | 543 |
| 544 /// @domName SVGAnimatedRect | 544 /// @domName SVGAnimatedRect |
| 545 class SVGAnimatedRect native "*SVGAnimatedRect" { | 545 class AnimatedRect native "*SVGAnimatedRect" { |
| 546 | 546 |
| 547 /** @domName SVGAnimatedRect.animVal */ | 547 /** @domName SVGAnimatedRect.animVal */ |
| 548 final SVGRect animVal; | 548 final Rect animVal; |
| 549 | 549 |
| 550 /** @domName SVGAnimatedRect.baseVal */ | 550 /** @domName SVGAnimatedRect.baseVal */ |
| 551 final SVGRect baseVal; | 551 final Rect baseVal; |
| 552 } | 552 } |
| 553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 553 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 554 // for details. All rights reserved. Use of this source code is governed by a | 554 // for details. All rights reserved. Use of this source code is governed by a |
| 555 // BSD-style license that can be found in the LICENSE file. | 555 // BSD-style license that can be found in the LICENSE file. |
| 556 | 556 |
| 557 | 557 |
| 558 /// @domName SVGAnimatedString | 558 /// @domName SVGAnimatedString |
| 559 class SVGAnimatedString native "*SVGAnimatedString" { | 559 class AnimatedString native "*SVGAnimatedString" { |
| 560 | 560 |
| 561 /** @domName SVGAnimatedString.animVal */ | 561 /** @domName SVGAnimatedString.animVal */ |
| 562 final String animVal; | 562 final String animVal; |
| 563 | 563 |
| 564 /** @domName SVGAnimatedString.baseVal */ | 564 /** @domName SVGAnimatedString.baseVal */ |
| 565 String baseVal; | 565 String baseVal; |
| 566 } | 566 } |
| 567 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 567 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 568 // for details. All rights reserved. Use of this source code is governed by a | 568 // for details. All rights reserved. Use of this source code is governed by a |
| 569 // BSD-style license that can be found in the LICENSE file. | 569 // BSD-style license that can be found in the LICENSE file. |
| 570 | 570 |
| 571 | 571 |
| 572 /// @domName SVGAnimatedTransformList | 572 /// @domName SVGAnimatedTransformList |
| 573 class SVGAnimatedTransformList implements JavaScriptIndexingBehavior, List<SVGAn
imateTransformElement> native "*SVGAnimatedTransformList" { | 573 class AnimatedTransformList implements JavaScriptIndexingBehavior, List<AnimateT
ransformElement> native "*SVGAnimatedTransformList" { |
| 574 | 574 |
| 575 /** @domName SVGAnimatedTransformList.animVal */ | 575 /** @domName SVGAnimatedTransformList.animVal */ |
| 576 final SVGTransformList animVal; | 576 final TransformList animVal; |
| 577 | 577 |
| 578 /** @domName SVGAnimatedTransformList.baseVal */ | 578 /** @domName SVGAnimatedTransformList.baseVal */ |
| 579 final SVGTransformList baseVal; | 579 final TransformList baseVal; |
| 580 | 580 |
| 581 SVGAnimateTransformElement operator[](int index) => JS("SVGAnimateTransformEle
ment", "#[#]", this, index); | 581 AnimateTransformElement operator[](int index) => JS("AnimateTransformElement",
"#[#]", this, index); |
| 582 | 582 |
| 583 void operator[]=(int index, SVGAnimateTransformElement value) { | 583 void operator[]=(int index, AnimateTransformElement value) { |
| 584 throw new UnsupportedError("Cannot assign element of immutable List."); | 584 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 585 } | 585 } |
| 586 // -- start List<SVGAnimateTransformElement> mixins. | 586 // -- start List<AnimateTransformElement> mixins. |
| 587 // SVGAnimateTransformElement is the element type. | 587 // AnimateTransformElement is the element type. |
| 588 | 588 |
| 589 // From Iterable<SVGAnimateTransformElement>: | 589 // From Iterable<AnimateTransformElement>: |
| 590 | 590 |
| 591 Iterator<SVGAnimateTransformElement> iterator() { | 591 Iterator<AnimateTransformElement> iterator() { |
| 592 // Note: NodeLists are not fixed size. And most probably length shouldn't | 592 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 593 // be cached in both iterator _and_ forEach method. For now caching it | 593 // be cached in both iterator _and_ forEach method. For now caching it |
| 594 // for consistency. | 594 // for consistency. |
| 595 return new FixedSizeListIterator<SVGAnimateTransformElement>(this); | 595 return new FixedSizeListIterator<AnimateTransformElement>(this); |
| 596 } | 596 } |
| 597 | 597 |
| 598 // From Collection<SVGAnimateTransformElement>: | 598 // From Collection<AnimateTransformElement>: |
| 599 | 599 |
| 600 void add(SVGAnimateTransformElement value) { | 600 void add(AnimateTransformElement value) { |
| 601 throw new UnsupportedError("Cannot add to immutable List."); | 601 throw new UnsupportedError("Cannot add to immutable List."); |
| 602 } | 602 } |
| 603 | 603 |
| 604 void addLast(SVGAnimateTransformElement value) { | 604 void addLast(AnimateTransformElement value) { |
| 605 throw new UnsupportedError("Cannot add to immutable List."); | 605 throw new UnsupportedError("Cannot add to immutable List."); |
| 606 } | 606 } |
| 607 | 607 |
| 608 void addAll(Collection<SVGAnimateTransformElement> collection) { | 608 void addAll(Collection<AnimateTransformElement> collection) { |
| 609 throw new UnsupportedError("Cannot add to immutable List."); | 609 throw new UnsupportedError("Cannot add to immutable List."); |
| 610 } | 610 } |
| 611 | 611 |
| 612 bool contains(SVGAnimateTransformElement element) => _Collections.contains(thi
s, element); | 612 bool contains(AnimateTransformElement element) => _Collections.contains(this,
element); |
| 613 | 613 |
| 614 void forEach(void f(SVGAnimateTransformElement element)) => _Collections.forEa
ch(this, f); | 614 void forEach(void f(AnimateTransformElement element)) => _Collections.forEach(
this, f); |
| 615 | 615 |
| 616 Collection map(f(SVGAnimateTransformElement element)) => _Collections.map(this
, [], f); | 616 Collection map(f(AnimateTransformElement element)) => _Collections.map(this, [
], f); |
| 617 | 617 |
| 618 Collection<SVGAnimateTransformElement> filter(bool f(SVGAnimateTransformElemen
t element)) => | 618 Collection<AnimateTransformElement> filter(bool f(AnimateTransformElement elem
ent)) => |
| 619 _Collections.filter(this, <SVGAnimateTransformElement>[], f); | 619 _Collections.filter(this, <AnimateTransformElement>[], f); |
| 620 | 620 |
| 621 bool every(bool f(SVGAnimateTransformElement element)) => _Collections.every(t
his, f); | 621 bool every(bool f(AnimateTransformElement element)) => _Collections.every(this
, f); |
| 622 | 622 |
| 623 bool some(bool f(SVGAnimateTransformElement element)) => _Collections.some(thi
s, f); | 623 bool some(bool f(AnimateTransformElement element)) => _Collections.some(this,
f); |
| 624 | 624 |
| 625 bool get isEmpty => this.length == 0; | 625 bool get isEmpty => this.length == 0; |
| 626 | 626 |
| 627 // From List<SVGAnimateTransformElement>: | 627 // From List<AnimateTransformElement>: |
| 628 | 628 |
| 629 void sort([Comparator<SVGAnimateTransformElement> compare = Comparable.compare
]) { | 629 void sort([Comparator<AnimateTransformElement> compare = Comparable.compare])
{ |
| 630 throw new UnsupportedError("Cannot sort immutable List."); | 630 throw new UnsupportedError("Cannot sort immutable List."); |
| 631 } | 631 } |
| 632 | 632 |
| 633 int indexOf(SVGAnimateTransformElement element, [int start = 0]) => | 633 int indexOf(AnimateTransformElement element, [int start = 0]) => |
| 634 _Lists.indexOf(this, element, start, this.length); | 634 _Lists.indexOf(this, element, start, this.length); |
| 635 | 635 |
| 636 int lastIndexOf(SVGAnimateTransformElement element, [int start]) { | 636 int lastIndexOf(AnimateTransformElement element, [int start]) { |
| 637 if (start == null) start = length - 1; | 637 if (start == null) start = length - 1; |
| 638 return _Lists.lastIndexOf(this, element, start); | 638 return _Lists.lastIndexOf(this, element, start); |
| 639 } | 639 } |
| 640 | 640 |
| 641 SVGAnimateTransformElement get first => this[0]; | 641 AnimateTransformElement get first => this[0]; |
| 642 | 642 |
| 643 SVGAnimateTransformElement get last => this[length - 1]; | 643 AnimateTransformElement get last => this[length - 1]; |
| 644 | 644 |
| 645 SVGAnimateTransformElement removeLast() { | 645 AnimateTransformElement removeLast() { |
| 646 throw new UnsupportedError("Cannot removeLast on immutable List."); | 646 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 647 } | 647 } |
| 648 | 648 |
| 649 void setRange(int start, int rangeLength, List<SVGAnimateTransformElement> fro
m, [int startFrom]) { | 649 void setRange(int start, int rangeLength, List<AnimateTransformElement> from,
[int startFrom]) { |
| 650 throw new UnsupportedError("Cannot setRange on immutable List."); | 650 throw new UnsupportedError("Cannot setRange on immutable List."); |
| 651 } | 651 } |
| 652 | 652 |
| 653 void removeRange(int start, int rangeLength) { | 653 void removeRange(int start, int rangeLength) { |
| 654 throw new UnsupportedError("Cannot removeRange on immutable List."); | 654 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 655 } | 655 } |
| 656 | 656 |
| 657 void insertRange(int start, int rangeLength, [SVGAnimateTransformElement initi
alValue]) { | 657 void insertRange(int start, int rangeLength, [AnimateTransformElement initialV
alue]) { |
| 658 throw new UnsupportedError("Cannot insertRange on immutable List."); | 658 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 659 } | 659 } |
| 660 | 660 |
| 661 List<SVGAnimateTransformElement> getRange(int start, int rangeLength) => | 661 List<AnimateTransformElement> getRange(int start, int rangeLength) => |
| 662 _Lists.getRange(this, start, rangeLength, <SVGAnimateTransformElement>[]); | 662 _Lists.getRange(this, start, rangeLength, <AnimateTransformElement>[]); |
| 663 | 663 |
| 664 // -- end List<SVGAnimateTransformElement> mixins. | 664 // -- end List<AnimateTransformElement> mixins. |
| 665 } | 665 } |
| 666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 666 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 667 // for details. All rights reserved. Use of this source code is governed by a | 667 // for details. All rights reserved. Use of this source code is governed by a |
| 668 // BSD-style license that can be found in the LICENSE file. | 668 // BSD-style license that can be found in the LICENSE file. |
| 669 | 669 |
| 670 | 670 |
| 671 /// @domName SVGAnimationElement | 671 /// @domName SVGAnimationElement |
| 672 class SVGAnimationElement extends SVGElement implements ElementTimeControl, SVGT
ests, SVGExternalResourcesRequired native "*SVGAnimationElement" { | 672 class AnimationElement extends SvgElement implements Tests, ElementTimeControl,
ExternalResourcesRequired native "*SVGAnimationElement" { |
| 673 | 673 |
| 674 factory SVGAnimationElement() => _SVGElementFactoryProvider.createSVGElement_t
ag("animation"); | 674 factory AnimationElement() => _SvgElementFactoryProvider.createSvgElement_tag(
"animation"); |
| 675 | 675 |
| 676 /** @domName SVGAnimationElement.targetElement */ | 676 /** @domName SVGAnimationElement.targetElement */ |
| 677 final SVGElement targetElement; | 677 final SvgElement targetElement; |
| 678 | 678 |
| 679 /** @domName SVGAnimationElement.getCurrentTime */ | 679 /** @domName SVGAnimationElement.getCurrentTime */ |
| 680 num getCurrentTime() native; | 680 num getCurrentTime() native; |
| 681 | 681 |
| 682 /** @domName SVGAnimationElement.getSimpleDuration */ | 682 /** @domName SVGAnimationElement.getSimpleDuration */ |
| 683 num getSimpleDuration() native; | 683 num getSimpleDuration() native; |
| 684 | 684 |
| 685 /** @domName SVGAnimationElement.getStartTime */ | 685 /** @domName SVGAnimationElement.getStartTime */ |
| 686 num getStartTime() native; | 686 num getStartTime() native; |
| 687 | 687 |
| 688 // From ElementTimeControl | 688 // From ElementTimeControl |
| 689 | 689 |
| 690 /** @domName ElementTimeControl.beginElement */ | 690 /** @domName ElementTimeControl.beginElement */ |
| 691 void beginElement() native; | 691 void beginElement() native; |
| 692 | 692 |
| 693 /** @domName ElementTimeControl.beginElementAt */ | 693 /** @domName ElementTimeControl.beginElementAt */ |
| 694 void beginElementAt(num offset) native; | 694 void beginElementAt(num offset) native; |
| 695 | 695 |
| 696 /** @domName ElementTimeControl.endElement */ | 696 /** @domName ElementTimeControl.endElement */ |
| 697 void endElement() native; | 697 void endElement() native; |
| 698 | 698 |
| 699 /** @domName ElementTimeControl.endElementAt */ | 699 /** @domName ElementTimeControl.endElementAt */ |
| 700 void endElementAt(num offset) native; | 700 void endElementAt(num offset) native; |
| 701 | 701 |
| 702 // From SVGExternalResourcesRequired | 702 // From SVGExternalResourcesRequired |
| 703 | 703 |
| 704 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 704 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 705 final SVGAnimatedBoolean externalResourcesRequired; | 705 final AnimatedBoolean externalResourcesRequired; |
| 706 | 706 |
| 707 // From SVGTests | 707 // From SVGTests |
| 708 | 708 |
| 709 /** @domName SVGTests.requiredExtensions */ | 709 /** @domName SVGTests.requiredExtensions */ |
| 710 final SVGStringList requiredExtensions; | 710 final StringList requiredExtensions; |
| 711 | 711 |
| 712 /** @domName SVGTests.requiredFeatures */ | 712 /** @domName SVGTests.requiredFeatures */ |
| 713 final SVGStringList requiredFeatures; | 713 final StringList requiredFeatures; |
| 714 | 714 |
| 715 /** @domName SVGTests.systemLanguage */ | 715 /** @domName SVGTests.systemLanguage */ |
| 716 final SVGStringList systemLanguage; | 716 final StringList systemLanguage; |
| 717 | 717 |
| 718 /** @domName SVGTests.hasExtension */ | 718 /** @domName SVGTests.hasExtension */ |
| 719 bool hasExtension(String extension) native; | 719 bool hasExtension(String extension) native; |
| 720 } | 720 } |
| 721 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 721 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 722 // for details. All rights reserved. Use of this source code is governed by a | 722 // for details. All rights reserved. Use of this source code is governed by a |
| 723 // BSD-style license that can be found in the LICENSE file. | 723 // BSD-style license that can be found in the LICENSE file. |
| 724 | 724 |
| 725 | 725 |
| 726 /// @domName SVGCircleElement | 726 /// @domName SVGCircleElement |
| 727 class SVGCircleElement extends SVGElement implements SVGLangSpace, SVGStylable,
SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGCircleEleme
nt" { | 727 class CircleElement extends SvgElement implements Transformable, Tests, Stylable
, ExternalResourcesRequired, LangSpace native "*SVGCircleElement" { |
| 728 | 728 |
| 729 factory SVGCircleElement() => _SVGElementFactoryProvider.createSVGElement_tag(
"circle"); | 729 factory CircleElement() => _SvgElementFactoryProvider.createSvgElement_tag("ci
rcle"); |
| 730 | 730 |
| 731 /** @domName SVGCircleElement.cx */ | 731 /** @domName SVGCircleElement.cx */ |
| 732 final SVGAnimatedLength cx; | 732 final AnimatedLength cx; |
| 733 | 733 |
| 734 /** @domName SVGCircleElement.cy */ | 734 /** @domName SVGCircleElement.cy */ |
| 735 final SVGAnimatedLength cy; | 735 final AnimatedLength cy; |
| 736 | 736 |
| 737 /** @domName SVGCircleElement.r */ | 737 /** @domName SVGCircleElement.r */ |
| 738 final SVGAnimatedLength r; | 738 final AnimatedLength r; |
| 739 | 739 |
| 740 // From SVGExternalResourcesRequired | 740 // From SVGExternalResourcesRequired |
| 741 | 741 |
| 742 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 742 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 743 final SVGAnimatedBoolean externalResourcesRequired; | 743 final AnimatedBoolean externalResourcesRequired; |
| 744 | 744 |
| 745 // From SVGLangSpace | 745 // From SVGLangSpace |
| 746 | 746 |
| 747 /** @domName SVGLangSpace.xmllang */ | 747 /** @domName SVGLangSpace.xmllang */ |
| 748 String xmllang; | 748 String xmllang; |
| 749 | 749 |
| 750 /** @domName SVGLangSpace.xmlspace */ | 750 /** @domName SVGLangSpace.xmlspace */ |
| 751 String xmlspace; | 751 String xmlspace; |
| 752 | 752 |
| 753 // From SVGLocatable | 753 // From SVGLocatable |
| 754 | 754 |
| 755 /** @domName SVGLocatable.farthestViewportElement */ | 755 /** @domName SVGLocatable.farthestViewportElement */ |
| 756 final SVGElement farthestViewportElement; | 756 final SvgElement farthestViewportElement; |
| 757 | 757 |
| 758 /** @domName SVGLocatable.nearestViewportElement */ | 758 /** @domName SVGLocatable.nearestViewportElement */ |
| 759 final SVGElement nearestViewportElement; | 759 final SvgElement nearestViewportElement; |
| 760 | 760 |
| 761 /** @domName SVGLocatable.getBBox */ | 761 /** @domName SVGLocatable.getBBox */ |
| 762 SVGRect getBBox() native; | 762 Rect getBBox() native; |
| 763 | 763 |
| 764 /** @domName SVGLocatable.getCTM */ | 764 /** @domName SVGLocatable.getCTM */ |
| 765 SVGMatrix getCTM() native; | 765 Matrix getCTM() native; |
| 766 | 766 |
| 767 /** @domName SVGLocatable.getScreenCTM */ | 767 /** @domName SVGLocatable.getScreenCTM */ |
| 768 SVGMatrix getScreenCTM() native; | 768 Matrix getScreenCTM() native; |
| 769 | 769 |
| 770 /** @domName SVGLocatable.getTransformToElement */ | 770 /** @domName SVGLocatable.getTransformToElement */ |
| 771 SVGMatrix getTransformToElement(SVGElement element) native; | 771 Matrix getTransformToElement(SvgElement element) native; |
| 772 | 772 |
| 773 // From SVGStylable | 773 // From SVGStylable |
| 774 | 774 |
| 775 /** @domName SVGStylable.className */ | 775 /** @domName SVGStylable.className */ |
| 776 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 776 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 777 | 777 |
| 778 // Use implementation from Element. | 778 // Use implementation from Element. |
| 779 // final CSSStyleDeclaration style; | 779 // final CSSStyleDeclaration style; |
| 780 | 780 |
| 781 /** @domName SVGStylable.getPresentationAttribute */ | 781 /** @domName SVGStylable.getPresentationAttribute */ |
| 782 CSSValue getPresentationAttribute(String name) native; | 782 CSSValue getPresentationAttribute(String name) native; |
| 783 | 783 |
| 784 // From SVGTests | 784 // From SVGTests |
| 785 | 785 |
| 786 /** @domName SVGTests.requiredExtensions */ | 786 /** @domName SVGTests.requiredExtensions */ |
| 787 final SVGStringList requiredExtensions; | 787 final StringList requiredExtensions; |
| 788 | 788 |
| 789 /** @domName SVGTests.requiredFeatures */ | 789 /** @domName SVGTests.requiredFeatures */ |
| 790 final SVGStringList requiredFeatures; | 790 final StringList requiredFeatures; |
| 791 | 791 |
| 792 /** @domName SVGTests.systemLanguage */ | 792 /** @domName SVGTests.systemLanguage */ |
| 793 final SVGStringList systemLanguage; | 793 final StringList systemLanguage; |
| 794 | 794 |
| 795 /** @domName SVGTests.hasExtension */ | 795 /** @domName SVGTests.hasExtension */ |
| 796 bool hasExtension(String extension) native; | 796 bool hasExtension(String extension) native; |
| 797 | 797 |
| 798 // From SVGTransformable | 798 // From SVGTransformable |
| 799 | 799 |
| 800 /** @domName SVGTransformable.transform */ | 800 /** @domName SVGTransformable.transform */ |
| 801 final SVGAnimatedTransformList transform; | 801 final AnimatedTransformList transform; |
| 802 } | 802 } |
| 803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 803 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 804 // for details. All rights reserved. Use of this source code is governed by a | 804 // for details. All rights reserved. Use of this source code is governed by a |
| 805 // BSD-style license that can be found in the LICENSE file. | 805 // BSD-style license that can be found in the LICENSE file. |
| 806 | 806 |
| 807 | 807 |
| 808 /// @domName SVGClipPathElement | 808 /// @domName SVGClipPathElement |
| 809 class SVGClipPathElement extends SVGElement implements SVGLangSpace, SVGStylable
, SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGClipPathE
lement" { | 809 class ClipPathElement extends SvgElement implements Transformable, Tests, Stylab
le, ExternalResourcesRequired, LangSpace native "*SVGClipPathElement" { |
| 810 | 810 |
| 811 factory SVGClipPathElement() => _SVGElementFactoryProvider.createSVGElement_ta
g("clipPath"); | 811 factory ClipPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("
clipPath"); |
| 812 | 812 |
| 813 /** @domName SVGClipPathElement.clipPathUnits */ | 813 /** @domName SVGClipPathElement.clipPathUnits */ |
| 814 final SVGAnimatedEnumeration clipPathUnits; | 814 final AnimatedEnumeration clipPathUnits; |
| 815 | 815 |
| 816 // From SVGExternalResourcesRequired | 816 // From SVGExternalResourcesRequired |
| 817 | 817 |
| 818 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 818 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 819 final SVGAnimatedBoolean externalResourcesRequired; | 819 final AnimatedBoolean externalResourcesRequired; |
| 820 | 820 |
| 821 // From SVGLangSpace | 821 // From SVGLangSpace |
| 822 | 822 |
| 823 /** @domName SVGLangSpace.xmllang */ | 823 /** @domName SVGLangSpace.xmllang */ |
| 824 String xmllang; | 824 String xmllang; |
| 825 | 825 |
| 826 /** @domName SVGLangSpace.xmlspace */ | 826 /** @domName SVGLangSpace.xmlspace */ |
| 827 String xmlspace; | 827 String xmlspace; |
| 828 | 828 |
| 829 // From SVGLocatable | 829 // From SVGLocatable |
| 830 | 830 |
| 831 /** @domName SVGLocatable.farthestViewportElement */ | 831 /** @domName SVGLocatable.farthestViewportElement */ |
| 832 final SVGElement farthestViewportElement; | 832 final SvgElement farthestViewportElement; |
| 833 | 833 |
| 834 /** @domName SVGLocatable.nearestViewportElement */ | 834 /** @domName SVGLocatable.nearestViewportElement */ |
| 835 final SVGElement nearestViewportElement; | 835 final SvgElement nearestViewportElement; |
| 836 | 836 |
| 837 /** @domName SVGLocatable.getBBox */ | 837 /** @domName SVGLocatable.getBBox */ |
| 838 SVGRect getBBox() native; | 838 Rect getBBox() native; |
| 839 | 839 |
| 840 /** @domName SVGLocatable.getCTM */ | 840 /** @domName SVGLocatable.getCTM */ |
| 841 SVGMatrix getCTM() native; | 841 Matrix getCTM() native; |
| 842 | 842 |
| 843 /** @domName SVGLocatable.getScreenCTM */ | 843 /** @domName SVGLocatable.getScreenCTM */ |
| 844 SVGMatrix getScreenCTM() native; | 844 Matrix getScreenCTM() native; |
| 845 | 845 |
| 846 /** @domName SVGLocatable.getTransformToElement */ | 846 /** @domName SVGLocatable.getTransformToElement */ |
| 847 SVGMatrix getTransformToElement(SVGElement element) native; | 847 Matrix getTransformToElement(SvgElement element) native; |
| 848 | 848 |
| 849 // From SVGStylable | 849 // From SVGStylable |
| 850 | 850 |
| 851 /** @domName SVGStylable.className */ | 851 /** @domName SVGStylable.className */ |
| 852 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 852 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 853 | 853 |
| 854 // Use implementation from Element. | 854 // Use implementation from Element. |
| 855 // final CSSStyleDeclaration style; | 855 // final CSSStyleDeclaration style; |
| 856 | 856 |
| 857 /** @domName SVGStylable.getPresentationAttribute */ | 857 /** @domName SVGStylable.getPresentationAttribute */ |
| 858 CSSValue getPresentationAttribute(String name) native; | 858 CSSValue getPresentationAttribute(String name) native; |
| 859 | 859 |
| 860 // From SVGTests | 860 // From SVGTests |
| 861 | 861 |
| 862 /** @domName SVGTests.requiredExtensions */ | 862 /** @domName SVGTests.requiredExtensions */ |
| 863 final SVGStringList requiredExtensions; | 863 final StringList requiredExtensions; |
| 864 | 864 |
| 865 /** @domName SVGTests.requiredFeatures */ | 865 /** @domName SVGTests.requiredFeatures */ |
| 866 final SVGStringList requiredFeatures; | 866 final StringList requiredFeatures; |
| 867 | 867 |
| 868 /** @domName SVGTests.systemLanguage */ | 868 /** @domName SVGTests.systemLanguage */ |
| 869 final SVGStringList systemLanguage; | 869 final StringList systemLanguage; |
| 870 | 870 |
| 871 /** @domName SVGTests.hasExtension */ | 871 /** @domName SVGTests.hasExtension */ |
| 872 bool hasExtension(String extension) native; | 872 bool hasExtension(String extension) native; |
| 873 | 873 |
| 874 // From SVGTransformable | 874 // From SVGTransformable |
| 875 | 875 |
| 876 /** @domName SVGTransformable.transform */ | 876 /** @domName SVGTransformable.transform */ |
| 877 final SVGAnimatedTransformList transform; | 877 final AnimatedTransformList transform; |
| 878 } | 878 } |
| 879 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 879 // 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 | 880 // 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. | 881 // BSD-style license that can be found in the LICENSE file. |
| 882 | 882 |
| 883 | 883 |
| 884 /// @domName SVGColor | 884 /// @domName SVGColor |
| 885 class SVGColor extends CSSValue native "*SVGColor" { | 885 class Color extends CSSValue native "*SVGColor" { |
| 886 | 886 |
| 887 static const int SVG_COLORTYPE_CURRENTCOLOR = 3; | 887 static const int SVG_COLORTYPE_CURRENTCOLOR = 3; |
| 888 | 888 |
| 889 static const int SVG_COLORTYPE_RGBCOLOR = 1; | 889 static const int SVG_COLORTYPE_RGBCOLOR = 1; |
| 890 | 890 |
| 891 static const int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2; | 891 static const int SVG_COLORTYPE_RGBCOLOR_ICCCOLOR = 2; |
| 892 | 892 |
| 893 static const int SVG_COLORTYPE_UNKNOWN = 0; | 893 static const int SVG_COLORTYPE_UNKNOWN = 0; |
| 894 | 894 |
| 895 /** @domName SVGColor.colorType */ | 895 /** @domName SVGColor.colorType */ |
| (...skipping 10 matching lines...) Expand all Loading... |
| 906 | 906 |
| 907 /** @domName SVGColor.setRGBColorICCColor */ | 907 /** @domName SVGColor.setRGBColorICCColor */ |
| 908 void setRGBColorICCColor(String rgbColor, String iccColor) native; | 908 void setRGBColorICCColor(String rgbColor, String iccColor) native; |
| 909 } | 909 } |
| 910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 911 // for details. All rights reserved. Use of this source code is governed by a | 911 // for details. All rights reserved. Use of this source code is governed by a |
| 912 // BSD-style license that can be found in the LICENSE file. | 912 // BSD-style license that can be found in the LICENSE file. |
| 913 | 913 |
| 914 | 914 |
| 915 /// @domName SVGComponentTransferFunctionElement | 915 /// @domName SVGComponentTransferFunctionElement |
| 916 class SVGComponentTransferFunctionElement extends SVGElement native "*SVGCompone
ntTransferFunctionElement" { | 916 class ComponentTransferFunctionElement extends SvgElement native "*SVGComponentT
ransferFunctionElement" { |
| 917 | 917 |
| 918 static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3; | 918 static const int SVG_FECOMPONENTTRANSFER_TYPE_DISCRETE = 3; |
| 919 | 919 |
| 920 static const int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5; | 920 static const int SVG_FECOMPONENTTRANSFER_TYPE_GAMMA = 5; |
| 921 | 921 |
| 922 static const int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1; | 922 static const int SVG_FECOMPONENTTRANSFER_TYPE_IDENTITY = 1; |
| 923 | 923 |
| 924 static const int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4; | 924 static const int SVG_FECOMPONENTTRANSFER_TYPE_LINEAR = 4; |
| 925 | 925 |
| 926 static const int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2; | 926 static const int SVG_FECOMPONENTTRANSFER_TYPE_TABLE = 2; |
| 927 | 927 |
| 928 static const int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0; | 928 static const int SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0; |
| 929 | 929 |
| 930 /** @domName SVGComponentTransferFunctionElement.amplitude */ | 930 /** @domName SVGComponentTransferFunctionElement.amplitude */ |
| 931 final SVGAnimatedNumber amplitude; | 931 final AnimatedNumber amplitude; |
| 932 | 932 |
| 933 /** @domName SVGComponentTransferFunctionElement.exponent */ | 933 /** @domName SVGComponentTransferFunctionElement.exponent */ |
| 934 final SVGAnimatedNumber exponent; | 934 final AnimatedNumber exponent; |
| 935 | 935 |
| 936 /** @domName SVGComponentTransferFunctionElement.intercept */ | 936 /** @domName SVGComponentTransferFunctionElement.intercept */ |
| 937 final SVGAnimatedNumber intercept; | 937 final AnimatedNumber intercept; |
| 938 | 938 |
| 939 /** @domName SVGComponentTransferFunctionElement.offset */ | 939 /** @domName SVGComponentTransferFunctionElement.offset */ |
| 940 final SVGAnimatedNumber offset; | 940 final AnimatedNumber offset; |
| 941 | 941 |
| 942 /** @domName SVGComponentTransferFunctionElement.slope */ | 942 /** @domName SVGComponentTransferFunctionElement.slope */ |
| 943 final SVGAnimatedNumber slope; | 943 final AnimatedNumber slope; |
| 944 | 944 |
| 945 /** @domName SVGComponentTransferFunctionElement.tableValues */ | 945 /** @domName SVGComponentTransferFunctionElement.tableValues */ |
| 946 final SVGAnimatedNumberList tableValues; | 946 final AnimatedNumberList tableValues; |
| 947 | 947 |
| 948 /** @domName SVGComponentTransferFunctionElement.type */ | 948 /** @domName SVGComponentTransferFunctionElement.type */ |
| 949 final SVGAnimatedEnumeration type; | 949 final AnimatedEnumeration type; |
| 950 } | 950 } |
| 951 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 951 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 952 // for details. All rights reserved. Use of this source code is governed by a | 952 // for details. All rights reserved. Use of this source code is governed by a |
| 953 // BSD-style license that can be found in the LICENSE file. | 953 // BSD-style license that can be found in the LICENSE file. |
| 954 | 954 |
| 955 | 955 |
| 956 /// @domName SVGCursorElement | 956 /// @domName SVGCursorElement |
| 957 class SVGCursorElement extends SVGElement implements SVGURIReference, SVGTests,
SVGExternalResourcesRequired native "*SVGCursorElement" { | 957 class CursorElement extends SvgElement implements UriReference, Tests, ExternalR
esourcesRequired native "*SVGCursorElement" { |
| 958 | 958 |
| 959 factory SVGCursorElement() => _SVGElementFactoryProvider.createSVGElement_tag(
"cursor"); | 959 factory CursorElement() => _SvgElementFactoryProvider.createSvgElement_tag("cu
rsor"); |
| 960 | 960 |
| 961 /** @domName SVGCursorElement.x */ | 961 /** @domName SVGCursorElement.x */ |
| 962 final SVGAnimatedLength x; | 962 final AnimatedLength x; |
| 963 | 963 |
| 964 /** @domName SVGCursorElement.y */ | 964 /** @domName SVGCursorElement.y */ |
| 965 final SVGAnimatedLength y; | 965 final AnimatedLength y; |
| 966 | 966 |
| 967 // From SVGExternalResourcesRequired | 967 // From SVGExternalResourcesRequired |
| 968 | 968 |
| 969 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 969 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 970 final SVGAnimatedBoolean externalResourcesRequired; | 970 final AnimatedBoolean externalResourcesRequired; |
| 971 | 971 |
| 972 // From SVGTests | 972 // From SVGTests |
| 973 | 973 |
| 974 /** @domName SVGTests.requiredExtensions */ | 974 /** @domName SVGTests.requiredExtensions */ |
| 975 final SVGStringList requiredExtensions; | 975 final StringList requiredExtensions; |
| 976 | 976 |
| 977 /** @domName SVGTests.requiredFeatures */ | 977 /** @domName SVGTests.requiredFeatures */ |
| 978 final SVGStringList requiredFeatures; | 978 final StringList requiredFeatures; |
| 979 | 979 |
| 980 /** @domName SVGTests.systemLanguage */ | 980 /** @domName SVGTests.systemLanguage */ |
| 981 final SVGStringList systemLanguage; | 981 final StringList systemLanguage; |
| 982 | 982 |
| 983 /** @domName SVGTests.hasExtension */ | 983 /** @domName SVGTests.hasExtension */ |
| 984 bool hasExtension(String extension) native; | 984 bool hasExtension(String extension) native; |
| 985 | 985 |
| 986 // From SVGURIReference | 986 // From SVGURIReference |
| 987 | 987 |
| 988 /** @domName SVGURIReference.href */ | 988 /** @domName SVGURIReference.href */ |
| 989 final SVGAnimatedString href; | 989 final AnimatedString href; |
| 990 } | 990 } |
| 991 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 991 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 992 // for details. All rights reserved. Use of this source code is governed by a | 992 // for details. All rights reserved. Use of this source code is governed by a |
| 993 // BSD-style license that can be found in the LICENSE file. | 993 // BSD-style license that can be found in the LICENSE file. |
| 994 | 994 |
| 995 | 995 |
| 996 /// @domName SVGDefsElement | 996 /// @domName SVGDefsElement |
| 997 class SVGDefsElement extends SVGElement implements SVGLangSpace, SVGStylable, SV
GTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGDefsElement"
{ | 997 class DefsElement extends SvgElement implements Transformable, Tests, Stylable,
ExternalResourcesRequired, LangSpace native "*SVGDefsElement" { |
| 998 | 998 |
| 999 factory SVGDefsElement() => _SVGElementFactoryProvider.createSVGElement_tag("d
efs"); | 999 factory DefsElement() => _SvgElementFactoryProvider.createSvgElement_tag("defs
"); |
| 1000 | 1000 |
| 1001 // From SVGExternalResourcesRequired | 1001 // From SVGExternalResourcesRequired |
| 1002 | 1002 |
| 1003 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 1003 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 1004 final SVGAnimatedBoolean externalResourcesRequired; | 1004 final AnimatedBoolean externalResourcesRequired; |
| 1005 | 1005 |
| 1006 // From SVGLangSpace | 1006 // From SVGLangSpace |
| 1007 | 1007 |
| 1008 /** @domName SVGLangSpace.xmllang */ | 1008 /** @domName SVGLangSpace.xmllang */ |
| 1009 String xmllang; | 1009 String xmllang; |
| 1010 | 1010 |
| 1011 /** @domName SVGLangSpace.xmlspace */ | 1011 /** @domName SVGLangSpace.xmlspace */ |
| 1012 String xmlspace; | 1012 String xmlspace; |
| 1013 | 1013 |
| 1014 // From SVGLocatable | 1014 // From SVGLocatable |
| 1015 | 1015 |
| 1016 /** @domName SVGLocatable.farthestViewportElement */ | 1016 /** @domName SVGLocatable.farthestViewportElement */ |
| 1017 final SVGElement farthestViewportElement; | 1017 final SvgElement farthestViewportElement; |
| 1018 | 1018 |
| 1019 /** @domName SVGLocatable.nearestViewportElement */ | 1019 /** @domName SVGLocatable.nearestViewportElement */ |
| 1020 final SVGElement nearestViewportElement; | 1020 final SvgElement nearestViewportElement; |
| 1021 | 1021 |
| 1022 /** @domName SVGLocatable.getBBox */ | 1022 /** @domName SVGLocatable.getBBox */ |
| 1023 SVGRect getBBox() native; | 1023 Rect getBBox() native; |
| 1024 | 1024 |
| 1025 /** @domName SVGLocatable.getCTM */ | 1025 /** @domName SVGLocatable.getCTM */ |
| 1026 SVGMatrix getCTM() native; | 1026 Matrix getCTM() native; |
| 1027 | 1027 |
| 1028 /** @domName SVGLocatable.getScreenCTM */ | 1028 /** @domName SVGLocatable.getScreenCTM */ |
| 1029 SVGMatrix getScreenCTM() native; | 1029 Matrix getScreenCTM() native; |
| 1030 | 1030 |
| 1031 /** @domName SVGLocatable.getTransformToElement */ | 1031 /** @domName SVGLocatable.getTransformToElement */ |
| 1032 SVGMatrix getTransformToElement(SVGElement element) native; | 1032 Matrix getTransformToElement(SvgElement element) native; |
| 1033 | 1033 |
| 1034 // From SVGStylable | 1034 // From SVGStylable |
| 1035 | 1035 |
| 1036 /** @domName SVGStylable.className */ | 1036 /** @domName SVGStylable.className */ |
| 1037 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 1037 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 1038 | 1038 |
| 1039 // Use implementation from Element. | 1039 // Use implementation from Element. |
| 1040 // final CSSStyleDeclaration style; | 1040 // final CSSStyleDeclaration style; |
| 1041 | 1041 |
| 1042 /** @domName SVGStylable.getPresentationAttribute */ | 1042 /** @domName SVGStylable.getPresentationAttribute */ |
| 1043 CSSValue getPresentationAttribute(String name) native; | 1043 CSSValue getPresentationAttribute(String name) native; |
| 1044 | 1044 |
| 1045 // From SVGTests | 1045 // From SVGTests |
| 1046 | 1046 |
| 1047 /** @domName SVGTests.requiredExtensions */ | 1047 /** @domName SVGTests.requiredExtensions */ |
| 1048 final SVGStringList requiredExtensions; | 1048 final StringList requiredExtensions; |
| 1049 | 1049 |
| 1050 /** @domName SVGTests.requiredFeatures */ | 1050 /** @domName SVGTests.requiredFeatures */ |
| 1051 final SVGStringList requiredFeatures; | 1051 final StringList requiredFeatures; |
| 1052 | 1052 |
| 1053 /** @domName SVGTests.systemLanguage */ | 1053 /** @domName SVGTests.systemLanguage */ |
| 1054 final SVGStringList systemLanguage; | 1054 final StringList systemLanguage; |
| 1055 | 1055 |
| 1056 /** @domName SVGTests.hasExtension */ | 1056 /** @domName SVGTests.hasExtension */ |
| 1057 bool hasExtension(String extension) native; | 1057 bool hasExtension(String extension) native; |
| 1058 | 1058 |
| 1059 // From SVGTransformable | 1059 // From SVGTransformable |
| 1060 | 1060 |
| 1061 /** @domName SVGTransformable.transform */ | 1061 /** @domName SVGTransformable.transform */ |
| 1062 final SVGAnimatedTransformList transform; | 1062 final AnimatedTransformList transform; |
| 1063 } | 1063 } |
| 1064 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1064 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1065 // for details. All rights reserved. Use of this source code is governed by a | 1065 // for details. All rights reserved. Use of this source code is governed by a |
| 1066 // BSD-style license that can be found in the LICENSE file. | 1066 // BSD-style license that can be found in the LICENSE file. |
| 1067 | 1067 |
| 1068 | 1068 |
| 1069 /// @domName SVGDescElement | 1069 /// @domName SVGDescElement |
| 1070 class SVGDescElement extends SVGElement implements SVGLangSpace, SVGStylable nat
ive "*SVGDescElement" { | 1070 class DescElement extends SvgElement implements Stylable, LangSpace native "*SVG
DescElement" { |
| 1071 | 1071 |
| 1072 factory SVGDescElement() => _SVGElementFactoryProvider.createSVGElement_tag("d
esc"); | 1072 factory DescElement() => _SvgElementFactoryProvider.createSvgElement_tag("desc
"); |
| 1073 | 1073 |
| 1074 // From SVGLangSpace | 1074 // From SVGLangSpace |
| 1075 | 1075 |
| 1076 /** @domName SVGLangSpace.xmllang */ | 1076 /** @domName SVGLangSpace.xmllang */ |
| 1077 String xmllang; | 1077 String xmllang; |
| 1078 | 1078 |
| 1079 /** @domName SVGLangSpace.xmlspace */ | 1079 /** @domName SVGLangSpace.xmlspace */ |
| 1080 String xmlspace; | 1080 String xmlspace; |
| 1081 | 1081 |
| 1082 // From SVGStylable | 1082 // From SVGStylable |
| 1083 | 1083 |
| 1084 /** @domName SVGStylable.className */ | 1084 /** @domName SVGStylable.className */ |
| 1085 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 1085 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 1086 | 1086 |
| 1087 // Use implementation from Element. | 1087 // Use implementation from Element. |
| 1088 // final CSSStyleDeclaration style; | 1088 // final CSSStyleDeclaration style; |
| 1089 | 1089 |
| 1090 /** @domName SVGStylable.getPresentationAttribute */ | 1090 /** @domName SVGStylable.getPresentationAttribute */ |
| 1091 CSSValue getPresentationAttribute(String name) native; | 1091 CSSValue getPresentationAttribute(String name) native; |
| 1092 } | 1092 } |
| 1093 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1093 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1094 // for details. All rights reserved. Use of this source code is governed by a | 1094 // for details. All rights reserved. Use of this source code is governed by a |
| 1095 // BSD-style license that can be found in the LICENSE file. | 1095 // BSD-style license that can be found in the LICENSE file. |
| 1096 | 1096 |
| 1097 | 1097 |
| 1098 /// @domName SVGDocument | |
| 1099 class SVGDocument extends Document native "*SVGDocument" { | |
| 1100 | |
| 1101 /** @domName SVGDocument.rootElement */ | |
| 1102 final SVGSVGElement rootElement; | |
| 1103 | |
| 1104 /** @domName SVGDocument.createEvent */ | |
| 1105 Event $dom_createEvent(String eventType) native "createEvent"; | |
| 1106 } | |
| 1107 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
| 1108 // for details. All rights reserved. Use of this source code is governed by a | |
| 1109 // BSD-style license that can be found in the LICENSE file. | |
| 1110 | |
| 1111 | |
| 1112 class _AttributeClassSet extends CssClassSet { | |
| 1113 final Element _element; | |
| 1114 | |
| 1115 _AttributeClassSet(this._element); | |
| 1116 | |
| 1117 Set<String> readClasses() { | |
| 1118 var classname = _element.attributes['class']; | |
| 1119 | |
| 1120 Set<String> s = new Set<String>(); | |
| 1121 if (classname == null) { | |
| 1122 return s; | |
| 1123 } | |
| 1124 for (String name in classname.split(' ')) { | |
| 1125 String trimmed = name.trim(); | |
| 1126 if (!trimmed.isEmpty) { | |
| 1127 s.add(trimmed); | |
| 1128 } | |
| 1129 } | |
| 1130 return s; | |
| 1131 } | |
| 1132 | |
| 1133 void writeClasses(Set s) { | |
| 1134 List list = new List.from(s); | |
| 1135 _element.attributes['class'] = Strings.join(list, ' '); | |
| 1136 } | |
| 1137 } | |
| 1138 | |
| 1139 class SVGElement extends Element native "*SVGElement" { | |
| 1140 factory SVGElement.tag(String tag) => | |
| 1141 _SVGElementFactoryProvider.createSVGElement_tag(tag); | |
| 1142 factory SVGElement.svg(String svg) => | |
| 1143 _SVGElementFactoryProvider.createSVGElement_svg(svg); | |
| 1144 | |
| 1145 _AttributeClassSet _cssClassSet; | |
| 1146 CssClassSet get classes { | |
| 1147 if (_cssClassSet == null) { | |
| 1148 _cssClassSet = new _AttributeClassSet(this); | |
| 1149 } | |
| 1150 return _cssClassSet; | |
| 1151 } | |
| 1152 | |
| 1153 List<Element> get elements => new FilteredElementList(this); | |
| 1154 | |
| 1155 void set elements(Collection<Element> value) { | |
| 1156 final elements = this.elements; | |
| 1157 elements.clear(); | |
| 1158 elements.addAll(value); | |
| 1159 } | |
| 1160 | |
| 1161 String get outerHTML { | |
| 1162 final container = new Element.tag("div"); | |
| 1163 final SVGElement cloned = this.clone(true); | |
| 1164 container.elements.add(cloned); | |
| 1165 return container.innerHTML; | |
| 1166 } | |
| 1167 | |
| 1168 String get innerHTML { | |
| 1169 final container = new Element.tag("div"); | |
| 1170 final SVGElement cloned = this.clone(true); | |
| 1171 container.elements.addAll(cloned.elements); | |
| 1172 return container.innerHTML; | |
| 1173 } | |
| 1174 | |
| 1175 void set innerHTML(String svg) { | |
| 1176 final container = new Element.tag("div"); | |
| 1177 // Wrap the SVG string in <svg> so that SVGElements are created, rather than | |
| 1178 // HTMLElements. | |
| 1179 container.innerHTML = '<svg version="1.1">$svg</svg>'; | |
| 1180 this.elements = container.elements[0].elements; | |
| 1181 } | |
| 1182 | |
| 1183 | |
| 1184 // Shadowing definition. | |
| 1185 /** @domName SVGElement.id */ | |
| 1186 String get id => JS("String", "#.id", this); | |
| 1187 | |
| 1188 /** @domName SVGElement.id */ | |
| 1189 void set id(String value) { | |
| 1190 JS("void", "#.id = #", this, value); | |
| 1191 } | |
| 1192 | |
| 1193 /** @domName SVGElement.ownerSVGElement */ | |
| 1194 final SVGSVGElement ownerSVGElement; | |
| 1195 | |
| 1196 /** @domName SVGElement.viewportElement */ | |
| 1197 final SVGElement viewportElement; | |
| 1198 | |
| 1199 /** @domName SVGElement.xmlbase */ | |
| 1200 String xmlbase; | |
| 1201 | |
| 1202 } | |
| 1203 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 1204 // for details. All rights reserved. Use of this source code is governed by a | |
| 1205 // BSD-style license that can be found in the LICENSE file. | |
| 1206 | |
| 1207 | |
| 1208 /// @domName SVGElementInstance | 1098 /// @domName SVGElementInstance |
| 1209 class SVGElementInstance extends EventTarget native "*SVGElementInstance" { | 1099 class ElementInstance extends EventTarget native "*SVGElementInstance" { |
| 1210 | 1100 |
| 1211 /** | 1101 /** |
| 1212 * @domName EventTarget.addEventListener, EventTarget.removeEventListener, Eve
ntTarget.dispatchEvent | 1102 * @domName EventTarget.addEventListener, EventTarget.removeEventListener, Eve
ntTarget.dispatchEvent |
| 1213 */ | 1103 */ |
| 1214 SVGElementInstanceEvents get on => | 1104 ElementInstanceEvents get on => |
| 1215 new SVGElementInstanceEvents(this); | 1105 new ElementInstanceEvents(this); |
| 1216 | 1106 |
| 1217 /** @domName SVGElementInstance.childNodes */ | 1107 /** @domName SVGElementInstance.childNodes */ |
| 1218 final List<SVGElementInstance> childNodes; | 1108 final List<ElementInstance> childNodes; |
| 1219 | 1109 |
| 1220 /** @domName SVGElementInstance.correspondingElement */ | 1110 /** @domName SVGElementInstance.correspondingElement */ |
| 1221 final SVGElement correspondingElement; | 1111 final SvgElement correspondingElement; |
| 1222 | 1112 |
| 1223 /** @domName SVGElementInstance.correspondingUseElement */ | 1113 /** @domName SVGElementInstance.correspondingUseElement */ |
| 1224 final SVGUseElement correspondingUseElement; | 1114 final UseElement correspondingUseElement; |
| 1225 | 1115 |
| 1226 /** @domName SVGElementInstance.firstChild */ | 1116 /** @domName SVGElementInstance.firstChild */ |
| 1227 final SVGElementInstance firstChild; | 1117 final ElementInstance firstChild; |
| 1228 | 1118 |
| 1229 /** @domName SVGElementInstance.lastChild */ | 1119 /** @domName SVGElementInstance.lastChild */ |
| 1230 final SVGElementInstance lastChild; | 1120 final ElementInstance lastChild; |
| 1231 | 1121 |
| 1232 /** @domName SVGElementInstance.nextSibling */ | 1122 /** @domName SVGElementInstance.nextSibling */ |
| 1233 final SVGElementInstance nextSibling; | 1123 final ElementInstance nextSibling; |
| 1234 | 1124 |
| 1235 /** @domName SVGElementInstance.parentNode */ | 1125 /** @domName SVGElementInstance.parentNode */ |
| 1236 final SVGElementInstance parentNode; | 1126 final ElementInstance parentNode; |
| 1237 | 1127 |
| 1238 /** @domName SVGElementInstance.previousSibling */ | 1128 /** @domName SVGElementInstance.previousSibling */ |
| 1239 final SVGElementInstance previousSibling; | 1129 final ElementInstance previousSibling; |
| 1240 } | 1130 } |
| 1241 | 1131 |
| 1242 class SVGElementInstanceEvents extends Events { | 1132 class ElementInstanceEvents extends Events { |
| 1243 SVGElementInstanceEvents(EventTarget _ptr) : super(_ptr); | 1133 ElementInstanceEvents(EventTarget _ptr) : super(_ptr); |
| 1244 | 1134 |
| 1245 EventListenerList get abort => this['abort']; | 1135 EventListenerList get abort => this['abort']; |
| 1246 | 1136 |
| 1247 EventListenerList get beforeCopy => this['beforecopy']; | 1137 EventListenerList get beforeCopy => this['beforecopy']; |
| 1248 | 1138 |
| 1249 EventListenerList get beforeCut => this['beforecut']; | 1139 EventListenerList get beforeCut => this['beforecut']; |
| 1250 | 1140 |
| 1251 EventListenerList get beforePaste => this['beforepaste']; | 1141 EventListenerList get beforePaste => this['beforepaste']; |
| 1252 | 1142 |
| 1253 EventListenerList get blur => this['blur']; | 1143 EventListenerList get blur => this['blur']; |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1321 EventListenerList get submit => this['submit']; | 1211 EventListenerList get submit => this['submit']; |
| 1322 | 1212 |
| 1323 EventListenerList get unload => this['unload']; | 1213 EventListenerList get unload => this['unload']; |
| 1324 } | 1214 } |
| 1325 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1215 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1326 // for details. All rights reserved. Use of this source code is governed by a | 1216 // for details. All rights reserved. Use of this source code is governed by a |
| 1327 // BSD-style license that can be found in the LICENSE file. | 1217 // BSD-style license that can be found in the LICENSE file. |
| 1328 | 1218 |
| 1329 | 1219 |
| 1330 /// @domName SVGEllipseElement | 1220 /// @domName SVGEllipseElement |
| 1331 class SVGEllipseElement extends SVGElement implements SVGLangSpace, SVGStylable,
SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGEllipseEle
ment" { | 1221 class EllipseElement extends SvgElement implements Transformable, Tests, Stylabl
e, ExternalResourcesRequired, LangSpace native "*SVGEllipseElement" { |
| 1332 | 1222 |
| 1333 factory SVGEllipseElement() => _SVGElementFactoryProvider.createSVGElement_tag
("ellipse"); | 1223 factory EllipseElement() => _SvgElementFactoryProvider.createSvgElement_tag("e
llipse"); |
| 1334 | 1224 |
| 1335 /** @domName SVGEllipseElement.cx */ | 1225 /** @domName SVGEllipseElement.cx */ |
| 1336 final SVGAnimatedLength cx; | 1226 final AnimatedLength cx; |
| 1337 | 1227 |
| 1338 /** @domName SVGEllipseElement.cy */ | 1228 /** @domName SVGEllipseElement.cy */ |
| 1339 final SVGAnimatedLength cy; | 1229 final AnimatedLength cy; |
| 1340 | 1230 |
| 1341 /** @domName SVGEllipseElement.rx */ | 1231 /** @domName SVGEllipseElement.rx */ |
| 1342 final SVGAnimatedLength rx; | 1232 final AnimatedLength rx; |
| 1343 | 1233 |
| 1344 /** @domName SVGEllipseElement.ry */ | 1234 /** @domName SVGEllipseElement.ry */ |
| 1345 final SVGAnimatedLength ry; | 1235 final AnimatedLength ry; |
| 1346 | 1236 |
| 1347 // From SVGExternalResourcesRequired | 1237 // From SVGExternalResourcesRequired |
| 1348 | 1238 |
| 1349 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 1239 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 1350 final SVGAnimatedBoolean externalResourcesRequired; | 1240 final AnimatedBoolean externalResourcesRequired; |
| 1351 | 1241 |
| 1352 // From SVGLangSpace | 1242 // From SVGLangSpace |
| 1353 | 1243 |
| 1354 /** @domName SVGLangSpace.xmllang */ | 1244 /** @domName SVGLangSpace.xmllang */ |
| 1355 String xmllang; | 1245 String xmllang; |
| 1356 | 1246 |
| 1357 /** @domName SVGLangSpace.xmlspace */ | 1247 /** @domName SVGLangSpace.xmlspace */ |
| 1358 String xmlspace; | 1248 String xmlspace; |
| 1359 | 1249 |
| 1360 // From SVGLocatable | 1250 // From SVGLocatable |
| 1361 | 1251 |
| 1362 /** @domName SVGLocatable.farthestViewportElement */ | 1252 /** @domName SVGLocatable.farthestViewportElement */ |
| 1363 final SVGElement farthestViewportElement; | 1253 final SvgElement farthestViewportElement; |
| 1364 | 1254 |
| 1365 /** @domName SVGLocatable.nearestViewportElement */ | 1255 /** @domName SVGLocatable.nearestViewportElement */ |
| 1366 final SVGElement nearestViewportElement; | 1256 final SvgElement nearestViewportElement; |
| 1367 | 1257 |
| 1368 /** @domName SVGLocatable.getBBox */ | 1258 /** @domName SVGLocatable.getBBox */ |
| 1369 SVGRect getBBox() native; | 1259 Rect getBBox() native; |
| 1370 | 1260 |
| 1371 /** @domName SVGLocatable.getCTM */ | 1261 /** @domName SVGLocatable.getCTM */ |
| 1372 SVGMatrix getCTM() native; | 1262 Matrix getCTM() native; |
| 1373 | 1263 |
| 1374 /** @domName SVGLocatable.getScreenCTM */ | 1264 /** @domName SVGLocatable.getScreenCTM */ |
| 1375 SVGMatrix getScreenCTM() native; | 1265 Matrix getScreenCTM() native; |
| 1376 | 1266 |
| 1377 /** @domName SVGLocatable.getTransformToElement */ | 1267 /** @domName SVGLocatable.getTransformToElement */ |
| 1378 SVGMatrix getTransformToElement(SVGElement element) native; | 1268 Matrix getTransformToElement(SvgElement element) native; |
| 1379 | 1269 |
| 1380 // From SVGStylable | 1270 // From SVGStylable |
| 1381 | 1271 |
| 1382 /** @domName SVGStylable.className */ | 1272 /** @domName SVGStylable.className */ |
| 1383 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 1273 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 1384 | 1274 |
| 1385 // Use implementation from Element. | 1275 // Use implementation from Element. |
| 1386 // final CSSStyleDeclaration style; | 1276 // final CSSStyleDeclaration style; |
| 1387 | 1277 |
| 1388 /** @domName SVGStylable.getPresentationAttribute */ | 1278 /** @domName SVGStylable.getPresentationAttribute */ |
| 1389 CSSValue getPresentationAttribute(String name) native; | 1279 CSSValue getPresentationAttribute(String name) native; |
| 1390 | 1280 |
| 1391 // From SVGTests | 1281 // From SVGTests |
| 1392 | 1282 |
| 1393 /** @domName SVGTests.requiredExtensions */ | 1283 /** @domName SVGTests.requiredExtensions */ |
| 1394 final SVGStringList requiredExtensions; | 1284 final StringList requiredExtensions; |
| 1395 | 1285 |
| 1396 /** @domName SVGTests.requiredFeatures */ | 1286 /** @domName SVGTests.requiredFeatures */ |
| 1397 final SVGStringList requiredFeatures; | 1287 final StringList requiredFeatures; |
| 1398 | 1288 |
| 1399 /** @domName SVGTests.systemLanguage */ | 1289 /** @domName SVGTests.systemLanguage */ |
| 1400 final SVGStringList systemLanguage; | 1290 final StringList systemLanguage; |
| 1401 | 1291 |
| 1402 /** @domName SVGTests.hasExtension */ | 1292 /** @domName SVGTests.hasExtension */ |
| 1403 bool hasExtension(String extension) native; | 1293 bool hasExtension(String extension) native; |
| 1404 | 1294 |
| 1405 // From SVGTransformable | 1295 // From SVGTransformable |
| 1406 | 1296 |
| 1407 /** @domName SVGTransformable.transform */ | 1297 /** @domName SVGTransformable.transform */ |
| 1408 final SVGAnimatedTransformList transform; | 1298 final AnimatedTransformList transform; |
| 1409 } | 1299 } |
| 1410 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1300 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1411 // for details. All rights reserved. Use of this source code is governed by a | 1301 // for details. All rights reserved. Use of this source code is governed by a |
| 1412 // BSD-style license that can be found in the LICENSE file. | 1302 // BSD-style license that can be found in the LICENSE file. |
| 1413 | 1303 |
| 1414 | 1304 |
| 1415 /// @domName SVGException | 1305 /// @domName SVGException |
| 1416 class SVGException native "*SVGException" { | 1306 class Exception native "*SVGException" { |
| 1417 | 1307 |
| 1418 static const int SVG_INVALID_VALUE_ERR = 1; | 1308 static const int SVG_INVALID_VALUE_ERR = 1; |
| 1419 | 1309 |
| 1420 static const int SVG_MATRIX_NOT_INVERTABLE = 2; | 1310 static const int SVG_MATRIX_NOT_INVERTABLE = 2; |
| 1421 | 1311 |
| 1422 static const int SVG_WRONG_TYPE_ERR = 0; | 1312 static const int SVG_WRONG_TYPE_ERR = 0; |
| 1423 | 1313 |
| 1424 /** @domName SVGException.code */ | 1314 /** @domName SVGException.code */ |
| 1425 final int code; | 1315 final int code; |
| 1426 | 1316 |
| 1427 /** @domName SVGException.message */ | 1317 /** @domName SVGException.message */ |
| 1428 final String message; | 1318 final String message; |
| 1429 | 1319 |
| 1430 /** @domName SVGException.name */ | 1320 /** @domName SVGException.name */ |
| 1431 final String name; | 1321 final String name; |
| 1432 | 1322 |
| 1433 /** @domName SVGException.toString */ | 1323 /** @domName SVGException.toString */ |
| 1434 String toString() native; | 1324 String toString() native; |
| 1435 } | 1325 } |
| 1436 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1326 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1437 // for details. All rights reserved. Use of this source code is governed by a | 1327 // for details. All rights reserved. Use of this source code is governed by a |
| 1438 // BSD-style license that can be found in the LICENSE file. | 1328 // BSD-style license that can be found in the LICENSE file. |
| 1439 | 1329 |
| 1440 | 1330 |
| 1441 /// @domName SVGExternalResourcesRequired | 1331 /// @domName SVGExternalResourcesRequired |
| 1442 abstract class SVGExternalResourcesRequired { | 1332 abstract class ExternalResourcesRequired { |
| 1443 | 1333 |
| 1444 SVGAnimatedBoolean externalResourcesRequired; | 1334 AnimatedBoolean externalResourcesRequired; |
| 1445 } | 1335 } |
| 1446 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1336 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1447 // for details. All rights reserved. Use of this source code is governed by a | 1337 // for details. All rights reserved. Use of this source code is governed by a |
| 1448 // BSD-style license that can be found in the LICENSE file. | 1338 // BSD-style license that can be found in the LICENSE file. |
| 1449 | 1339 |
| 1450 | 1340 |
| 1451 /// @domName SVGFEBlendElement | 1341 /// @domName SVGFEBlendElement |
| 1452 class SVGFEBlendElement extends SVGElement implements SVGFilterPrimitiveStandard
Attributes native "*SVGFEBlendElement" { | 1342 class FEBlendElement extends SvgElement implements FilterPrimitiveStandardAttrib
utes native "*SVGFEBlendElement" { |
| 1453 | 1343 |
| 1454 static const int SVG_FEBLEND_MODE_DARKEN = 4; | 1344 static const int SVG_FEBLEND_MODE_DARKEN = 4; |
| 1455 | 1345 |
| 1456 static const int SVG_FEBLEND_MODE_LIGHTEN = 5; | 1346 static const int SVG_FEBLEND_MODE_LIGHTEN = 5; |
| 1457 | 1347 |
| 1458 static const int SVG_FEBLEND_MODE_MULTIPLY = 2; | 1348 static const int SVG_FEBLEND_MODE_MULTIPLY = 2; |
| 1459 | 1349 |
| 1460 static const int SVG_FEBLEND_MODE_NORMAL = 1; | 1350 static const int SVG_FEBLEND_MODE_NORMAL = 1; |
| 1461 | 1351 |
| 1462 static const int SVG_FEBLEND_MODE_SCREEN = 3; | 1352 static const int SVG_FEBLEND_MODE_SCREEN = 3; |
| 1463 | 1353 |
| 1464 static const int SVG_FEBLEND_MODE_UNKNOWN = 0; | 1354 static const int SVG_FEBLEND_MODE_UNKNOWN = 0; |
| 1465 | 1355 |
| 1466 /** @domName SVGFEBlendElement.in1 */ | 1356 /** @domName SVGFEBlendElement.in1 */ |
| 1467 final SVGAnimatedString in1; | 1357 final AnimatedString in1; |
| 1468 | 1358 |
| 1469 /** @domName SVGFEBlendElement.in2 */ | 1359 /** @domName SVGFEBlendElement.in2 */ |
| 1470 final SVGAnimatedString in2; | 1360 final AnimatedString in2; |
| 1471 | 1361 |
| 1472 /** @domName SVGFEBlendElement.mode */ | 1362 /** @domName SVGFEBlendElement.mode */ |
| 1473 final SVGAnimatedEnumeration mode; | 1363 final AnimatedEnumeration mode; |
| 1474 | 1364 |
| 1475 // From SVGFilterPrimitiveStandardAttributes | 1365 // From SVGFilterPrimitiveStandardAttributes |
| 1476 | 1366 |
| 1477 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 1367 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 1478 final SVGAnimatedLength height; | 1368 final AnimatedLength height; |
| 1479 | 1369 |
| 1480 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 1370 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 1481 final SVGAnimatedString result; | 1371 final AnimatedString result; |
| 1482 | 1372 |
| 1483 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 1373 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 1484 final SVGAnimatedLength width; | 1374 final AnimatedLength width; |
| 1485 | 1375 |
| 1486 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 1376 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 1487 final SVGAnimatedLength x; | 1377 final AnimatedLength x; |
| 1488 | 1378 |
| 1489 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 1379 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 1490 final SVGAnimatedLength y; | 1380 final AnimatedLength y; |
| 1491 | 1381 |
| 1492 // From SVGStylable | 1382 // From SVGStylable |
| 1493 | 1383 |
| 1494 /** @domName SVGStylable.className */ | 1384 /** @domName SVGStylable.className */ |
| 1495 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 1385 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 1496 | 1386 |
| 1497 // Use implementation from Element. | 1387 // Use implementation from Element. |
| 1498 // final CSSStyleDeclaration style; | 1388 // final CSSStyleDeclaration style; |
| 1499 | 1389 |
| 1500 /** @domName SVGStylable.getPresentationAttribute */ | 1390 /** @domName SVGStylable.getPresentationAttribute */ |
| 1501 CSSValue getPresentationAttribute(String name) native; | 1391 CSSValue getPresentationAttribute(String name) native; |
| 1502 } | 1392 } |
| 1503 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1393 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1504 // for details. All rights reserved. Use of this source code is governed by a | 1394 // for details. All rights reserved. Use of this source code is governed by a |
| 1505 // BSD-style license that can be found in the LICENSE file. | 1395 // BSD-style license that can be found in the LICENSE file. |
| 1506 | 1396 |
| 1507 | 1397 |
| 1508 /// @domName SVGFEColorMatrixElement | 1398 /// @domName SVGFEColorMatrixElement |
| 1509 class SVGFEColorMatrixElement extends SVGElement implements SVGFilterPrimitiveSt
andardAttributes native "*SVGFEColorMatrixElement" { | 1399 class FEColorMatrixElement extends SvgElement implements FilterPrimitiveStandard
Attributes native "*SVGFEColorMatrixElement" { |
| 1510 | 1400 |
| 1511 static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3; | 1401 static const int SVG_FECOLORMATRIX_TYPE_HUEROTATE = 3; |
| 1512 | 1402 |
| 1513 static const int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4; | 1403 static const int SVG_FECOLORMATRIX_TYPE_LUMINANCETOALPHA = 4; |
| 1514 | 1404 |
| 1515 static const int SVG_FECOLORMATRIX_TYPE_MATRIX = 1; | 1405 static const int SVG_FECOLORMATRIX_TYPE_MATRIX = 1; |
| 1516 | 1406 |
| 1517 static const int SVG_FECOLORMATRIX_TYPE_SATURATE = 2; | 1407 static const int SVG_FECOLORMATRIX_TYPE_SATURATE = 2; |
| 1518 | 1408 |
| 1519 static const int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0; | 1409 static const int SVG_FECOLORMATRIX_TYPE_UNKNOWN = 0; |
| 1520 | 1410 |
| 1521 /** @domName SVGFEColorMatrixElement.in1 */ | 1411 /** @domName SVGFEColorMatrixElement.in1 */ |
| 1522 final SVGAnimatedString in1; | 1412 final AnimatedString in1; |
| 1523 | 1413 |
| 1524 /** @domName SVGFEColorMatrixElement.type */ | 1414 /** @domName SVGFEColorMatrixElement.type */ |
| 1525 final SVGAnimatedEnumeration type; | 1415 final AnimatedEnumeration type; |
| 1526 | 1416 |
| 1527 /** @domName SVGFEColorMatrixElement.values */ | 1417 /** @domName SVGFEColorMatrixElement.values */ |
| 1528 final SVGAnimatedNumberList values; | 1418 final AnimatedNumberList values; |
| 1529 | 1419 |
| 1530 // From SVGFilterPrimitiveStandardAttributes | 1420 // From SVGFilterPrimitiveStandardAttributes |
| 1531 | 1421 |
| 1532 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 1422 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 1533 final SVGAnimatedLength height; | 1423 final AnimatedLength height; |
| 1534 | 1424 |
| 1535 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 1425 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 1536 final SVGAnimatedString result; | 1426 final AnimatedString result; |
| 1537 | 1427 |
| 1538 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 1428 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 1539 final SVGAnimatedLength width; | 1429 final AnimatedLength width; |
| 1540 | 1430 |
| 1541 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 1431 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 1542 final SVGAnimatedLength x; | 1432 final AnimatedLength x; |
| 1543 | 1433 |
| 1544 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 1434 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 1545 final SVGAnimatedLength y; | 1435 final AnimatedLength y; |
| 1546 | 1436 |
| 1547 // From SVGStylable | 1437 // From SVGStylable |
| 1548 | 1438 |
| 1549 /** @domName SVGStylable.className */ | 1439 /** @domName SVGStylable.className */ |
| 1550 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 1440 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 1551 | 1441 |
| 1552 // Use implementation from Element. | 1442 // Use implementation from Element. |
| 1553 // final CSSStyleDeclaration style; | 1443 // final CSSStyleDeclaration style; |
| 1554 | 1444 |
| 1555 /** @domName SVGStylable.getPresentationAttribute */ | 1445 /** @domName SVGStylable.getPresentationAttribute */ |
| 1556 CSSValue getPresentationAttribute(String name) native; | 1446 CSSValue getPresentationAttribute(String name) native; |
| 1557 } | 1447 } |
| 1558 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1448 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1559 // for details. All rights reserved. Use of this source code is governed by a | 1449 // for details. All rights reserved. Use of this source code is governed by a |
| 1560 // BSD-style license that can be found in the LICENSE file. | 1450 // BSD-style license that can be found in the LICENSE file. |
| 1561 | 1451 |
| 1562 | 1452 |
| 1563 /// @domName SVGFEComponentTransferElement | 1453 /// @domName SVGFEComponentTransferElement |
| 1564 class SVGFEComponentTransferElement extends SVGElement implements SVGFilterPrimi
tiveStandardAttributes native "*SVGFEComponentTransferElement" { | 1454 class FEComponentTransferElement extends SvgElement implements FilterPrimitiveSt
andardAttributes native "*SVGFEComponentTransferElement" { |
| 1565 | 1455 |
| 1566 /** @domName SVGFEComponentTransferElement.in1 */ | 1456 /** @domName SVGFEComponentTransferElement.in1 */ |
| 1567 final SVGAnimatedString in1; | 1457 final AnimatedString in1; |
| 1568 | 1458 |
| 1569 // From SVGFilterPrimitiveStandardAttributes | 1459 // From SVGFilterPrimitiveStandardAttributes |
| 1570 | 1460 |
| 1571 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 1461 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 1572 final SVGAnimatedLength height; | 1462 final AnimatedLength height; |
| 1573 | 1463 |
| 1574 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 1464 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 1575 final SVGAnimatedString result; | 1465 final AnimatedString result; |
| 1576 | 1466 |
| 1577 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 1467 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 1578 final SVGAnimatedLength width; | 1468 final AnimatedLength width; |
| 1579 | 1469 |
| 1580 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 1470 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 1581 final SVGAnimatedLength x; | 1471 final AnimatedLength x; |
| 1582 | 1472 |
| 1583 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 1473 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 1584 final SVGAnimatedLength y; | 1474 final AnimatedLength y; |
| 1585 | 1475 |
| 1586 // From SVGStylable | 1476 // From SVGStylable |
| 1587 | 1477 |
| 1588 /** @domName SVGStylable.className */ | 1478 /** @domName SVGStylable.className */ |
| 1589 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 1479 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 1590 | 1480 |
| 1591 // Use implementation from Element. | 1481 // Use implementation from Element. |
| 1592 // final CSSStyleDeclaration style; | 1482 // final CSSStyleDeclaration style; |
| 1593 | 1483 |
| 1594 /** @domName SVGStylable.getPresentationAttribute */ | 1484 /** @domName SVGStylable.getPresentationAttribute */ |
| 1595 CSSValue getPresentationAttribute(String name) native; | 1485 CSSValue getPresentationAttribute(String name) native; |
| 1596 } | 1486 } |
| 1597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1487 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1598 // for details. All rights reserved. Use of this source code is governed by a | 1488 // for details. All rights reserved. Use of this source code is governed by a |
| 1599 // BSD-style license that can be found in the LICENSE file. | 1489 // BSD-style license that can be found in the LICENSE file. |
| 1600 | 1490 |
| 1601 | 1491 |
| 1602 /// @domName SVGFECompositeElement | 1492 /// @domName SVGFECompositeElement |
| 1603 class SVGFECompositeElement extends SVGElement implements SVGFilterPrimitiveStan
dardAttributes native "*SVGFECompositeElement" { | 1493 class FECompositeElement extends SvgElement implements FilterPrimitiveStandardAt
tributes native "*SVGFECompositeElement" { |
| 1604 | 1494 |
| 1605 static const int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6; | 1495 static const int SVG_FECOMPOSITE_OPERATOR_ARITHMETIC = 6; |
| 1606 | 1496 |
| 1607 static const int SVG_FECOMPOSITE_OPERATOR_ATOP = 4; | 1497 static const int SVG_FECOMPOSITE_OPERATOR_ATOP = 4; |
| 1608 | 1498 |
| 1609 static const int SVG_FECOMPOSITE_OPERATOR_IN = 2; | 1499 static const int SVG_FECOMPOSITE_OPERATOR_IN = 2; |
| 1610 | 1500 |
| 1611 static const int SVG_FECOMPOSITE_OPERATOR_OUT = 3; | 1501 static const int SVG_FECOMPOSITE_OPERATOR_OUT = 3; |
| 1612 | 1502 |
| 1613 static const int SVG_FECOMPOSITE_OPERATOR_OVER = 1; | 1503 static const int SVG_FECOMPOSITE_OPERATOR_OVER = 1; |
| 1614 | 1504 |
| 1615 static const int SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0; | 1505 static const int SVG_FECOMPOSITE_OPERATOR_UNKNOWN = 0; |
| 1616 | 1506 |
| 1617 static const int SVG_FECOMPOSITE_OPERATOR_XOR = 5; | 1507 static const int SVG_FECOMPOSITE_OPERATOR_XOR = 5; |
| 1618 | 1508 |
| 1619 /** @domName SVGFECompositeElement.in1 */ | 1509 /** @domName SVGFECompositeElement.in1 */ |
| 1620 final SVGAnimatedString in1; | 1510 final AnimatedString in1; |
| 1621 | 1511 |
| 1622 /** @domName SVGFECompositeElement.in2 */ | 1512 /** @domName SVGFECompositeElement.in2 */ |
| 1623 final SVGAnimatedString in2; | 1513 final AnimatedString in2; |
| 1624 | 1514 |
| 1625 /** @domName SVGFECompositeElement.k1 */ | 1515 /** @domName SVGFECompositeElement.k1 */ |
| 1626 final SVGAnimatedNumber k1; | 1516 final AnimatedNumber k1; |
| 1627 | 1517 |
| 1628 /** @domName SVGFECompositeElement.k2 */ | 1518 /** @domName SVGFECompositeElement.k2 */ |
| 1629 final SVGAnimatedNumber k2; | 1519 final AnimatedNumber k2; |
| 1630 | 1520 |
| 1631 /** @domName SVGFECompositeElement.k3 */ | 1521 /** @domName SVGFECompositeElement.k3 */ |
| 1632 final SVGAnimatedNumber k3; | 1522 final AnimatedNumber k3; |
| 1633 | 1523 |
| 1634 /** @domName SVGFECompositeElement.k4 */ | 1524 /** @domName SVGFECompositeElement.k4 */ |
| 1635 final SVGAnimatedNumber k4; | 1525 final AnimatedNumber k4; |
| 1636 | 1526 |
| 1637 /** @domName SVGFECompositeElement.operator */ | 1527 /** @domName SVGFECompositeElement.operator */ |
| 1638 final SVGAnimatedEnumeration operator; | 1528 final AnimatedEnumeration operator; |
| 1639 | 1529 |
| 1640 // From SVGFilterPrimitiveStandardAttributes | 1530 // From SVGFilterPrimitiveStandardAttributes |
| 1641 | 1531 |
| 1642 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 1532 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 1643 final SVGAnimatedLength height; | 1533 final AnimatedLength height; |
| 1644 | 1534 |
| 1645 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 1535 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 1646 final SVGAnimatedString result; | 1536 final AnimatedString result; |
| 1647 | 1537 |
| 1648 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 1538 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 1649 final SVGAnimatedLength width; | 1539 final AnimatedLength width; |
| 1650 | 1540 |
| 1651 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 1541 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 1652 final SVGAnimatedLength x; | 1542 final AnimatedLength x; |
| 1653 | 1543 |
| 1654 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 1544 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 1655 final SVGAnimatedLength y; | 1545 final AnimatedLength y; |
| 1656 | 1546 |
| 1657 // From SVGStylable | 1547 // From SVGStylable |
| 1658 | 1548 |
| 1659 /** @domName SVGStylable.className */ | 1549 /** @domName SVGStylable.className */ |
| 1660 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 1550 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 1661 | 1551 |
| 1662 // Use implementation from Element. | 1552 // Use implementation from Element. |
| 1663 // final CSSStyleDeclaration style; | 1553 // final CSSStyleDeclaration style; |
| 1664 | 1554 |
| 1665 /** @domName SVGStylable.getPresentationAttribute */ | 1555 /** @domName SVGStylable.getPresentationAttribute */ |
| 1666 CSSValue getPresentationAttribute(String name) native; | 1556 CSSValue getPresentationAttribute(String name) native; |
| 1667 } | 1557 } |
| 1668 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1558 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1669 // for details. All rights reserved. Use of this source code is governed by a | 1559 // for details. All rights reserved. Use of this source code is governed by a |
| 1670 // BSD-style license that can be found in the LICENSE file. | 1560 // BSD-style license that can be found in the LICENSE file. |
| 1671 | 1561 |
| 1672 | 1562 |
| 1673 /// @domName SVGFEConvolveMatrixElement | 1563 /// @domName SVGFEConvolveMatrixElement |
| 1674 class SVGFEConvolveMatrixElement extends SVGElement implements SVGFilterPrimitiv
eStandardAttributes native "*SVGFEConvolveMatrixElement" { | 1564 class FEConvolveMatrixElement extends SvgElement implements FilterPrimitiveStand
ardAttributes native "*SVGFEConvolveMatrixElement" { |
| 1675 | 1565 |
| 1676 static const int SVG_EDGEMODE_DUPLICATE = 1; | 1566 static const int SVG_EDGEMODE_DUPLICATE = 1; |
| 1677 | 1567 |
| 1678 static const int SVG_EDGEMODE_NONE = 3; | 1568 static const int SVG_EDGEMODE_NONE = 3; |
| 1679 | 1569 |
| 1680 static const int SVG_EDGEMODE_UNKNOWN = 0; | 1570 static const int SVG_EDGEMODE_UNKNOWN = 0; |
| 1681 | 1571 |
| 1682 static const int SVG_EDGEMODE_WRAP = 2; | 1572 static const int SVG_EDGEMODE_WRAP = 2; |
| 1683 | 1573 |
| 1684 /** @domName SVGFEConvolveMatrixElement.bias */ | 1574 /** @domName SVGFEConvolveMatrixElement.bias */ |
| 1685 final SVGAnimatedNumber bias; | 1575 final AnimatedNumber bias; |
| 1686 | 1576 |
| 1687 /** @domName SVGFEConvolveMatrixElement.divisor */ | 1577 /** @domName SVGFEConvolveMatrixElement.divisor */ |
| 1688 final SVGAnimatedNumber divisor; | 1578 final AnimatedNumber divisor; |
| 1689 | 1579 |
| 1690 /** @domName SVGFEConvolveMatrixElement.edgeMode */ | 1580 /** @domName SVGFEConvolveMatrixElement.edgeMode */ |
| 1691 final SVGAnimatedEnumeration edgeMode; | 1581 final AnimatedEnumeration edgeMode; |
| 1692 | 1582 |
| 1693 /** @domName SVGFEConvolveMatrixElement.in1 */ | 1583 /** @domName SVGFEConvolveMatrixElement.in1 */ |
| 1694 final SVGAnimatedString in1; | 1584 final AnimatedString in1; |
| 1695 | 1585 |
| 1696 /** @domName SVGFEConvolveMatrixElement.kernelMatrix */ | 1586 /** @domName SVGFEConvolveMatrixElement.kernelMatrix */ |
| 1697 final SVGAnimatedNumberList kernelMatrix; | 1587 final AnimatedNumberList kernelMatrix; |
| 1698 | 1588 |
| 1699 /** @domName SVGFEConvolveMatrixElement.kernelUnitLengthX */ | 1589 /** @domName SVGFEConvolveMatrixElement.kernelUnitLengthX */ |
| 1700 final SVGAnimatedNumber kernelUnitLengthX; | 1590 final AnimatedNumber kernelUnitLengthX; |
| 1701 | 1591 |
| 1702 /** @domName SVGFEConvolveMatrixElement.kernelUnitLengthY */ | 1592 /** @domName SVGFEConvolveMatrixElement.kernelUnitLengthY */ |
| 1703 final SVGAnimatedNumber kernelUnitLengthY; | 1593 final AnimatedNumber kernelUnitLengthY; |
| 1704 | 1594 |
| 1705 /** @domName SVGFEConvolveMatrixElement.orderX */ | 1595 /** @domName SVGFEConvolveMatrixElement.orderX */ |
| 1706 final SVGAnimatedInteger orderX; | 1596 final AnimatedInteger orderX; |
| 1707 | 1597 |
| 1708 /** @domName SVGFEConvolveMatrixElement.orderY */ | 1598 /** @domName SVGFEConvolveMatrixElement.orderY */ |
| 1709 final SVGAnimatedInteger orderY; | 1599 final AnimatedInteger orderY; |
| 1710 | 1600 |
| 1711 /** @domName SVGFEConvolveMatrixElement.preserveAlpha */ | 1601 /** @domName SVGFEConvolveMatrixElement.preserveAlpha */ |
| 1712 final SVGAnimatedBoolean preserveAlpha; | 1602 final AnimatedBoolean preserveAlpha; |
| 1713 | 1603 |
| 1714 /** @domName SVGFEConvolveMatrixElement.targetX */ | 1604 /** @domName SVGFEConvolveMatrixElement.targetX */ |
| 1715 final SVGAnimatedInteger targetX; | 1605 final AnimatedInteger targetX; |
| 1716 | 1606 |
| 1717 /** @domName SVGFEConvolveMatrixElement.targetY */ | 1607 /** @domName SVGFEConvolveMatrixElement.targetY */ |
| 1718 final SVGAnimatedInteger targetY; | 1608 final AnimatedInteger targetY; |
| 1719 | 1609 |
| 1720 // From SVGFilterPrimitiveStandardAttributes | 1610 // From SVGFilterPrimitiveStandardAttributes |
| 1721 | 1611 |
| 1722 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 1612 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 1723 final SVGAnimatedLength height; | 1613 final AnimatedLength height; |
| 1724 | 1614 |
| 1725 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 1615 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 1726 final SVGAnimatedString result; | 1616 final AnimatedString result; |
| 1727 | 1617 |
| 1728 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 1618 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 1729 final SVGAnimatedLength width; | 1619 final AnimatedLength width; |
| 1730 | 1620 |
| 1731 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 1621 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 1732 final SVGAnimatedLength x; | 1622 final AnimatedLength x; |
| 1733 | 1623 |
| 1734 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 1624 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 1735 final SVGAnimatedLength y; | 1625 final AnimatedLength y; |
| 1736 | 1626 |
| 1737 // From SVGStylable | 1627 // From SVGStylable |
| 1738 | 1628 |
| 1739 /** @domName SVGStylable.className */ | 1629 /** @domName SVGStylable.className */ |
| 1740 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 1630 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 1741 | 1631 |
| 1742 // Use implementation from Element. | 1632 // Use implementation from Element. |
| 1743 // final CSSStyleDeclaration style; | 1633 // final CSSStyleDeclaration style; |
| 1744 | 1634 |
| 1745 /** @domName SVGStylable.getPresentationAttribute */ | 1635 /** @domName SVGStylable.getPresentationAttribute */ |
| 1746 CSSValue getPresentationAttribute(String name) native; | 1636 CSSValue getPresentationAttribute(String name) native; |
| 1747 } | 1637 } |
| 1748 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1638 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1749 // for details. All rights reserved. Use of this source code is governed by a | 1639 // for details. All rights reserved. Use of this source code is governed by a |
| 1750 // BSD-style license that can be found in the LICENSE file. | 1640 // BSD-style license that can be found in the LICENSE file. |
| 1751 | 1641 |
| 1752 | 1642 |
| 1753 /// @domName SVGFEDiffuseLightingElement | 1643 /// @domName SVGFEDiffuseLightingElement |
| 1754 class SVGFEDiffuseLightingElement extends SVGElement implements SVGFilterPrimiti
veStandardAttributes native "*SVGFEDiffuseLightingElement" { | 1644 class FEDiffuseLightingElement extends SvgElement implements FilterPrimitiveStan
dardAttributes native "*SVGFEDiffuseLightingElement" { |
| 1755 | 1645 |
| 1756 /** @domName SVGFEDiffuseLightingElement.diffuseConstant */ | 1646 /** @domName SVGFEDiffuseLightingElement.diffuseConstant */ |
| 1757 final SVGAnimatedNumber diffuseConstant; | 1647 final AnimatedNumber diffuseConstant; |
| 1758 | 1648 |
| 1759 /** @domName SVGFEDiffuseLightingElement.in1 */ | 1649 /** @domName SVGFEDiffuseLightingElement.in1 */ |
| 1760 final SVGAnimatedString in1; | 1650 final AnimatedString in1; |
| 1761 | 1651 |
| 1762 /** @domName SVGFEDiffuseLightingElement.kernelUnitLengthX */ | 1652 /** @domName SVGFEDiffuseLightingElement.kernelUnitLengthX */ |
| 1763 final SVGAnimatedNumber kernelUnitLengthX; | 1653 final AnimatedNumber kernelUnitLengthX; |
| 1764 | 1654 |
| 1765 /** @domName SVGFEDiffuseLightingElement.kernelUnitLengthY */ | 1655 /** @domName SVGFEDiffuseLightingElement.kernelUnitLengthY */ |
| 1766 final SVGAnimatedNumber kernelUnitLengthY; | 1656 final AnimatedNumber kernelUnitLengthY; |
| 1767 | 1657 |
| 1768 /** @domName SVGFEDiffuseLightingElement.surfaceScale */ | 1658 /** @domName SVGFEDiffuseLightingElement.surfaceScale */ |
| 1769 final SVGAnimatedNumber surfaceScale; | 1659 final AnimatedNumber surfaceScale; |
| 1770 | 1660 |
| 1771 // From SVGFilterPrimitiveStandardAttributes | 1661 // From SVGFilterPrimitiveStandardAttributes |
| 1772 | 1662 |
| 1773 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 1663 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 1774 final SVGAnimatedLength height; | 1664 final AnimatedLength height; |
| 1775 | 1665 |
| 1776 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 1666 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 1777 final SVGAnimatedString result; | 1667 final AnimatedString result; |
| 1778 | 1668 |
| 1779 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 1669 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 1780 final SVGAnimatedLength width; | 1670 final AnimatedLength width; |
| 1781 | 1671 |
| 1782 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 1672 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 1783 final SVGAnimatedLength x; | 1673 final AnimatedLength x; |
| 1784 | 1674 |
| 1785 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 1675 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 1786 final SVGAnimatedLength y; | 1676 final AnimatedLength y; |
| 1787 | 1677 |
| 1788 // From SVGStylable | 1678 // From SVGStylable |
| 1789 | 1679 |
| 1790 /** @domName SVGStylable.className */ | 1680 /** @domName SVGStylable.className */ |
| 1791 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 1681 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 1792 | 1682 |
| 1793 // Use implementation from Element. | 1683 // Use implementation from Element. |
| 1794 // final CSSStyleDeclaration style; | 1684 // final CSSStyleDeclaration style; |
| 1795 | 1685 |
| 1796 /** @domName SVGStylable.getPresentationAttribute */ | 1686 /** @domName SVGStylable.getPresentationAttribute */ |
| 1797 CSSValue getPresentationAttribute(String name) native; | 1687 CSSValue getPresentationAttribute(String name) native; |
| 1798 } | 1688 } |
| 1799 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1689 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1800 // for details. All rights reserved. Use of this source code is governed by a | 1690 // for details. All rights reserved. Use of this source code is governed by a |
| 1801 // BSD-style license that can be found in the LICENSE file. | 1691 // BSD-style license that can be found in the LICENSE file. |
| 1802 | 1692 |
| 1803 | 1693 |
| 1804 /// @domName SVGFEDisplacementMapElement | 1694 /// @domName SVGFEDisplacementMapElement |
| 1805 class SVGFEDisplacementMapElement extends SVGElement implements SVGFilterPrimiti
veStandardAttributes native "*SVGFEDisplacementMapElement" { | 1695 class FEDisplacementMapElement extends SvgElement implements FilterPrimitiveStan
dardAttributes native "*SVGFEDisplacementMapElement" { |
| 1806 | 1696 |
| 1807 static const int SVG_CHANNEL_A = 4; | 1697 static const int SVG_CHANNEL_A = 4; |
| 1808 | 1698 |
| 1809 static const int SVG_CHANNEL_B = 3; | 1699 static const int SVG_CHANNEL_B = 3; |
| 1810 | 1700 |
| 1811 static const int SVG_CHANNEL_G = 2; | 1701 static const int SVG_CHANNEL_G = 2; |
| 1812 | 1702 |
| 1813 static const int SVG_CHANNEL_R = 1; | 1703 static const int SVG_CHANNEL_R = 1; |
| 1814 | 1704 |
| 1815 static const int SVG_CHANNEL_UNKNOWN = 0; | 1705 static const int SVG_CHANNEL_UNKNOWN = 0; |
| 1816 | 1706 |
| 1817 /** @domName SVGFEDisplacementMapElement.in1 */ | 1707 /** @domName SVGFEDisplacementMapElement.in1 */ |
| 1818 final SVGAnimatedString in1; | 1708 final AnimatedString in1; |
| 1819 | 1709 |
| 1820 /** @domName SVGFEDisplacementMapElement.in2 */ | 1710 /** @domName SVGFEDisplacementMapElement.in2 */ |
| 1821 final SVGAnimatedString in2; | 1711 final AnimatedString in2; |
| 1822 | 1712 |
| 1823 /** @domName SVGFEDisplacementMapElement.scale */ | 1713 /** @domName SVGFEDisplacementMapElement.scale */ |
| 1824 final SVGAnimatedNumber scale; | 1714 final AnimatedNumber scale; |
| 1825 | 1715 |
| 1826 /** @domName SVGFEDisplacementMapElement.xChannelSelector */ | 1716 /** @domName SVGFEDisplacementMapElement.xChannelSelector */ |
| 1827 final SVGAnimatedEnumeration xChannelSelector; | 1717 final AnimatedEnumeration xChannelSelector; |
| 1828 | 1718 |
| 1829 /** @domName SVGFEDisplacementMapElement.yChannelSelector */ | 1719 /** @domName SVGFEDisplacementMapElement.yChannelSelector */ |
| 1830 final SVGAnimatedEnumeration yChannelSelector; | 1720 final AnimatedEnumeration yChannelSelector; |
| 1831 | 1721 |
| 1832 // From SVGFilterPrimitiveStandardAttributes | 1722 // From SVGFilterPrimitiveStandardAttributes |
| 1833 | 1723 |
| 1834 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 1724 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 1835 final SVGAnimatedLength height; | 1725 final AnimatedLength height; |
| 1836 | 1726 |
| 1837 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 1727 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 1838 final SVGAnimatedString result; | 1728 final AnimatedString result; |
| 1839 | 1729 |
| 1840 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 1730 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 1841 final SVGAnimatedLength width; | 1731 final AnimatedLength width; |
| 1842 | 1732 |
| 1843 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 1733 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 1844 final SVGAnimatedLength x; | 1734 final AnimatedLength x; |
| 1845 | 1735 |
| 1846 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 1736 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 1847 final SVGAnimatedLength y; | 1737 final AnimatedLength y; |
| 1848 | 1738 |
| 1849 // From SVGStylable | 1739 // From SVGStylable |
| 1850 | 1740 |
| 1851 /** @domName SVGStylable.className */ | 1741 /** @domName SVGStylable.className */ |
| 1852 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 1742 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 1853 | 1743 |
| 1854 // Use implementation from Element. | 1744 // Use implementation from Element. |
| 1855 // final CSSStyleDeclaration style; | 1745 // final CSSStyleDeclaration style; |
| 1856 | 1746 |
| 1857 /** @domName SVGStylable.getPresentationAttribute */ | 1747 /** @domName SVGStylable.getPresentationAttribute */ |
| 1858 CSSValue getPresentationAttribute(String name) native; | 1748 CSSValue getPresentationAttribute(String name) native; |
| 1859 } | 1749 } |
| 1860 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1750 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1861 // for details. All rights reserved. Use of this source code is governed by a | 1751 // for details. All rights reserved. Use of this source code is governed by a |
| 1862 // BSD-style license that can be found in the LICENSE file. | 1752 // BSD-style license that can be found in the LICENSE file. |
| 1863 | 1753 |
| 1864 | 1754 |
| 1865 /// @domName SVGFEDistantLightElement | 1755 /// @domName SVGFEDistantLightElement |
| 1866 class SVGFEDistantLightElement extends SVGElement native "*SVGFEDistantLightElem
ent" { | 1756 class FEDistantLightElement extends SvgElement native "*SVGFEDistantLightElement
" { |
| 1867 | 1757 |
| 1868 /** @domName SVGFEDistantLightElement.azimuth */ | 1758 /** @domName SVGFEDistantLightElement.azimuth */ |
| 1869 final SVGAnimatedNumber azimuth; | 1759 final AnimatedNumber azimuth; |
| 1870 | 1760 |
| 1871 /** @domName SVGFEDistantLightElement.elevation */ | 1761 /** @domName SVGFEDistantLightElement.elevation */ |
| 1872 final SVGAnimatedNumber elevation; | 1762 final AnimatedNumber elevation; |
| 1873 } | 1763 } |
| 1874 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1764 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1875 // for details. All rights reserved. Use of this source code is governed by a | 1765 // for details. All rights reserved. Use of this source code is governed by a |
| 1876 // BSD-style license that can be found in the LICENSE file. | 1766 // BSD-style license that can be found in the LICENSE file. |
| 1877 | 1767 |
| 1878 | 1768 |
| 1879 /// @domName SVGFEDropShadowElement | 1769 /// @domName SVGFEDropShadowElement |
| 1880 class SVGFEDropShadowElement extends SVGElement implements SVGFilterPrimitiveSta
ndardAttributes native "*SVGFEDropShadowElement" { | 1770 class FEDropShadowElement extends SvgElement implements FilterPrimitiveStandardA
ttributes native "*SVGFEDropShadowElement" { |
| 1881 | 1771 |
| 1882 /** @domName SVGFEDropShadowElement.dx */ | 1772 /** @domName SVGFEDropShadowElement.dx */ |
| 1883 final SVGAnimatedNumber dx; | 1773 final AnimatedNumber dx; |
| 1884 | 1774 |
| 1885 /** @domName SVGFEDropShadowElement.dy */ | 1775 /** @domName SVGFEDropShadowElement.dy */ |
| 1886 final SVGAnimatedNumber dy; | 1776 final AnimatedNumber dy; |
| 1887 | 1777 |
| 1888 /** @domName SVGFEDropShadowElement.in1 */ | 1778 /** @domName SVGFEDropShadowElement.in1 */ |
| 1889 final SVGAnimatedString in1; | 1779 final AnimatedString in1; |
| 1890 | 1780 |
| 1891 /** @domName SVGFEDropShadowElement.stdDeviationX */ | 1781 /** @domName SVGFEDropShadowElement.stdDeviationX */ |
| 1892 final SVGAnimatedNumber stdDeviationX; | 1782 final AnimatedNumber stdDeviationX; |
| 1893 | 1783 |
| 1894 /** @domName SVGFEDropShadowElement.stdDeviationY */ | 1784 /** @domName SVGFEDropShadowElement.stdDeviationY */ |
| 1895 final SVGAnimatedNumber stdDeviationY; | 1785 final AnimatedNumber stdDeviationY; |
| 1896 | 1786 |
| 1897 /** @domName SVGFEDropShadowElement.setStdDeviation */ | 1787 /** @domName SVGFEDropShadowElement.setStdDeviation */ |
| 1898 void setStdDeviation(num stdDeviationX, num stdDeviationY) native; | 1788 void setStdDeviation(num stdDeviationX, num stdDeviationY) native; |
| 1899 | 1789 |
| 1900 // From SVGFilterPrimitiveStandardAttributes | 1790 // From SVGFilterPrimitiveStandardAttributes |
| 1901 | 1791 |
| 1902 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 1792 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 1903 final SVGAnimatedLength height; | 1793 final AnimatedLength height; |
| 1904 | 1794 |
| 1905 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 1795 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 1906 final SVGAnimatedString result; | 1796 final AnimatedString result; |
| 1907 | 1797 |
| 1908 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 1798 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 1909 final SVGAnimatedLength width; | 1799 final AnimatedLength width; |
| 1910 | 1800 |
| 1911 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 1801 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 1912 final SVGAnimatedLength x; | 1802 final AnimatedLength x; |
| 1913 | 1803 |
| 1914 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 1804 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 1915 final SVGAnimatedLength y; | 1805 final AnimatedLength y; |
| 1916 | 1806 |
| 1917 // From SVGStylable | 1807 // From SVGStylable |
| 1918 | 1808 |
| 1919 /** @domName SVGStylable.className */ | 1809 /** @domName SVGStylable.className */ |
| 1920 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 1810 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 1921 | 1811 |
| 1922 // Use implementation from Element. | 1812 // Use implementation from Element. |
| 1923 // final CSSStyleDeclaration style; | 1813 // final CSSStyleDeclaration style; |
| 1924 | 1814 |
| 1925 /** @domName SVGStylable.getPresentationAttribute */ | 1815 /** @domName SVGStylable.getPresentationAttribute */ |
| 1926 CSSValue getPresentationAttribute(String name) native; | 1816 CSSValue getPresentationAttribute(String name) native; |
| 1927 } | 1817 } |
| 1928 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1818 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1929 // for details. All rights reserved. Use of this source code is governed by a | 1819 // for details. All rights reserved. Use of this source code is governed by a |
| 1930 // BSD-style license that can be found in the LICENSE file. | 1820 // BSD-style license that can be found in the LICENSE file. |
| 1931 | 1821 |
| 1932 | 1822 |
| 1933 /// @domName SVGFEFloodElement | 1823 /// @domName SVGFEFloodElement |
| 1934 class SVGFEFloodElement extends SVGElement implements SVGFilterPrimitiveStandard
Attributes native "*SVGFEFloodElement" { | 1824 class FEFloodElement extends SvgElement implements FilterPrimitiveStandardAttrib
utes native "*SVGFEFloodElement" { |
| 1935 | 1825 |
| 1936 // From SVGFilterPrimitiveStandardAttributes | 1826 // From SVGFilterPrimitiveStandardAttributes |
| 1937 | 1827 |
| 1938 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 1828 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 1939 final SVGAnimatedLength height; | 1829 final AnimatedLength height; |
| 1940 | 1830 |
| 1941 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 1831 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 1942 final SVGAnimatedString result; | 1832 final AnimatedString result; |
| 1943 | 1833 |
| 1944 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 1834 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 1945 final SVGAnimatedLength width; | 1835 final AnimatedLength width; |
| 1946 | 1836 |
| 1947 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 1837 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 1948 final SVGAnimatedLength x; | 1838 final AnimatedLength x; |
| 1949 | 1839 |
| 1950 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 1840 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 1951 final SVGAnimatedLength y; | 1841 final AnimatedLength y; |
| 1952 | 1842 |
| 1953 // From SVGStylable | 1843 // From SVGStylable |
| 1954 | 1844 |
| 1955 /** @domName SVGStylable.className */ | 1845 /** @domName SVGStylable.className */ |
| 1956 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 1846 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 1957 | 1847 |
| 1958 // Use implementation from Element. | 1848 // Use implementation from Element. |
| 1959 // final CSSStyleDeclaration style; | 1849 // final CSSStyleDeclaration style; |
| 1960 | 1850 |
| 1961 /** @domName SVGStylable.getPresentationAttribute */ | 1851 /** @domName SVGStylable.getPresentationAttribute */ |
| 1962 CSSValue getPresentationAttribute(String name) native; | 1852 CSSValue getPresentationAttribute(String name) native; |
| 1963 } | 1853 } |
| 1964 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1854 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1965 // for details. All rights reserved. Use of this source code is governed by a | 1855 // for details. All rights reserved. Use of this source code is governed by a |
| 1966 // BSD-style license that can be found in the LICENSE file. | 1856 // BSD-style license that can be found in the LICENSE file. |
| 1967 | 1857 |
| 1968 | 1858 |
| 1969 /// @domName SVGFEFuncAElement | 1859 /// @domName SVGFEFuncAElement |
| 1970 class SVGFEFuncAElement extends SVGComponentTransferFunctionElement native "*SVG
FEFuncAElement" { | 1860 class FEFuncAElement extends ComponentTransferFunctionElement native "*SVGFEFunc
AElement" { |
| 1971 } | 1861 } |
| 1972 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1862 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1973 // for details. All rights reserved. Use of this source code is governed by a | 1863 // for details. All rights reserved. Use of this source code is governed by a |
| 1974 // BSD-style license that can be found in the LICENSE file. | 1864 // BSD-style license that can be found in the LICENSE file. |
| 1975 | 1865 |
| 1976 | 1866 |
| 1977 /// @domName SVGFEFuncBElement | 1867 /// @domName SVGFEFuncBElement |
| 1978 class SVGFEFuncBElement extends SVGComponentTransferFunctionElement native "*SVG
FEFuncBElement" { | 1868 class FEFuncBElement extends ComponentTransferFunctionElement native "*SVGFEFunc
BElement" { |
| 1979 } | 1869 } |
| 1980 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1870 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1981 // for details. All rights reserved. Use of this source code is governed by a | 1871 // for details. All rights reserved. Use of this source code is governed by a |
| 1982 // BSD-style license that can be found in the LICENSE file. | 1872 // BSD-style license that can be found in the LICENSE file. |
| 1983 | 1873 |
| 1984 | 1874 |
| 1985 /// @domName SVGFEFuncGElement | 1875 /// @domName SVGFEFuncGElement |
| 1986 class SVGFEFuncGElement extends SVGComponentTransferFunctionElement native "*SVG
FEFuncGElement" { | 1876 class FEFuncGElement extends ComponentTransferFunctionElement native "*SVGFEFunc
GElement" { |
| 1987 } | 1877 } |
| 1988 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1878 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1989 // for details. All rights reserved. Use of this source code is governed by a | 1879 // for details. All rights reserved. Use of this source code is governed by a |
| 1990 // BSD-style license that can be found in the LICENSE file. | 1880 // BSD-style license that can be found in the LICENSE file. |
| 1991 | 1881 |
| 1992 | 1882 |
| 1993 /// @domName SVGFEFuncRElement | 1883 /// @domName SVGFEFuncRElement |
| 1994 class SVGFEFuncRElement extends SVGComponentTransferFunctionElement native "*SVG
FEFuncRElement" { | 1884 class FEFuncRElement extends ComponentTransferFunctionElement native "*SVGFEFunc
RElement" { |
| 1995 } | 1885 } |
| 1996 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1886 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 1997 // for details. All rights reserved. Use of this source code is governed by a | 1887 // for details. All rights reserved. Use of this source code is governed by a |
| 1998 // BSD-style license that can be found in the LICENSE file. | 1888 // BSD-style license that can be found in the LICENSE file. |
| 1999 | 1889 |
| 2000 | 1890 |
| 2001 /// @domName SVGFEGaussianBlurElement | 1891 /// @domName SVGFEGaussianBlurElement |
| 2002 class SVGFEGaussianBlurElement extends SVGElement implements SVGFilterPrimitiveS
tandardAttributes native "*SVGFEGaussianBlurElement" { | 1892 class FEGaussianBlurElement extends SvgElement implements FilterPrimitiveStandar
dAttributes native "*SVGFEGaussianBlurElement" { |
| 2003 | 1893 |
| 2004 /** @domName SVGFEGaussianBlurElement.in1 */ | 1894 /** @domName SVGFEGaussianBlurElement.in1 */ |
| 2005 final SVGAnimatedString in1; | 1895 final AnimatedString in1; |
| 2006 | 1896 |
| 2007 /** @domName SVGFEGaussianBlurElement.stdDeviationX */ | 1897 /** @domName SVGFEGaussianBlurElement.stdDeviationX */ |
| 2008 final SVGAnimatedNumber stdDeviationX; | 1898 final AnimatedNumber stdDeviationX; |
| 2009 | 1899 |
| 2010 /** @domName SVGFEGaussianBlurElement.stdDeviationY */ | 1900 /** @domName SVGFEGaussianBlurElement.stdDeviationY */ |
| 2011 final SVGAnimatedNumber stdDeviationY; | 1901 final AnimatedNumber stdDeviationY; |
| 2012 | 1902 |
| 2013 /** @domName SVGFEGaussianBlurElement.setStdDeviation */ | 1903 /** @domName SVGFEGaussianBlurElement.setStdDeviation */ |
| 2014 void setStdDeviation(num stdDeviationX, num stdDeviationY) native; | 1904 void setStdDeviation(num stdDeviationX, num stdDeviationY) native; |
| 2015 | 1905 |
| 2016 // From SVGFilterPrimitiveStandardAttributes | 1906 // From SVGFilterPrimitiveStandardAttributes |
| 2017 | 1907 |
| 2018 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 1908 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 2019 final SVGAnimatedLength height; | 1909 final AnimatedLength height; |
| 2020 | 1910 |
| 2021 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 1911 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 2022 final SVGAnimatedString result; | 1912 final AnimatedString result; |
| 2023 | 1913 |
| 2024 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 1914 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 2025 final SVGAnimatedLength width; | 1915 final AnimatedLength width; |
| 2026 | 1916 |
| 2027 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 1917 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 2028 final SVGAnimatedLength x; | 1918 final AnimatedLength x; |
| 2029 | 1919 |
| 2030 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 1920 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 2031 final SVGAnimatedLength y; | 1921 final AnimatedLength y; |
| 2032 | 1922 |
| 2033 // From SVGStylable | 1923 // From SVGStylable |
| 2034 | 1924 |
| 2035 /** @domName SVGStylable.className */ | 1925 /** @domName SVGStylable.className */ |
| 2036 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 1926 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2037 | 1927 |
| 2038 // Use implementation from Element. | 1928 // Use implementation from Element. |
| 2039 // final CSSStyleDeclaration style; | 1929 // final CSSStyleDeclaration style; |
| 2040 | 1930 |
| 2041 /** @domName SVGStylable.getPresentationAttribute */ | 1931 /** @domName SVGStylable.getPresentationAttribute */ |
| 2042 CSSValue getPresentationAttribute(String name) native; | 1932 CSSValue getPresentationAttribute(String name) native; |
| 2043 } | 1933 } |
| 2044 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1934 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2045 // for details. All rights reserved. Use of this source code is governed by a | 1935 // for details. All rights reserved. Use of this source code is governed by a |
| 2046 // BSD-style license that can be found in the LICENSE file. | 1936 // BSD-style license that can be found in the LICENSE file. |
| 2047 | 1937 |
| 2048 | 1938 |
| 2049 /// @domName SVGFEImageElement | 1939 /// @domName SVGFEImageElement |
| 2050 class SVGFEImageElement extends SVGElement implements SVGURIReference, SVGLangSp
ace, SVGFilterPrimitiveStandardAttributes, SVGExternalResourcesRequired native "
*SVGFEImageElement" { | 1940 class FEImageElement extends SvgElement implements FilterPrimitiveStandardAttrib
utes, UriReference, ExternalResourcesRequired, LangSpace native "*SVGFEImageElem
ent" { |
| 2051 | 1941 |
| 2052 /** @domName SVGFEImageElement.preserveAspectRatio */ | 1942 /** @domName SVGFEImageElement.preserveAspectRatio */ |
| 2053 final SVGAnimatedPreserveAspectRatio preserveAspectRatio; | 1943 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 2054 | 1944 |
| 2055 // From SVGExternalResourcesRequired | 1945 // From SVGExternalResourcesRequired |
| 2056 | 1946 |
| 2057 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 1947 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 2058 final SVGAnimatedBoolean externalResourcesRequired; | 1948 final AnimatedBoolean externalResourcesRequired; |
| 2059 | 1949 |
| 2060 // From SVGFilterPrimitiveStandardAttributes | 1950 // From SVGFilterPrimitiveStandardAttributes |
| 2061 | 1951 |
| 2062 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 1952 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 2063 final SVGAnimatedLength height; | 1953 final AnimatedLength height; |
| 2064 | 1954 |
| 2065 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 1955 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 2066 final SVGAnimatedString result; | 1956 final AnimatedString result; |
| 2067 | 1957 |
| 2068 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 1958 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 2069 final SVGAnimatedLength width; | 1959 final AnimatedLength width; |
| 2070 | 1960 |
| 2071 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 1961 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 2072 final SVGAnimatedLength x; | 1962 final AnimatedLength x; |
| 2073 | 1963 |
| 2074 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 1964 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 2075 final SVGAnimatedLength y; | 1965 final AnimatedLength y; |
| 2076 | 1966 |
| 2077 // From SVGLangSpace | 1967 // From SVGLangSpace |
| 2078 | 1968 |
| 2079 /** @domName SVGLangSpace.xmllang */ | 1969 /** @domName SVGLangSpace.xmllang */ |
| 2080 String xmllang; | 1970 String xmllang; |
| 2081 | 1971 |
| 2082 /** @domName SVGLangSpace.xmlspace */ | 1972 /** @domName SVGLangSpace.xmlspace */ |
| 2083 String xmlspace; | 1973 String xmlspace; |
| 2084 | 1974 |
| 2085 // From SVGStylable | 1975 // From SVGStylable |
| 2086 | 1976 |
| 2087 /** @domName SVGStylable.className */ | 1977 /** @domName SVGStylable.className */ |
| 2088 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 1978 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2089 | 1979 |
| 2090 // Use implementation from Element. | 1980 // Use implementation from Element. |
| 2091 // final CSSStyleDeclaration style; | 1981 // final CSSStyleDeclaration style; |
| 2092 | 1982 |
| 2093 /** @domName SVGStylable.getPresentationAttribute */ | 1983 /** @domName SVGStylable.getPresentationAttribute */ |
| 2094 CSSValue getPresentationAttribute(String name) native; | 1984 CSSValue getPresentationAttribute(String name) native; |
| 2095 | 1985 |
| 2096 // From SVGURIReference | 1986 // From SVGURIReference |
| 2097 | 1987 |
| 2098 /** @domName SVGURIReference.href */ | 1988 /** @domName SVGURIReference.href */ |
| 2099 final SVGAnimatedString href; | 1989 final AnimatedString href; |
| 2100 } | 1990 } |
| 2101 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1991 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2102 // for details. All rights reserved. Use of this source code is governed by a | 1992 // for details. All rights reserved. Use of this source code is governed by a |
| 2103 // BSD-style license that can be found in the LICENSE file. | 1993 // BSD-style license that can be found in the LICENSE file. |
| 2104 | 1994 |
| 2105 | 1995 |
| 2106 /// @domName SVGFEMergeElement | 1996 /// @domName SVGFEMergeElement |
| 2107 class SVGFEMergeElement extends SVGElement implements SVGFilterPrimitiveStandard
Attributes native "*SVGFEMergeElement" { | 1997 class FEMergeElement extends SvgElement implements FilterPrimitiveStandardAttrib
utes native "*SVGFEMergeElement" { |
| 2108 | 1998 |
| 2109 // From SVGFilterPrimitiveStandardAttributes | 1999 // From SVGFilterPrimitiveStandardAttributes |
| 2110 | 2000 |
| 2111 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 2001 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 2112 final SVGAnimatedLength height; | 2002 final AnimatedLength height; |
| 2113 | 2003 |
| 2114 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 2004 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 2115 final SVGAnimatedString result; | 2005 final AnimatedString result; |
| 2116 | 2006 |
| 2117 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 2007 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 2118 final SVGAnimatedLength width; | 2008 final AnimatedLength width; |
| 2119 | 2009 |
| 2120 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 2010 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 2121 final SVGAnimatedLength x; | 2011 final AnimatedLength x; |
| 2122 | 2012 |
| 2123 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 2013 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 2124 final SVGAnimatedLength y; | 2014 final AnimatedLength y; |
| 2125 | 2015 |
| 2126 // From SVGStylable | 2016 // From SVGStylable |
| 2127 | 2017 |
| 2128 /** @domName SVGStylable.className */ | 2018 /** @domName SVGStylable.className */ |
| 2129 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 2019 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2130 | 2020 |
| 2131 // Use implementation from Element. | 2021 // Use implementation from Element. |
| 2132 // final CSSStyleDeclaration style; | 2022 // final CSSStyleDeclaration style; |
| 2133 | 2023 |
| 2134 /** @domName SVGStylable.getPresentationAttribute */ | 2024 /** @domName SVGStylable.getPresentationAttribute */ |
| 2135 CSSValue getPresentationAttribute(String name) native; | 2025 CSSValue getPresentationAttribute(String name) native; |
| 2136 } | 2026 } |
| 2137 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2027 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2138 // for details. All rights reserved. Use of this source code is governed by a | 2028 // for details. All rights reserved. Use of this source code is governed by a |
| 2139 // BSD-style license that can be found in the LICENSE file. | 2029 // BSD-style license that can be found in the LICENSE file. |
| 2140 | 2030 |
| 2141 | 2031 |
| 2142 /// @domName SVGFEMergeNodeElement | 2032 /// @domName SVGFEMergeNodeElement |
| 2143 class SVGFEMergeNodeElement extends SVGElement native "*SVGFEMergeNodeElement" { | 2033 class FEMergeNodeElement extends SvgElement native "*SVGFEMergeNodeElement" { |
| 2144 | 2034 |
| 2145 /** @domName SVGFEMergeNodeElement.in1 */ | 2035 /** @domName SVGFEMergeNodeElement.in1 */ |
| 2146 final SVGAnimatedString in1; | 2036 final AnimatedString in1; |
| 2147 } | 2037 } |
| 2148 // 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 |
| 2149 // 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 |
| 2150 // BSD-style license that can be found in the LICENSE file. | 2040 // BSD-style license that can be found in the LICENSE file. |
| 2151 | 2041 |
| 2152 | 2042 |
| 2153 /// @domName SVGFEMorphologyElement | 2043 /// @domName SVGFEMorphologyElement |
| 2154 class SVGFEMorphologyElement extends SVGElement implements SVGFilterPrimitiveSta
ndardAttributes native "*SVGFEMorphologyElement" { | 2044 class FEMorphologyElement extends SvgElement implements FilterPrimitiveStandardA
ttributes native "*SVGFEMorphologyElement" { |
| 2155 | 2045 |
| 2156 static const int SVG_MORPHOLOGY_OPERATOR_DILATE = 2; | 2046 static const int SVG_MORPHOLOGY_OPERATOR_DILATE = 2; |
| 2157 | 2047 |
| 2158 static const int SVG_MORPHOLOGY_OPERATOR_ERODE = 1; | 2048 static const int SVG_MORPHOLOGY_OPERATOR_ERODE = 1; |
| 2159 | 2049 |
| 2160 static const int SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0; | 2050 static const int SVG_MORPHOLOGY_OPERATOR_UNKNOWN = 0; |
| 2161 | 2051 |
| 2162 /** @domName SVGFEMorphologyElement.in1 */ | 2052 /** @domName SVGFEMorphologyElement.in1 */ |
| 2163 final SVGAnimatedString in1; | 2053 final AnimatedString in1; |
| 2164 | 2054 |
| 2165 /** @domName SVGFEMorphologyElement.operator */ | 2055 /** @domName SVGFEMorphologyElement.operator */ |
| 2166 final SVGAnimatedEnumeration operator; | 2056 final AnimatedEnumeration operator; |
| 2167 | 2057 |
| 2168 /** @domName SVGFEMorphologyElement.radiusX */ | 2058 /** @domName SVGFEMorphologyElement.radiusX */ |
| 2169 final SVGAnimatedNumber radiusX; | 2059 final AnimatedNumber radiusX; |
| 2170 | 2060 |
| 2171 /** @domName SVGFEMorphologyElement.radiusY */ | 2061 /** @domName SVGFEMorphologyElement.radiusY */ |
| 2172 final SVGAnimatedNumber radiusY; | 2062 final AnimatedNumber radiusY; |
| 2173 | 2063 |
| 2174 /** @domName SVGFEMorphologyElement.setRadius */ | 2064 /** @domName SVGFEMorphologyElement.setRadius */ |
| 2175 void setRadius(num radiusX, num radiusY) native; | 2065 void setRadius(num radiusX, num radiusY) native; |
| 2176 | 2066 |
| 2177 // From SVGFilterPrimitiveStandardAttributes | 2067 // From SVGFilterPrimitiveStandardAttributes |
| 2178 | 2068 |
| 2179 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 2069 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 2180 final SVGAnimatedLength height; | 2070 final AnimatedLength height; |
| 2181 | 2071 |
| 2182 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 2072 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 2183 final SVGAnimatedString result; | 2073 final AnimatedString result; |
| 2184 | 2074 |
| 2185 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 2075 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 2186 final SVGAnimatedLength width; | 2076 final AnimatedLength width; |
| 2187 | 2077 |
| 2188 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 2078 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 2189 final SVGAnimatedLength x; | 2079 final AnimatedLength x; |
| 2190 | 2080 |
| 2191 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 2081 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 2192 final SVGAnimatedLength y; | 2082 final AnimatedLength y; |
| 2193 | 2083 |
| 2194 // From SVGStylable | 2084 // From SVGStylable |
| 2195 | 2085 |
| 2196 /** @domName SVGStylable.className */ | 2086 /** @domName SVGStylable.className */ |
| 2197 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 2087 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2198 | 2088 |
| 2199 // Use implementation from Element. | 2089 // Use implementation from Element. |
| 2200 // final CSSStyleDeclaration style; | 2090 // final CSSStyleDeclaration style; |
| 2201 | 2091 |
| 2202 /** @domName SVGStylable.getPresentationAttribute */ | 2092 /** @domName SVGStylable.getPresentationAttribute */ |
| 2203 CSSValue getPresentationAttribute(String name) native; | 2093 CSSValue getPresentationAttribute(String name) native; |
| 2204 } | 2094 } |
| 2205 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2095 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2206 // for details. All rights reserved. Use of this source code is governed by a | 2096 // for details. All rights reserved. Use of this source code is governed by a |
| 2207 // BSD-style license that can be found in the LICENSE file. | 2097 // BSD-style license that can be found in the LICENSE file. |
| 2208 | 2098 |
| 2209 | 2099 |
| 2210 /// @domName SVGFEOffsetElement | 2100 /// @domName SVGFEOffsetElement |
| 2211 class SVGFEOffsetElement extends SVGElement implements SVGFilterPrimitiveStandar
dAttributes native "*SVGFEOffsetElement" { | 2101 class FEOffsetElement extends SvgElement implements FilterPrimitiveStandardAttri
butes native "*SVGFEOffsetElement" { |
| 2212 | 2102 |
| 2213 /** @domName SVGFEOffsetElement.dx */ | 2103 /** @domName SVGFEOffsetElement.dx */ |
| 2214 final SVGAnimatedNumber dx; | 2104 final AnimatedNumber dx; |
| 2215 | 2105 |
| 2216 /** @domName SVGFEOffsetElement.dy */ | 2106 /** @domName SVGFEOffsetElement.dy */ |
| 2217 final SVGAnimatedNumber dy; | 2107 final AnimatedNumber dy; |
| 2218 | 2108 |
| 2219 /** @domName SVGFEOffsetElement.in1 */ | 2109 /** @domName SVGFEOffsetElement.in1 */ |
| 2220 final SVGAnimatedString in1; | 2110 final AnimatedString in1; |
| 2221 | 2111 |
| 2222 // From SVGFilterPrimitiveStandardAttributes | 2112 // From SVGFilterPrimitiveStandardAttributes |
| 2223 | 2113 |
| 2224 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 2114 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 2225 final SVGAnimatedLength height; | 2115 final AnimatedLength height; |
| 2226 | 2116 |
| 2227 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 2117 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 2228 final SVGAnimatedString result; | 2118 final AnimatedString result; |
| 2229 | 2119 |
| 2230 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 2120 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 2231 final SVGAnimatedLength width; | 2121 final AnimatedLength width; |
| 2232 | 2122 |
| 2233 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 2123 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 2234 final SVGAnimatedLength x; | 2124 final AnimatedLength x; |
| 2235 | 2125 |
| 2236 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 2126 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 2237 final SVGAnimatedLength y; | 2127 final AnimatedLength y; |
| 2238 | 2128 |
| 2239 // From SVGStylable | 2129 // From SVGStylable |
| 2240 | 2130 |
| 2241 /** @domName SVGStylable.className */ | 2131 /** @domName SVGStylable.className */ |
| 2242 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 2132 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2243 | 2133 |
| 2244 // Use implementation from Element. | 2134 // Use implementation from Element. |
| 2245 // final CSSStyleDeclaration style; | 2135 // final CSSStyleDeclaration style; |
| 2246 | 2136 |
| 2247 /** @domName SVGStylable.getPresentationAttribute */ | 2137 /** @domName SVGStylable.getPresentationAttribute */ |
| 2248 CSSValue getPresentationAttribute(String name) native; | 2138 CSSValue getPresentationAttribute(String name) native; |
| 2249 } | 2139 } |
| 2250 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2140 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2251 // for details. All rights reserved. Use of this source code is governed by a | 2141 // for details. All rights reserved. Use of this source code is governed by a |
| 2252 // BSD-style license that can be found in the LICENSE file. | 2142 // BSD-style license that can be found in the LICENSE file. |
| 2253 | 2143 |
| 2254 | 2144 |
| 2255 /// @domName SVGFEPointLightElement | 2145 /// @domName SVGFEPointLightElement |
| 2256 class SVGFEPointLightElement extends SVGElement native "*SVGFEPointLightElement"
{ | 2146 class FEPointLightElement extends SvgElement native "*SVGFEPointLightElement" { |
| 2257 | 2147 |
| 2258 /** @domName SVGFEPointLightElement.x */ | 2148 /** @domName SVGFEPointLightElement.x */ |
| 2259 final SVGAnimatedNumber x; | 2149 final AnimatedNumber x; |
| 2260 | 2150 |
| 2261 /** @domName SVGFEPointLightElement.y */ | 2151 /** @domName SVGFEPointLightElement.y */ |
| 2262 final SVGAnimatedNumber y; | 2152 final AnimatedNumber y; |
| 2263 | 2153 |
| 2264 /** @domName SVGFEPointLightElement.z */ | 2154 /** @domName SVGFEPointLightElement.z */ |
| 2265 final SVGAnimatedNumber z; | 2155 final AnimatedNumber z; |
| 2266 } | 2156 } |
| 2267 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2157 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2268 // for details. All rights reserved. Use of this source code is governed by a | 2158 // for details. All rights reserved. Use of this source code is governed by a |
| 2269 // BSD-style license that can be found in the LICENSE file. | 2159 // BSD-style license that can be found in the LICENSE file. |
| 2270 | 2160 |
| 2271 | 2161 |
| 2272 /// @domName SVGFESpecularLightingElement | 2162 /// @domName SVGFESpecularLightingElement |
| 2273 class SVGFESpecularLightingElement extends SVGElement implements SVGFilterPrimit
iveStandardAttributes native "*SVGFESpecularLightingElement" { | 2163 class FESpecularLightingElement extends SvgElement implements FilterPrimitiveSta
ndardAttributes native "*SVGFESpecularLightingElement" { |
| 2274 | 2164 |
| 2275 /** @domName SVGFESpecularLightingElement.in1 */ | 2165 /** @domName SVGFESpecularLightingElement.in1 */ |
| 2276 final SVGAnimatedString in1; | 2166 final AnimatedString in1; |
| 2277 | 2167 |
| 2278 /** @domName SVGFESpecularLightingElement.specularConstant */ | 2168 /** @domName SVGFESpecularLightingElement.specularConstant */ |
| 2279 final SVGAnimatedNumber specularConstant; | 2169 final AnimatedNumber specularConstant; |
| 2280 | 2170 |
| 2281 /** @domName SVGFESpecularLightingElement.specularExponent */ | 2171 /** @domName SVGFESpecularLightingElement.specularExponent */ |
| 2282 final SVGAnimatedNumber specularExponent; | 2172 final AnimatedNumber specularExponent; |
| 2283 | 2173 |
| 2284 /** @domName SVGFESpecularLightingElement.surfaceScale */ | 2174 /** @domName SVGFESpecularLightingElement.surfaceScale */ |
| 2285 final SVGAnimatedNumber surfaceScale; | 2175 final AnimatedNumber surfaceScale; |
| 2286 | 2176 |
| 2287 // From SVGFilterPrimitiveStandardAttributes | 2177 // From SVGFilterPrimitiveStandardAttributes |
| 2288 | 2178 |
| 2289 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 2179 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 2290 final SVGAnimatedLength height; | 2180 final AnimatedLength height; |
| 2291 | 2181 |
| 2292 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 2182 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 2293 final SVGAnimatedString result; | 2183 final AnimatedString result; |
| 2294 | 2184 |
| 2295 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 2185 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 2296 final SVGAnimatedLength width; | 2186 final AnimatedLength width; |
| 2297 | 2187 |
| 2298 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 2188 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 2299 final SVGAnimatedLength x; | 2189 final AnimatedLength x; |
| 2300 | 2190 |
| 2301 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 2191 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 2302 final SVGAnimatedLength y; | 2192 final AnimatedLength y; |
| 2303 | 2193 |
| 2304 // From SVGStylable | 2194 // From SVGStylable |
| 2305 | 2195 |
| 2306 /** @domName SVGStylable.className */ | 2196 /** @domName SVGStylable.className */ |
| 2307 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 2197 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2308 | 2198 |
| 2309 // Use implementation from Element. | 2199 // Use implementation from Element. |
| 2310 // final CSSStyleDeclaration style; | 2200 // final CSSStyleDeclaration style; |
| 2311 | 2201 |
| 2312 /** @domName SVGStylable.getPresentationAttribute */ | 2202 /** @domName SVGStylable.getPresentationAttribute */ |
| 2313 CSSValue getPresentationAttribute(String name) native; | 2203 CSSValue getPresentationAttribute(String name) native; |
| 2314 } | 2204 } |
| 2315 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2205 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2316 // for details. All rights reserved. Use of this source code is governed by a | 2206 // for details. All rights reserved. Use of this source code is governed by a |
| 2317 // BSD-style license that can be found in the LICENSE file. | 2207 // BSD-style license that can be found in the LICENSE file. |
| 2318 | 2208 |
| 2319 | 2209 |
| 2320 /// @domName SVGFESpotLightElement | 2210 /// @domName SVGFESpotLightElement |
| 2321 class SVGFESpotLightElement extends SVGElement native "*SVGFESpotLightElement" { | 2211 class FESpotLightElement extends SvgElement native "*SVGFESpotLightElement" { |
| 2322 | 2212 |
| 2323 /** @domName SVGFESpotLightElement.limitingConeAngle */ | 2213 /** @domName SVGFESpotLightElement.limitingConeAngle */ |
| 2324 final SVGAnimatedNumber limitingConeAngle; | 2214 final AnimatedNumber limitingConeAngle; |
| 2325 | 2215 |
| 2326 /** @domName SVGFESpotLightElement.pointsAtX */ | 2216 /** @domName SVGFESpotLightElement.pointsAtX */ |
| 2327 final SVGAnimatedNumber pointsAtX; | 2217 final AnimatedNumber pointsAtX; |
| 2328 | 2218 |
| 2329 /** @domName SVGFESpotLightElement.pointsAtY */ | 2219 /** @domName SVGFESpotLightElement.pointsAtY */ |
| 2330 final SVGAnimatedNumber pointsAtY; | 2220 final AnimatedNumber pointsAtY; |
| 2331 | 2221 |
| 2332 /** @domName SVGFESpotLightElement.pointsAtZ */ | 2222 /** @domName SVGFESpotLightElement.pointsAtZ */ |
| 2333 final SVGAnimatedNumber pointsAtZ; | 2223 final AnimatedNumber pointsAtZ; |
| 2334 | 2224 |
| 2335 /** @domName SVGFESpotLightElement.specularExponent */ | 2225 /** @domName SVGFESpotLightElement.specularExponent */ |
| 2336 final SVGAnimatedNumber specularExponent; | 2226 final AnimatedNumber specularExponent; |
| 2337 | 2227 |
| 2338 /** @domName SVGFESpotLightElement.x */ | 2228 /** @domName SVGFESpotLightElement.x */ |
| 2339 final SVGAnimatedNumber x; | 2229 final AnimatedNumber x; |
| 2340 | 2230 |
| 2341 /** @domName SVGFESpotLightElement.y */ | 2231 /** @domName SVGFESpotLightElement.y */ |
| 2342 final SVGAnimatedNumber y; | 2232 final AnimatedNumber y; |
| 2343 | 2233 |
| 2344 /** @domName SVGFESpotLightElement.z */ | 2234 /** @domName SVGFESpotLightElement.z */ |
| 2345 final SVGAnimatedNumber z; | 2235 final AnimatedNumber z; |
| 2346 } | 2236 } |
| 2347 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2237 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2348 // for details. All rights reserved. Use of this source code is governed by a | 2238 // for details. All rights reserved. Use of this source code is governed by a |
| 2349 // BSD-style license that can be found in the LICENSE file. | 2239 // BSD-style license that can be found in the LICENSE file. |
| 2350 | 2240 |
| 2351 | 2241 |
| 2352 /// @domName SVGFETileElement | 2242 /// @domName SVGFETileElement |
| 2353 class SVGFETileElement extends SVGElement implements SVGFilterPrimitiveStandardA
ttributes native "*SVGFETileElement" { | 2243 class FETileElement extends SvgElement implements FilterPrimitiveStandardAttribu
tes native "*SVGFETileElement" { |
| 2354 | 2244 |
| 2355 /** @domName SVGFETileElement.in1 */ | 2245 /** @domName SVGFETileElement.in1 */ |
| 2356 final SVGAnimatedString in1; | 2246 final AnimatedString in1; |
| 2357 | 2247 |
| 2358 // From SVGFilterPrimitiveStandardAttributes | 2248 // From SVGFilterPrimitiveStandardAttributes |
| 2359 | 2249 |
| 2360 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 2250 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 2361 final SVGAnimatedLength height; | 2251 final AnimatedLength height; |
| 2362 | 2252 |
| 2363 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 2253 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 2364 final SVGAnimatedString result; | 2254 final AnimatedString result; |
| 2365 | 2255 |
| 2366 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 2256 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 2367 final SVGAnimatedLength width; | 2257 final AnimatedLength width; |
| 2368 | 2258 |
| 2369 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 2259 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 2370 final SVGAnimatedLength x; | 2260 final AnimatedLength x; |
| 2371 | 2261 |
| 2372 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 2262 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 2373 final SVGAnimatedLength y; | 2263 final AnimatedLength y; |
| 2374 | 2264 |
| 2375 // From SVGStylable | 2265 // From SVGStylable |
| 2376 | 2266 |
| 2377 /** @domName SVGStylable.className */ | 2267 /** @domName SVGStylable.className */ |
| 2378 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 2268 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2379 | 2269 |
| 2380 // Use implementation from Element. | 2270 // Use implementation from Element. |
| 2381 // final CSSStyleDeclaration style; | 2271 // final CSSStyleDeclaration style; |
| 2382 | 2272 |
| 2383 /** @domName SVGStylable.getPresentationAttribute */ | 2273 /** @domName SVGStylable.getPresentationAttribute */ |
| 2384 CSSValue getPresentationAttribute(String name) native; | 2274 CSSValue getPresentationAttribute(String name) native; |
| 2385 } | 2275 } |
| 2386 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2276 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2387 // for details. All rights reserved. Use of this source code is governed by a | 2277 // for details. All rights reserved. Use of this source code is governed by a |
| 2388 // BSD-style license that can be found in the LICENSE file. | 2278 // BSD-style license that can be found in the LICENSE file. |
| 2389 | 2279 |
| 2390 | 2280 |
| 2391 /// @domName SVGFETurbulenceElement | 2281 /// @domName SVGFETurbulenceElement |
| 2392 class SVGFETurbulenceElement extends SVGElement implements SVGFilterPrimitiveSta
ndardAttributes native "*SVGFETurbulenceElement" { | 2282 class FETurbulenceElement extends SvgElement implements FilterPrimitiveStandardA
ttributes native "*SVGFETurbulenceElement" { |
| 2393 | 2283 |
| 2394 static const int SVG_STITCHTYPE_NOSTITCH = 2; | 2284 static const int SVG_STITCHTYPE_NOSTITCH = 2; |
| 2395 | 2285 |
| 2396 static const int SVG_STITCHTYPE_STITCH = 1; | 2286 static const int SVG_STITCHTYPE_STITCH = 1; |
| 2397 | 2287 |
| 2398 static const int SVG_STITCHTYPE_UNKNOWN = 0; | 2288 static const int SVG_STITCHTYPE_UNKNOWN = 0; |
| 2399 | 2289 |
| 2400 static const int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1; | 2290 static const int SVG_TURBULENCE_TYPE_FRACTALNOISE = 1; |
| 2401 | 2291 |
| 2402 static const int SVG_TURBULENCE_TYPE_TURBULENCE = 2; | 2292 static const int SVG_TURBULENCE_TYPE_TURBULENCE = 2; |
| 2403 | 2293 |
| 2404 static const int SVG_TURBULENCE_TYPE_UNKNOWN = 0; | 2294 static const int SVG_TURBULENCE_TYPE_UNKNOWN = 0; |
| 2405 | 2295 |
| 2406 /** @domName SVGFETurbulenceElement.baseFrequencyX */ | 2296 /** @domName SVGFETurbulenceElement.baseFrequencyX */ |
| 2407 final SVGAnimatedNumber baseFrequencyX; | 2297 final AnimatedNumber baseFrequencyX; |
| 2408 | 2298 |
| 2409 /** @domName SVGFETurbulenceElement.baseFrequencyY */ | 2299 /** @domName SVGFETurbulenceElement.baseFrequencyY */ |
| 2410 final SVGAnimatedNumber baseFrequencyY; | 2300 final AnimatedNumber baseFrequencyY; |
| 2411 | 2301 |
| 2412 /** @domName SVGFETurbulenceElement.numOctaves */ | 2302 /** @domName SVGFETurbulenceElement.numOctaves */ |
| 2413 final SVGAnimatedInteger numOctaves; | 2303 final AnimatedInteger numOctaves; |
| 2414 | 2304 |
| 2415 /** @domName SVGFETurbulenceElement.seed */ | 2305 /** @domName SVGFETurbulenceElement.seed */ |
| 2416 final SVGAnimatedNumber seed; | 2306 final AnimatedNumber seed; |
| 2417 | 2307 |
| 2418 /** @domName SVGFETurbulenceElement.stitchTiles */ | 2308 /** @domName SVGFETurbulenceElement.stitchTiles */ |
| 2419 final SVGAnimatedEnumeration stitchTiles; | 2309 final AnimatedEnumeration stitchTiles; |
| 2420 | 2310 |
| 2421 /** @domName SVGFETurbulenceElement.type */ | 2311 /** @domName SVGFETurbulenceElement.type */ |
| 2422 final SVGAnimatedEnumeration type; | 2312 final AnimatedEnumeration type; |
| 2423 | 2313 |
| 2424 // From SVGFilterPrimitiveStandardAttributes | 2314 // From SVGFilterPrimitiveStandardAttributes |
| 2425 | 2315 |
| 2426 /** @domName SVGFilterPrimitiveStandardAttributes.height */ | 2316 /** @domName SVGFilterPrimitiveStandardAttributes.height */ |
| 2427 final SVGAnimatedLength height; | 2317 final AnimatedLength height; |
| 2428 | 2318 |
| 2429 /** @domName SVGFilterPrimitiveStandardAttributes.result */ | 2319 /** @domName SVGFilterPrimitiveStandardAttributes.result */ |
| 2430 final SVGAnimatedString result; | 2320 final AnimatedString result; |
| 2431 | 2321 |
| 2432 /** @domName SVGFilterPrimitiveStandardAttributes.width */ | 2322 /** @domName SVGFilterPrimitiveStandardAttributes.width */ |
| 2433 final SVGAnimatedLength width; | 2323 final AnimatedLength width; |
| 2434 | 2324 |
| 2435 /** @domName SVGFilterPrimitiveStandardAttributes.x */ | 2325 /** @domName SVGFilterPrimitiveStandardAttributes.x */ |
| 2436 final SVGAnimatedLength x; | 2326 final AnimatedLength x; |
| 2437 | 2327 |
| 2438 /** @domName SVGFilterPrimitiveStandardAttributes.y */ | 2328 /** @domName SVGFilterPrimitiveStandardAttributes.y */ |
| 2439 final SVGAnimatedLength y; | 2329 final AnimatedLength y; |
| 2440 | 2330 |
| 2441 // From SVGStylable | 2331 // From SVGStylable |
| 2442 | 2332 |
| 2443 /** @domName SVGStylable.className */ | 2333 /** @domName SVGStylable.className */ |
| 2444 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 2334 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2445 | 2335 |
| 2446 // Use implementation from Element. | 2336 // Use implementation from Element. |
| 2447 // final CSSStyleDeclaration style; | 2337 // final CSSStyleDeclaration style; |
| 2448 | 2338 |
| 2449 /** @domName SVGStylable.getPresentationAttribute */ | 2339 /** @domName SVGStylable.getPresentationAttribute */ |
| 2450 CSSValue getPresentationAttribute(String name) native; | 2340 CSSValue getPresentationAttribute(String name) native; |
| 2451 } | 2341 } |
| 2452 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2342 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2453 // for details. All rights reserved. Use of this source code is governed by a | 2343 // for details. All rights reserved. Use of this source code is governed by a |
| 2454 // BSD-style license that can be found in the LICENSE file. | 2344 // BSD-style license that can be found in the LICENSE file. |
| 2455 | 2345 |
| 2456 | 2346 |
| 2457 /// @domName SVGFilterElement | 2347 /// @domName SVGFilterElement |
| 2458 class SVGFilterElement extends SVGElement implements SVGURIReference, SVGLangSpa
ce, SVGExternalResourcesRequired, SVGStylable native "*SVGFilterElement" { | 2348 class FilterElement extends SvgElement implements UriReference, ExternalResource
sRequired, Stylable, LangSpace native "*SVGFilterElement" { |
| 2459 | 2349 |
| 2460 factory SVGFilterElement() => _SVGElementFactoryProvider.createSVGElement_tag(
"filter"); | 2350 factory FilterElement() => _SvgElementFactoryProvider.createSvgElement_tag("fi
lter"); |
| 2461 | 2351 |
| 2462 /** @domName SVGFilterElement.filterResX */ | 2352 /** @domName SVGFilterElement.filterResX */ |
| 2463 final SVGAnimatedInteger filterResX; | 2353 final AnimatedInteger filterResX; |
| 2464 | 2354 |
| 2465 /** @domName SVGFilterElement.filterResY */ | 2355 /** @domName SVGFilterElement.filterResY */ |
| 2466 final SVGAnimatedInteger filterResY; | 2356 final AnimatedInteger filterResY; |
| 2467 | 2357 |
| 2468 /** @domName SVGFilterElement.filterUnits */ | 2358 /** @domName SVGFilterElement.filterUnits */ |
| 2469 final SVGAnimatedEnumeration filterUnits; | 2359 final AnimatedEnumeration filterUnits; |
| 2470 | 2360 |
| 2471 /** @domName SVGFilterElement.height */ | 2361 /** @domName SVGFilterElement.height */ |
| 2472 final SVGAnimatedLength height; | 2362 final AnimatedLength height; |
| 2473 | 2363 |
| 2474 /** @domName SVGFilterElement.primitiveUnits */ | 2364 /** @domName SVGFilterElement.primitiveUnits */ |
| 2475 final SVGAnimatedEnumeration primitiveUnits; | 2365 final AnimatedEnumeration primitiveUnits; |
| 2476 | 2366 |
| 2477 /** @domName SVGFilterElement.width */ | 2367 /** @domName SVGFilterElement.width */ |
| 2478 final SVGAnimatedLength width; | 2368 final AnimatedLength width; |
| 2479 | 2369 |
| 2480 /** @domName SVGFilterElement.x */ | 2370 /** @domName SVGFilterElement.x */ |
| 2481 final SVGAnimatedLength x; | 2371 final AnimatedLength x; |
| 2482 | 2372 |
| 2483 /** @domName SVGFilterElement.y */ | 2373 /** @domName SVGFilterElement.y */ |
| 2484 final SVGAnimatedLength y; | 2374 final AnimatedLength y; |
| 2485 | 2375 |
| 2486 /** @domName SVGFilterElement.setFilterRes */ | 2376 /** @domName SVGFilterElement.setFilterRes */ |
| 2487 void setFilterRes(int filterResX, int filterResY) native; | 2377 void setFilterRes(int filterResX, int filterResY) native; |
| 2488 | 2378 |
| 2489 // From SVGExternalResourcesRequired | 2379 // From SVGExternalResourcesRequired |
| 2490 | 2380 |
| 2491 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 2381 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 2492 final SVGAnimatedBoolean externalResourcesRequired; | 2382 final AnimatedBoolean externalResourcesRequired; |
| 2493 | 2383 |
| 2494 // From SVGLangSpace | 2384 // From SVGLangSpace |
| 2495 | 2385 |
| 2496 /** @domName SVGLangSpace.xmllang */ | 2386 /** @domName SVGLangSpace.xmllang */ |
| 2497 String xmllang; | 2387 String xmllang; |
| 2498 | 2388 |
| 2499 /** @domName SVGLangSpace.xmlspace */ | 2389 /** @domName SVGLangSpace.xmlspace */ |
| 2500 String xmlspace; | 2390 String xmlspace; |
| 2501 | 2391 |
| 2502 // From SVGStylable | 2392 // From SVGStylable |
| 2503 | 2393 |
| 2504 /** @domName SVGStylable.className */ | 2394 /** @domName SVGStylable.className */ |
| 2505 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 2395 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2506 | 2396 |
| 2507 // Use implementation from Element. | 2397 // Use implementation from Element. |
| 2508 // final CSSStyleDeclaration style; | 2398 // final CSSStyleDeclaration style; |
| 2509 | 2399 |
| 2510 /** @domName SVGStylable.getPresentationAttribute */ | 2400 /** @domName SVGStylable.getPresentationAttribute */ |
| 2511 CSSValue getPresentationAttribute(String name) native; | 2401 CSSValue getPresentationAttribute(String name) native; |
| 2512 | 2402 |
| 2513 // From SVGURIReference | 2403 // From SVGURIReference |
| 2514 | 2404 |
| 2515 /** @domName SVGURIReference.href */ | 2405 /** @domName SVGURIReference.href */ |
| 2516 final SVGAnimatedString href; | 2406 final AnimatedString href; |
| 2517 } | 2407 } |
| 2518 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2408 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2519 // for details. All rights reserved. Use of this source code is governed by a | 2409 // for details. All rights reserved. Use of this source code is governed by a |
| 2520 // BSD-style license that can be found in the LICENSE file. | 2410 // BSD-style license that can be found in the LICENSE file. |
| 2521 | 2411 |
| 2522 | 2412 |
| 2523 /// @domName SVGFilterPrimitiveStandardAttributes | 2413 /// @domName SVGFilterPrimitiveStandardAttributes |
| 2524 abstract class SVGFilterPrimitiveStandardAttributes implements SVGStylable { | 2414 abstract class FilterPrimitiveStandardAttributes implements Stylable { |
| 2525 | 2415 |
| 2526 SVGAnimatedLength height; | 2416 AnimatedLength height; |
| 2527 | 2417 |
| 2528 SVGAnimatedString result; | 2418 AnimatedString result; |
| 2529 | 2419 |
| 2530 SVGAnimatedLength width; | 2420 AnimatedLength width; |
| 2531 | 2421 |
| 2532 SVGAnimatedLength x; | 2422 AnimatedLength x; |
| 2533 | 2423 |
| 2534 SVGAnimatedLength y; | 2424 AnimatedLength y; |
| 2535 | 2425 |
| 2536 // From SVGStylable | 2426 // From SVGStylable |
| 2537 | 2427 |
| 2538 SVGAnimatedString className; | 2428 AnimatedString className; |
| 2539 | 2429 |
| 2540 CSSStyleDeclaration style; | 2430 CSSStyleDeclaration style; |
| 2541 | 2431 |
| 2542 /** @domName SVGStylable.getPresentationAttribute */ | 2432 /** @domName SVGStylable.getPresentationAttribute */ |
| 2543 CSSValue getPresentationAttribute(String name); | 2433 CSSValue getPresentationAttribute(String name); |
| 2544 } | 2434 } |
| 2545 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2435 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2546 // for details. All rights reserved. Use of this source code is governed by a | 2436 // for details. All rights reserved. Use of this source code is governed by a |
| 2547 // BSD-style license that can be found in the LICENSE file. | 2437 // BSD-style license that can be found in the LICENSE file. |
| 2548 | 2438 |
| 2549 | 2439 |
| 2550 /// @domName SVGFitToViewBox | 2440 /// @domName SVGFitToViewBox |
| 2551 abstract class SVGFitToViewBox { | 2441 abstract class FitToViewBox { |
| 2552 | 2442 |
| 2553 SVGAnimatedPreserveAspectRatio preserveAspectRatio; | 2443 AnimatedPreserveAspectRatio preserveAspectRatio; |
| 2554 | 2444 |
| 2555 SVGAnimatedRect viewBox; | 2445 AnimatedRect viewBox; |
| 2556 } | 2446 } |
| 2557 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2447 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2558 // for details. All rights reserved. Use of this source code is governed by a | 2448 // for details. All rights reserved. Use of this source code is governed by a |
| 2559 // BSD-style license that can be found in the LICENSE file. | 2449 // BSD-style license that can be found in the LICENSE file. |
| 2560 | 2450 |
| 2561 | 2451 |
| 2562 /// @domName SVGFontElement | 2452 /// @domName SVGFontElement |
| 2563 class SVGFontElement extends SVGElement native "*SVGFontElement" { | 2453 class FontElement extends SvgElement native "*SVGFontElement" { |
| 2564 | 2454 |
| 2565 factory SVGFontElement() => _SVGElementFactoryProvider.createSVGElement_tag("f
ont"); | 2455 factory FontElement() => _SvgElementFactoryProvider.createSvgElement_tag("font
"); |
| 2566 } | 2456 } |
| 2567 // 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 |
| 2568 // 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 |
| 2569 // BSD-style license that can be found in the LICENSE file. | 2459 // BSD-style license that can be found in the LICENSE file. |
| 2570 | 2460 |
| 2571 | 2461 |
| 2572 /// @domName SVGFontFaceElement | 2462 /// @domName SVGFontFaceElement |
| 2573 class SVGFontFaceElement extends SVGElement native "*SVGFontFaceElement" { | 2463 class FontFaceElement extends SvgElement native "*SVGFontFaceElement" { |
| 2574 | 2464 |
| 2575 factory SVGFontFaceElement() => _SVGElementFactoryProvider.createSVGElement_ta
g("font-face"); | 2465 factory FontFaceElement() => _SvgElementFactoryProvider.createSvgElement_tag("
font-face"); |
| 2576 } | 2466 } |
| 2577 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2467 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2578 // for details. All rights reserved. Use of this source code is governed by a | 2468 // for details. All rights reserved. Use of this source code is governed by a |
| 2579 // BSD-style license that can be found in the LICENSE file. | 2469 // BSD-style license that can be found in the LICENSE file. |
| 2580 | 2470 |
| 2581 | 2471 |
| 2582 /// @domName SVGFontFaceFormatElement | 2472 /// @domName SVGFontFaceFormatElement |
| 2583 class SVGFontFaceFormatElement extends SVGElement native "*SVGFontFaceFormatElem
ent" { | 2473 class FontFaceFormatElement extends SvgElement native "*SVGFontFaceFormatElement
" { |
| 2584 | 2474 |
| 2585 factory SVGFontFaceFormatElement() => _SVGElementFactoryProvider.createSVGElem
ent_tag("font-face-format"); | 2475 factory FontFaceFormatElement() => _SvgElementFactoryProvider.createSvgElement
_tag("font-face-format"); |
| 2586 } | 2476 } |
| 2587 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2477 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2588 // for details. All rights reserved. Use of this source code is governed by a | 2478 // for details. All rights reserved. Use of this source code is governed by a |
| 2589 // BSD-style license that can be found in the LICENSE file. | 2479 // BSD-style license that can be found in the LICENSE file. |
| 2590 | 2480 |
| 2591 | 2481 |
| 2592 /// @domName SVGFontFaceNameElement | 2482 /// @domName SVGFontFaceNameElement |
| 2593 class SVGFontFaceNameElement extends SVGElement native "*SVGFontFaceNameElement"
{ | 2483 class FontFaceNameElement extends SvgElement native "*SVGFontFaceNameElement" { |
| 2594 | 2484 |
| 2595 factory SVGFontFaceNameElement() => _SVGElementFactoryProvider.createSVGElemen
t_tag("font-face-name"); | 2485 factory FontFaceNameElement() => _SvgElementFactoryProvider.createSvgElement_t
ag("font-face-name"); |
| 2596 } | 2486 } |
| 2597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2487 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2598 // for details. All rights reserved. Use of this source code is governed by a | 2488 // for details. All rights reserved. Use of this source code is governed by a |
| 2599 // BSD-style license that can be found in the LICENSE file. | 2489 // BSD-style license that can be found in the LICENSE file. |
| 2600 | 2490 |
| 2601 | 2491 |
| 2602 /// @domName SVGFontFaceSrcElement | 2492 /// @domName SVGFontFaceSrcElement |
| 2603 class SVGFontFaceSrcElement extends SVGElement native "*SVGFontFaceSrcElement" { | 2493 class FontFaceSrcElement extends SvgElement native "*SVGFontFaceSrcElement" { |
| 2604 | 2494 |
| 2605 factory SVGFontFaceSrcElement() => _SVGElementFactoryProvider.createSVGElement
_tag("font-face-src"); | 2495 factory FontFaceSrcElement() => _SvgElementFactoryProvider.createSvgElement_ta
g("font-face-src"); |
| 2606 } | 2496 } |
| 2607 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2497 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2608 // for details. All rights reserved. Use of this source code is governed by a | 2498 // for details. All rights reserved. Use of this source code is governed by a |
| 2609 // BSD-style license that can be found in the LICENSE file. | 2499 // BSD-style license that can be found in the LICENSE file. |
| 2610 | 2500 |
| 2611 | 2501 |
| 2612 /// @domName SVGFontFaceUriElement | 2502 /// @domName SVGFontFaceUriElement |
| 2613 class SVGFontFaceUriElement extends SVGElement native "*SVGFontFaceUriElement" { | 2503 class FontFaceUriElement extends SvgElement native "*SVGFontFaceUriElement" { |
| 2614 | 2504 |
| 2615 factory SVGFontFaceUriElement() => _SVGElementFactoryProvider.createSVGElement
_tag("font-face-uri"); | 2505 factory FontFaceUriElement() => _SvgElementFactoryProvider.createSvgElement_ta
g("font-face-uri"); |
| 2616 } | 2506 } |
| 2617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2507 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2618 // for details. All rights reserved. Use of this source code is governed by a | 2508 // for details. All rights reserved. Use of this source code is governed by a |
| 2619 // BSD-style license that can be found in the LICENSE file. | 2509 // BSD-style license that can be found in the LICENSE file. |
| 2620 | 2510 |
| 2621 | 2511 |
| 2622 /// @domName SVGForeignObjectElement | 2512 /// @domName SVGForeignObjectElement |
| 2623 class SVGForeignObjectElement extends SVGElement implements SVGLangSpace, SVGSty
lable, SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGFore
ignObjectElement" { | 2513 class ForeignObjectElement extends SvgElement implements Transformable, Tests, S
tylable, ExternalResourcesRequired, LangSpace native "*SVGForeignObjectElement"
{ |
| 2624 | 2514 |
| 2625 factory SVGForeignObjectElement() => _SVGElementFactoryProvider.createSVGEleme
nt_tag("foreignObject"); | 2515 factory ForeignObjectElement() => _SvgElementFactoryProvider.createSvgElement_
tag("foreignObject"); |
| 2626 | 2516 |
| 2627 /** @domName SVGForeignObjectElement.height */ | 2517 /** @domName SVGForeignObjectElement.height */ |
| 2628 final SVGAnimatedLength height; | 2518 final AnimatedLength height; |
| 2629 | 2519 |
| 2630 /** @domName SVGForeignObjectElement.width */ | 2520 /** @domName SVGForeignObjectElement.width */ |
| 2631 final SVGAnimatedLength width; | 2521 final AnimatedLength width; |
| 2632 | 2522 |
| 2633 /** @domName SVGForeignObjectElement.x */ | 2523 /** @domName SVGForeignObjectElement.x */ |
| 2634 final SVGAnimatedLength x; | 2524 final AnimatedLength x; |
| 2635 | 2525 |
| 2636 /** @domName SVGForeignObjectElement.y */ | 2526 /** @domName SVGForeignObjectElement.y */ |
| 2637 final SVGAnimatedLength y; | 2527 final AnimatedLength y; |
| 2638 | 2528 |
| 2639 // From SVGExternalResourcesRequired | 2529 // From SVGExternalResourcesRequired |
| 2640 | 2530 |
| 2641 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 2531 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 2642 final SVGAnimatedBoolean externalResourcesRequired; | 2532 final AnimatedBoolean externalResourcesRequired; |
| 2643 | 2533 |
| 2644 // From SVGLangSpace | 2534 // From SVGLangSpace |
| 2645 | 2535 |
| 2646 /** @domName SVGLangSpace.xmllang */ | 2536 /** @domName SVGLangSpace.xmllang */ |
| 2647 String xmllang; | 2537 String xmllang; |
| 2648 | 2538 |
| 2649 /** @domName SVGLangSpace.xmlspace */ | 2539 /** @domName SVGLangSpace.xmlspace */ |
| 2650 String xmlspace; | 2540 String xmlspace; |
| 2651 | 2541 |
| 2652 // From SVGLocatable | 2542 // From SVGLocatable |
| 2653 | 2543 |
| 2654 /** @domName SVGLocatable.farthestViewportElement */ | 2544 /** @domName SVGLocatable.farthestViewportElement */ |
| 2655 final SVGElement farthestViewportElement; | 2545 final SvgElement farthestViewportElement; |
| 2656 | 2546 |
| 2657 /** @domName SVGLocatable.nearestViewportElement */ | 2547 /** @domName SVGLocatable.nearestViewportElement */ |
| 2658 final SVGElement nearestViewportElement; | 2548 final SvgElement nearestViewportElement; |
| 2659 | 2549 |
| 2660 /** @domName SVGLocatable.getBBox */ | 2550 /** @domName SVGLocatable.getBBox */ |
| 2661 SVGRect getBBox() native; | 2551 Rect getBBox() native; |
| 2662 | 2552 |
| 2663 /** @domName SVGLocatable.getCTM */ | 2553 /** @domName SVGLocatable.getCTM */ |
| 2664 SVGMatrix getCTM() native; | 2554 Matrix getCTM() native; |
| 2665 | 2555 |
| 2666 /** @domName SVGLocatable.getScreenCTM */ | 2556 /** @domName SVGLocatable.getScreenCTM */ |
| 2667 SVGMatrix getScreenCTM() native; | 2557 Matrix getScreenCTM() native; |
| 2668 | 2558 |
| 2669 /** @domName SVGLocatable.getTransformToElement */ | 2559 /** @domName SVGLocatable.getTransformToElement */ |
| 2670 SVGMatrix getTransformToElement(SVGElement element) native; | 2560 Matrix getTransformToElement(SvgElement element) native; |
| 2671 | 2561 |
| 2672 // From SVGStylable | 2562 // From SVGStylable |
| 2673 | 2563 |
| 2674 /** @domName SVGStylable.className */ | 2564 /** @domName SVGStylable.className */ |
| 2675 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 2565 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2676 | 2566 |
| 2677 // Use implementation from Element. | 2567 // Use implementation from Element. |
| 2678 // final CSSStyleDeclaration style; | 2568 // final CSSStyleDeclaration style; |
| 2679 | 2569 |
| 2680 /** @domName SVGStylable.getPresentationAttribute */ | 2570 /** @domName SVGStylable.getPresentationAttribute */ |
| 2681 CSSValue getPresentationAttribute(String name) native; | 2571 CSSValue getPresentationAttribute(String name) native; |
| 2682 | 2572 |
| 2683 // From SVGTests | 2573 // From SVGTests |
| 2684 | 2574 |
| 2685 /** @domName SVGTests.requiredExtensions */ | 2575 /** @domName SVGTests.requiredExtensions */ |
| 2686 final SVGStringList requiredExtensions; | 2576 final StringList requiredExtensions; |
| 2687 | 2577 |
| 2688 /** @domName SVGTests.requiredFeatures */ | 2578 /** @domName SVGTests.requiredFeatures */ |
| 2689 final SVGStringList requiredFeatures; | 2579 final StringList requiredFeatures; |
| 2690 | 2580 |
| 2691 /** @domName SVGTests.systemLanguage */ | 2581 /** @domName SVGTests.systemLanguage */ |
| 2692 final SVGStringList systemLanguage; | 2582 final StringList systemLanguage; |
| 2693 | 2583 |
| 2694 /** @domName SVGTests.hasExtension */ | 2584 /** @domName SVGTests.hasExtension */ |
| 2695 bool hasExtension(String extension) native; | 2585 bool hasExtension(String extension) native; |
| 2696 | 2586 |
| 2697 // From SVGTransformable | 2587 // From SVGTransformable |
| 2698 | 2588 |
| 2699 /** @domName SVGTransformable.transform */ | 2589 /** @domName SVGTransformable.transform */ |
| 2700 final SVGAnimatedTransformList transform; | 2590 final AnimatedTransformList transform; |
| 2701 } | 2591 } |
| 2702 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2592 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2703 // for details. All rights reserved. Use of this source code is governed by a | 2593 // for details. All rights reserved. Use of this source code is governed by a |
| 2704 // BSD-style license that can be found in the LICENSE file. | 2594 // BSD-style license that can be found in the LICENSE file. |
| 2705 | 2595 |
| 2706 | 2596 |
| 2707 /// @domName SVGGElement | 2597 /// @domName SVGGElement |
| 2708 class SVGGElement extends SVGElement implements SVGLangSpace, SVGStylable, SVGTe
sts, SVGTransformable, SVGExternalResourcesRequired native "*SVGGElement" { | 2598 class GElement extends SvgElement implements Transformable, Tests, Stylable, Ext
ernalResourcesRequired, LangSpace native "*SVGGElement" { |
| 2709 | 2599 |
| 2710 factory SVGGElement() => _SVGElementFactoryProvider.createSVGElement_tag("g"); | 2600 factory GElement() => _SvgElementFactoryProvider.createSvgElement_tag("g"); |
| 2711 | 2601 |
| 2712 // From SVGExternalResourcesRequired | 2602 // From SVGExternalResourcesRequired |
| 2713 | 2603 |
| 2714 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 2604 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 2715 final SVGAnimatedBoolean externalResourcesRequired; | 2605 final AnimatedBoolean externalResourcesRequired; |
| 2716 | 2606 |
| 2717 // From SVGLangSpace | 2607 // From SVGLangSpace |
| 2718 | 2608 |
| 2719 /** @domName SVGLangSpace.xmllang */ | 2609 /** @domName SVGLangSpace.xmllang */ |
| 2720 String xmllang; | 2610 String xmllang; |
| 2721 | 2611 |
| 2722 /** @domName SVGLangSpace.xmlspace */ | 2612 /** @domName SVGLangSpace.xmlspace */ |
| 2723 String xmlspace; | 2613 String xmlspace; |
| 2724 | 2614 |
| 2725 // From SVGLocatable | 2615 // From SVGLocatable |
| 2726 | 2616 |
| 2727 /** @domName SVGLocatable.farthestViewportElement */ | 2617 /** @domName SVGLocatable.farthestViewportElement */ |
| 2728 final SVGElement farthestViewportElement; | 2618 final SvgElement farthestViewportElement; |
| 2729 | 2619 |
| 2730 /** @domName SVGLocatable.nearestViewportElement */ | 2620 /** @domName SVGLocatable.nearestViewportElement */ |
| 2731 final SVGElement nearestViewportElement; | 2621 final SvgElement nearestViewportElement; |
| 2732 | 2622 |
| 2733 /** @domName SVGLocatable.getBBox */ | 2623 /** @domName SVGLocatable.getBBox */ |
| 2734 SVGRect getBBox() native; | 2624 Rect getBBox() native; |
| 2735 | 2625 |
| 2736 /** @domName SVGLocatable.getCTM */ | 2626 /** @domName SVGLocatable.getCTM */ |
| 2737 SVGMatrix getCTM() native; | 2627 Matrix getCTM() native; |
| 2738 | 2628 |
| 2739 /** @domName SVGLocatable.getScreenCTM */ | 2629 /** @domName SVGLocatable.getScreenCTM */ |
| 2740 SVGMatrix getScreenCTM() native; | 2630 Matrix getScreenCTM() native; |
| 2741 | 2631 |
| 2742 /** @domName SVGLocatable.getTransformToElement */ | 2632 /** @domName SVGLocatable.getTransformToElement */ |
| 2743 SVGMatrix getTransformToElement(SVGElement element) native; | 2633 Matrix getTransformToElement(SvgElement element) native; |
| 2744 | 2634 |
| 2745 // From SVGStylable | 2635 // From SVGStylable |
| 2746 | 2636 |
| 2747 /** @domName SVGStylable.className */ | 2637 /** @domName SVGStylable.className */ |
| 2748 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 2638 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2749 | 2639 |
| 2750 // Use implementation from Element. | 2640 // Use implementation from Element. |
| 2751 // final CSSStyleDeclaration style; | 2641 // final CSSStyleDeclaration style; |
| 2752 | 2642 |
| 2753 /** @domName SVGStylable.getPresentationAttribute */ | 2643 /** @domName SVGStylable.getPresentationAttribute */ |
| 2754 CSSValue getPresentationAttribute(String name) native; | 2644 CSSValue getPresentationAttribute(String name) native; |
| 2755 | 2645 |
| 2756 // From SVGTests | 2646 // From SVGTests |
| 2757 | 2647 |
| 2758 /** @domName SVGTests.requiredExtensions */ | 2648 /** @domName SVGTests.requiredExtensions */ |
| 2759 final SVGStringList requiredExtensions; | 2649 final StringList requiredExtensions; |
| 2760 | 2650 |
| 2761 /** @domName SVGTests.requiredFeatures */ | 2651 /** @domName SVGTests.requiredFeatures */ |
| 2762 final SVGStringList requiredFeatures; | 2652 final StringList requiredFeatures; |
| 2763 | 2653 |
| 2764 /** @domName SVGTests.systemLanguage */ | 2654 /** @domName SVGTests.systemLanguage */ |
| 2765 final SVGStringList systemLanguage; | 2655 final StringList systemLanguage; |
| 2766 | 2656 |
| 2767 /** @domName SVGTests.hasExtension */ | 2657 /** @domName SVGTests.hasExtension */ |
| 2768 bool hasExtension(String extension) native; | 2658 bool hasExtension(String extension) native; |
| 2769 | 2659 |
| 2770 // From SVGTransformable | 2660 // From SVGTransformable |
| 2771 | 2661 |
| 2772 /** @domName SVGTransformable.transform */ | 2662 /** @domName SVGTransformable.transform */ |
| 2773 final SVGAnimatedTransformList transform; | 2663 final AnimatedTransformList transform; |
| 2774 } | 2664 } |
| 2775 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2665 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2776 // for details. All rights reserved. Use of this source code is governed by a | 2666 // for details. All rights reserved. Use of this source code is governed by a |
| 2777 // BSD-style license that can be found in the LICENSE file. | 2667 // BSD-style license that can be found in the LICENSE file. |
| 2778 | 2668 |
| 2779 | 2669 |
| 2780 /// @domName SVGGlyphElement | 2670 /// @domName SVGGlyphElement |
| 2781 class SVGGlyphElement extends SVGElement native "*SVGGlyphElement" { | 2671 class GlyphElement extends SvgElement native "*SVGGlyphElement" { |
| 2782 | 2672 |
| 2783 factory SVGGlyphElement() => _SVGElementFactoryProvider.createSVGElement_tag("
glyph"); | 2673 factory GlyphElement() => _SvgElementFactoryProvider.createSvgElement_tag("gly
ph"); |
| 2784 } | 2674 } |
| 2785 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2675 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2786 // for details. All rights reserved. Use of this source code is governed by a | 2676 // for details. All rights reserved. Use of this source code is governed by a |
| 2787 // BSD-style license that can be found in the LICENSE file. | 2677 // BSD-style license that can be found in the LICENSE file. |
| 2788 | 2678 |
| 2789 | 2679 |
| 2790 /// @domName SVGGlyphRefElement | 2680 /// @domName SVGGlyphRefElement |
| 2791 class SVGGlyphRefElement extends SVGElement implements SVGURIReference, SVGStyla
ble native "*SVGGlyphRefElement" { | 2681 class GlyphRefElement extends SvgElement implements UriReference, Stylable nativ
e "*SVGGlyphRefElement" { |
| 2792 | 2682 |
| 2793 /** @domName SVGGlyphRefElement.dx */ | 2683 /** @domName SVGGlyphRefElement.dx */ |
| 2794 num dx; | 2684 num dx; |
| 2795 | 2685 |
| 2796 /** @domName SVGGlyphRefElement.dy */ | 2686 /** @domName SVGGlyphRefElement.dy */ |
| 2797 num dy; | 2687 num dy; |
| 2798 | 2688 |
| 2799 /** @domName SVGGlyphRefElement.format */ | 2689 /** @domName SVGGlyphRefElement.format */ |
| 2800 String format; | 2690 String format; |
| 2801 | 2691 |
| 2802 /** @domName SVGGlyphRefElement.glyphRef */ | 2692 /** @domName SVGGlyphRefElement.glyphRef */ |
| 2803 String glyphRef; | 2693 String glyphRef; |
| 2804 | 2694 |
| 2805 /** @domName SVGGlyphRefElement.x */ | 2695 /** @domName SVGGlyphRefElement.x */ |
| 2806 num x; | 2696 num x; |
| 2807 | 2697 |
| 2808 /** @domName SVGGlyphRefElement.y */ | 2698 /** @domName SVGGlyphRefElement.y */ |
| 2809 num y; | 2699 num y; |
| 2810 | 2700 |
| 2811 // From SVGStylable | 2701 // From SVGStylable |
| 2812 | 2702 |
| 2813 /** @domName SVGStylable.className */ | 2703 /** @domName SVGStylable.className */ |
| 2814 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 2704 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2815 | 2705 |
| 2816 // Use implementation from Element. | 2706 // Use implementation from Element. |
| 2817 // final CSSStyleDeclaration style; | 2707 // final CSSStyleDeclaration style; |
| 2818 | 2708 |
| 2819 /** @domName SVGStylable.getPresentationAttribute */ | 2709 /** @domName SVGStylable.getPresentationAttribute */ |
| 2820 CSSValue getPresentationAttribute(String name) native; | 2710 CSSValue getPresentationAttribute(String name) native; |
| 2821 | 2711 |
| 2822 // From SVGURIReference | 2712 // From SVGURIReference |
| 2823 | 2713 |
| 2824 /** @domName SVGURIReference.href */ | 2714 /** @domName SVGURIReference.href */ |
| 2825 final SVGAnimatedString href; | 2715 final AnimatedString href; |
| 2826 } | 2716 } |
| 2827 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2717 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2828 // for details. All rights reserved. Use of this source code is governed by a | 2718 // for details. All rights reserved. Use of this source code is governed by a |
| 2829 // BSD-style license that can be found in the LICENSE file. | 2719 // BSD-style license that can be found in the LICENSE file. |
| 2830 | 2720 |
| 2831 | 2721 |
| 2832 /// @domName SVGGradientElement | 2722 /// @domName SVGGradientElement |
| 2833 class SVGGradientElement extends SVGElement implements SVGURIReference, SVGExter
nalResourcesRequired, SVGStylable native "*SVGGradientElement" { | 2723 class GradientElement extends SvgElement implements UriReference, ExternalResour
cesRequired, Stylable native "*SVGGradientElement" { |
| 2834 | 2724 |
| 2835 static const int SVG_SPREADMETHOD_PAD = 1; | 2725 static const int SVG_SPREADMETHOD_PAD = 1; |
| 2836 | 2726 |
| 2837 static const int SVG_SPREADMETHOD_REFLECT = 2; | 2727 static const int SVG_SPREADMETHOD_REFLECT = 2; |
| 2838 | 2728 |
| 2839 static const int SVG_SPREADMETHOD_REPEAT = 3; | 2729 static const int SVG_SPREADMETHOD_REPEAT = 3; |
| 2840 | 2730 |
| 2841 static const int SVG_SPREADMETHOD_UNKNOWN = 0; | 2731 static const int SVG_SPREADMETHOD_UNKNOWN = 0; |
| 2842 | 2732 |
| 2843 /** @domName SVGGradientElement.gradientTransform */ | 2733 /** @domName SVGGradientElement.gradientTransform */ |
| 2844 final SVGAnimatedTransformList gradientTransform; | 2734 final AnimatedTransformList gradientTransform; |
| 2845 | 2735 |
| 2846 /** @domName SVGGradientElement.gradientUnits */ | 2736 /** @domName SVGGradientElement.gradientUnits */ |
| 2847 final SVGAnimatedEnumeration gradientUnits; | 2737 final AnimatedEnumeration gradientUnits; |
| 2848 | 2738 |
| 2849 /** @domName SVGGradientElement.spreadMethod */ | 2739 /** @domName SVGGradientElement.spreadMethod */ |
| 2850 final SVGAnimatedEnumeration spreadMethod; | 2740 final AnimatedEnumeration spreadMethod; |
| 2851 | 2741 |
| 2852 // From SVGExternalResourcesRequired | 2742 // From SVGExternalResourcesRequired |
| 2853 | 2743 |
| 2854 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 2744 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 2855 final SVGAnimatedBoolean externalResourcesRequired; | 2745 final AnimatedBoolean externalResourcesRequired; |
| 2856 | 2746 |
| 2857 // From SVGStylable | 2747 // From SVGStylable |
| 2858 | 2748 |
| 2859 /** @domName SVGStylable.className */ | 2749 /** @domName SVGStylable.className */ |
| 2860 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 2750 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2861 | 2751 |
| 2862 // Use implementation from Element. | 2752 // Use implementation from Element. |
| 2863 // final CSSStyleDeclaration style; | 2753 // final CSSStyleDeclaration style; |
| 2864 | 2754 |
| 2865 /** @domName SVGStylable.getPresentationAttribute */ | 2755 /** @domName SVGStylable.getPresentationAttribute */ |
| 2866 CSSValue getPresentationAttribute(String name) native; | 2756 CSSValue getPresentationAttribute(String name) native; |
| 2867 | 2757 |
| 2868 // From SVGURIReference | 2758 // From SVGURIReference |
| 2869 | 2759 |
| 2870 /** @domName SVGURIReference.href */ | 2760 /** @domName SVGURIReference.href */ |
| 2871 final SVGAnimatedString href; | 2761 final AnimatedString href; |
| 2872 } | 2762 } |
| 2873 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2763 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2874 // for details. All rights reserved. Use of this source code is governed by a | 2764 // for details. All rights reserved. Use of this source code is governed by a |
| 2875 // BSD-style license that can be found in the LICENSE file. | 2765 // BSD-style license that can be found in the LICENSE file. |
| 2876 | 2766 |
| 2877 | 2767 |
| 2878 /// @domName SVGHKernElement | 2768 /// @domName SVGHKernElement |
| 2879 class SVGHKernElement extends SVGElement native "*SVGHKernElement" { | 2769 class HKernElement extends SvgElement native "*SVGHKernElement" { |
| 2880 | 2770 |
| 2881 factory SVGHKernElement() => _SVGElementFactoryProvider.createSVGElement_tag("
hkern"); | 2771 factory HKernElement() => _SvgElementFactoryProvider.createSvgElement_tag("hke
rn"); |
| 2882 } | 2772 } |
| 2883 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2773 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2884 // for details. All rights reserved. Use of this source code is governed by a | 2774 // for details. All rights reserved. Use of this source code is governed by a |
| 2885 // BSD-style license that can be found in the LICENSE file. | 2775 // BSD-style license that can be found in the LICENSE file. |
| 2886 | 2776 |
| 2887 | 2777 |
| 2888 /// @domName SVGImageElement | 2778 /// @domName SVGImageElement |
| 2889 class SVGImageElement extends SVGElement implements SVGLangSpace, SVGTests, SVGS
tylable, SVGURIReference, SVGExternalResourcesRequired, SVGTransformable native
"*SVGImageElement" { | 2779 class ImageElement extends SvgElement implements Transformable, Tests, UriRefere
nce, Stylable, ExternalResourcesRequired, LangSpace native "*SVGImageElement" { |
| 2890 | 2780 |
| 2891 factory SVGImageElement() => _SVGElementFactoryProvider.createSVGElement_tag("
image"); | 2781 factory ImageElement() => _SvgElementFactoryProvider.createSvgElement_tag("ima
ge"); |
| 2892 | 2782 |
| 2893 /** @domName SVGImageElement.height */ | 2783 /** @domName SVGImageElement.height */ |
| 2894 final SVGAnimatedLength height; | 2784 final AnimatedLength height; |
| 2895 | 2785 |
| 2896 /** @domName SVGImageElement.preserveAspectRatio */ | 2786 /** @domName SVGImageElement.preserveAspectRatio */ |
| 2897 final SVGAnimatedPreserveAspectRatio preserveAspectRatio; | 2787 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 2898 | 2788 |
| 2899 /** @domName SVGImageElement.width */ | 2789 /** @domName SVGImageElement.width */ |
| 2900 final SVGAnimatedLength width; | 2790 final AnimatedLength width; |
| 2901 | 2791 |
| 2902 /** @domName SVGImageElement.x */ | 2792 /** @domName SVGImageElement.x */ |
| 2903 final SVGAnimatedLength x; | 2793 final AnimatedLength x; |
| 2904 | 2794 |
| 2905 /** @domName SVGImageElement.y */ | 2795 /** @domName SVGImageElement.y */ |
| 2906 final SVGAnimatedLength y; | 2796 final AnimatedLength y; |
| 2907 | 2797 |
| 2908 // From SVGExternalResourcesRequired | 2798 // From SVGExternalResourcesRequired |
| 2909 | 2799 |
| 2910 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 2800 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 2911 final SVGAnimatedBoolean externalResourcesRequired; | 2801 final AnimatedBoolean externalResourcesRequired; |
| 2912 | 2802 |
| 2913 // From SVGLangSpace | 2803 // From SVGLangSpace |
| 2914 | 2804 |
| 2915 /** @domName SVGLangSpace.xmllang */ | 2805 /** @domName SVGLangSpace.xmllang */ |
| 2916 String xmllang; | 2806 String xmllang; |
| 2917 | 2807 |
| 2918 /** @domName SVGLangSpace.xmlspace */ | 2808 /** @domName SVGLangSpace.xmlspace */ |
| 2919 String xmlspace; | 2809 String xmlspace; |
| 2920 | 2810 |
| 2921 // From SVGLocatable | 2811 // From SVGLocatable |
| 2922 | 2812 |
| 2923 /** @domName SVGLocatable.farthestViewportElement */ | 2813 /** @domName SVGLocatable.farthestViewportElement */ |
| 2924 final SVGElement farthestViewportElement; | 2814 final SvgElement farthestViewportElement; |
| 2925 | 2815 |
| 2926 /** @domName SVGLocatable.nearestViewportElement */ | 2816 /** @domName SVGLocatable.nearestViewportElement */ |
| 2927 final SVGElement nearestViewportElement; | 2817 final SvgElement nearestViewportElement; |
| 2928 | 2818 |
| 2929 /** @domName SVGLocatable.getBBox */ | 2819 /** @domName SVGLocatable.getBBox */ |
| 2930 SVGRect getBBox() native; | 2820 Rect getBBox() native; |
| 2931 | 2821 |
| 2932 /** @domName SVGLocatable.getCTM */ | 2822 /** @domName SVGLocatable.getCTM */ |
| 2933 SVGMatrix getCTM() native; | 2823 Matrix getCTM() native; |
| 2934 | 2824 |
| 2935 /** @domName SVGLocatable.getScreenCTM */ | 2825 /** @domName SVGLocatable.getScreenCTM */ |
| 2936 SVGMatrix getScreenCTM() native; | 2826 Matrix getScreenCTM() native; |
| 2937 | 2827 |
| 2938 /** @domName SVGLocatable.getTransformToElement */ | 2828 /** @domName SVGLocatable.getTransformToElement */ |
| 2939 SVGMatrix getTransformToElement(SVGElement element) native; | 2829 Matrix getTransformToElement(SvgElement element) native; |
| 2940 | 2830 |
| 2941 // From SVGStylable | 2831 // From SVGStylable |
| 2942 | 2832 |
| 2943 /** @domName SVGStylable.className */ | 2833 /** @domName SVGStylable.className */ |
| 2944 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 2834 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 2945 | 2835 |
| 2946 // Use implementation from Element. | 2836 // Use implementation from Element. |
| 2947 // final CSSStyleDeclaration style; | 2837 // final CSSStyleDeclaration style; |
| 2948 | 2838 |
| 2949 /** @domName SVGStylable.getPresentationAttribute */ | 2839 /** @domName SVGStylable.getPresentationAttribute */ |
| 2950 CSSValue getPresentationAttribute(String name) native; | 2840 CSSValue getPresentationAttribute(String name) native; |
| 2951 | 2841 |
| 2952 // From SVGTests | 2842 // From SVGTests |
| 2953 | 2843 |
| 2954 /** @domName SVGTests.requiredExtensions */ | 2844 /** @domName SVGTests.requiredExtensions */ |
| 2955 final SVGStringList requiredExtensions; | 2845 final StringList requiredExtensions; |
| 2956 | 2846 |
| 2957 /** @domName SVGTests.requiredFeatures */ | 2847 /** @domName SVGTests.requiredFeatures */ |
| 2958 final SVGStringList requiredFeatures; | 2848 final StringList requiredFeatures; |
| 2959 | 2849 |
| 2960 /** @domName SVGTests.systemLanguage */ | 2850 /** @domName SVGTests.systemLanguage */ |
| 2961 final SVGStringList systemLanguage; | 2851 final StringList systemLanguage; |
| 2962 | 2852 |
| 2963 /** @domName SVGTests.hasExtension */ | 2853 /** @domName SVGTests.hasExtension */ |
| 2964 bool hasExtension(String extension) native; | 2854 bool hasExtension(String extension) native; |
| 2965 | 2855 |
| 2966 // From SVGTransformable | 2856 // From SVGTransformable |
| 2967 | 2857 |
| 2968 /** @domName SVGTransformable.transform */ | 2858 /** @domName SVGTransformable.transform */ |
| 2969 final SVGAnimatedTransformList transform; | 2859 final AnimatedTransformList transform; |
| 2970 | 2860 |
| 2971 // From SVGURIReference | 2861 // From SVGURIReference |
| 2972 | 2862 |
| 2973 /** @domName SVGURIReference.href */ | 2863 /** @domName SVGURIReference.href */ |
| 2974 final SVGAnimatedString href; | 2864 final AnimatedString href; |
| 2975 } | 2865 } |
| 2976 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2866 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2977 // for details. All rights reserved. Use of this source code is governed by a | 2867 // for details. All rights reserved. Use of this source code is governed by a |
| 2978 // BSD-style license that can be found in the LICENSE file. | 2868 // BSD-style license that can be found in the LICENSE file. |
| 2979 | 2869 |
| 2980 | 2870 |
| 2981 /// @domName SVGLangSpace | 2871 /// @domName SVGLangSpace |
| 2982 abstract class SVGLangSpace { | 2872 abstract class LangSpace { |
| 2983 | 2873 |
| 2984 String xmllang; | 2874 String xmllang; |
| 2985 | 2875 |
| 2986 String xmlspace; | 2876 String xmlspace; |
| 2987 } | 2877 } |
| 2988 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2878 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2989 // for details. All rights reserved. Use of this source code is governed by a | 2879 // for details. All rights reserved. Use of this source code is governed by a |
| 2990 // BSD-style license that can be found in the LICENSE file. | 2880 // BSD-style license that can be found in the LICENSE file. |
| 2991 | 2881 |
| 2992 | 2882 |
| 2993 /// @domName SVGLength | 2883 /// @domName SVGLength |
| 2994 class SVGLength native "*SVGLength" { | 2884 class Length native "*SVGLength" { |
| 2995 | 2885 |
| 2996 static const int SVG_LENGTHTYPE_CM = 6; | 2886 static const int SVG_LENGTHTYPE_CM = 6; |
| 2997 | 2887 |
| 2998 static const int SVG_LENGTHTYPE_EMS = 3; | 2888 static const int SVG_LENGTHTYPE_EMS = 3; |
| 2999 | 2889 |
| 3000 static const int SVG_LENGTHTYPE_EXS = 4; | 2890 static const int SVG_LENGTHTYPE_EXS = 4; |
| 3001 | 2891 |
| 3002 static const int SVG_LENGTHTYPE_IN = 8; | 2892 static const int SVG_LENGTHTYPE_IN = 8; |
| 3003 | 2893 |
| 3004 static const int SVG_LENGTHTYPE_MM = 7; | 2894 static const int SVG_LENGTHTYPE_MM = 7; |
| (...skipping 27 matching lines...) Expand all Loading... |
| 3032 | 2922 |
| 3033 /** @domName SVGLength.newValueSpecifiedUnits */ | 2923 /** @domName SVGLength.newValueSpecifiedUnits */ |
| 3034 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; | 2924 void newValueSpecifiedUnits(int unitType, num valueInSpecifiedUnits) native; |
| 3035 } | 2925 } |
| 3036 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2926 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3037 // for details. All rights reserved. Use of this source code is governed by a | 2927 // for details. All rights reserved. Use of this source code is governed by a |
| 3038 // BSD-style license that can be found in the LICENSE file. | 2928 // BSD-style license that can be found in the LICENSE file. |
| 3039 | 2929 |
| 3040 | 2930 |
| 3041 /// @domName SVGLengthList | 2931 /// @domName SVGLengthList |
| 3042 class SVGLengthList implements JavaScriptIndexingBehavior, List<SVGLength> nativ
e "*SVGLengthList" { | 2932 class LengthList implements JavaScriptIndexingBehavior, List<Length> native "*SV
GLengthList" { |
| 3043 | 2933 |
| 3044 /** @domName SVGLengthList.numberOfItems */ | 2934 /** @domName SVGLengthList.numberOfItems */ |
| 3045 final int numberOfItems; | 2935 final int numberOfItems; |
| 3046 | 2936 |
| 3047 SVGLength operator[](int index) => JS("SVGLength", "#[#]", this, index); | 2937 Length operator[](int index) => JS("Length", "#[#]", this, index); |
| 3048 | 2938 |
| 3049 void operator[]=(int index, SVGLength value) { | 2939 void operator[]=(int index, Length value) { |
| 3050 throw new UnsupportedError("Cannot assign element of immutable List."); | 2940 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 3051 } | 2941 } |
| 3052 // -- start List<SVGLength> mixins. | 2942 // -- start List<Length> mixins. |
| 3053 // SVGLength is the element type. | 2943 // Length is the element type. |
| 3054 | 2944 |
| 3055 // From Iterable<SVGLength>: | 2945 // From Iterable<Length>: |
| 3056 | 2946 |
| 3057 Iterator<SVGLength> iterator() { | 2947 Iterator<Length> iterator() { |
| 3058 // Note: NodeLists are not fixed size. And most probably length shouldn't | 2948 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 3059 // be cached in both iterator _and_ forEach method. For now caching it | 2949 // be cached in both iterator _and_ forEach method. For now caching it |
| 3060 // for consistency. | 2950 // for consistency. |
| 3061 return new FixedSizeListIterator<SVGLength>(this); | 2951 return new FixedSizeListIterator<Length>(this); |
| 3062 } | 2952 } |
| 3063 | 2953 |
| 3064 // From Collection<SVGLength>: | 2954 // From Collection<Length>: |
| 3065 | 2955 |
| 3066 void add(SVGLength value) { | 2956 void add(Length value) { |
| 3067 throw new UnsupportedError("Cannot add to immutable List."); | 2957 throw new UnsupportedError("Cannot add to immutable List."); |
| 3068 } | 2958 } |
| 3069 | 2959 |
| 3070 void addLast(SVGLength value) { | 2960 void addLast(Length value) { |
| 3071 throw new UnsupportedError("Cannot add to immutable List."); | 2961 throw new UnsupportedError("Cannot add to immutable List."); |
| 3072 } | 2962 } |
| 3073 | 2963 |
| 3074 void addAll(Collection<SVGLength> collection) { | 2964 void addAll(Collection<Length> collection) { |
| 3075 throw new UnsupportedError("Cannot add to immutable List."); | 2965 throw new UnsupportedError("Cannot add to immutable List."); |
| 3076 } | 2966 } |
| 3077 | 2967 |
| 3078 bool contains(SVGLength element) => _Collections.contains(this, element); | 2968 bool contains(Length element) => _Collections.contains(this, element); |
| 3079 | 2969 |
| 3080 void forEach(void f(SVGLength element)) => _Collections.forEach(this, f); | 2970 void forEach(void f(Length element)) => _Collections.forEach(this, f); |
| 3081 | 2971 |
| 3082 Collection map(f(SVGLength element)) => _Collections.map(this, [], f); | 2972 Collection map(f(Length element)) => _Collections.map(this, [], f); |
| 3083 | 2973 |
| 3084 Collection<SVGLength> filter(bool f(SVGLength element)) => | 2974 Collection<Length> filter(bool f(Length element)) => |
| 3085 _Collections.filter(this, <SVGLength>[], f); | 2975 _Collections.filter(this, <Length>[], f); |
| 3086 | 2976 |
| 3087 bool every(bool f(SVGLength element)) => _Collections.every(this, f); | 2977 bool every(bool f(Length element)) => _Collections.every(this, f); |
| 3088 | 2978 |
| 3089 bool some(bool f(SVGLength element)) => _Collections.some(this, f); | 2979 bool some(bool f(Length element)) => _Collections.some(this, f); |
| 3090 | 2980 |
| 3091 bool get isEmpty => this.length == 0; | 2981 bool get isEmpty => this.length == 0; |
| 3092 | 2982 |
| 3093 // From List<SVGLength>: | 2983 // From List<Length>: |
| 3094 | 2984 |
| 3095 void sort([Comparator<SVGLength> compare = Comparable.compare]) { | 2985 void sort([Comparator<Length> compare = Comparable.compare]) { |
| 3096 throw new UnsupportedError("Cannot sort immutable List."); | 2986 throw new UnsupportedError("Cannot sort immutable List."); |
| 3097 } | 2987 } |
| 3098 | 2988 |
| 3099 int indexOf(SVGLength element, [int start = 0]) => | 2989 int indexOf(Length element, [int start = 0]) => |
| 3100 _Lists.indexOf(this, element, start, this.length); | 2990 _Lists.indexOf(this, element, start, this.length); |
| 3101 | 2991 |
| 3102 int lastIndexOf(SVGLength element, [int start]) { | 2992 int lastIndexOf(Length element, [int start]) { |
| 3103 if (start == null) start = length - 1; | 2993 if (start == null) start = length - 1; |
| 3104 return _Lists.lastIndexOf(this, element, start); | 2994 return _Lists.lastIndexOf(this, element, start); |
| 3105 } | 2995 } |
| 3106 | 2996 |
| 3107 SVGLength get first => this[0]; | 2997 Length get first => this[0]; |
| 3108 | 2998 |
| 3109 SVGLength get last => this[length - 1]; | 2999 Length get last => this[length - 1]; |
| 3110 | 3000 |
| 3111 SVGLength removeLast() { | 3001 Length removeLast() { |
| 3112 throw new UnsupportedError("Cannot removeLast on immutable List."); | 3002 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 3113 } | 3003 } |
| 3114 | 3004 |
| 3115 void setRange(int start, int rangeLength, List<SVGLength> from, [int startFrom
]) { | 3005 void setRange(int start, int rangeLength, List<Length> from, [int startFrom])
{ |
| 3116 throw new UnsupportedError("Cannot setRange on immutable List."); | 3006 throw new UnsupportedError("Cannot setRange on immutable List."); |
| 3117 } | 3007 } |
| 3118 | 3008 |
| 3119 void removeRange(int start, int rangeLength) { | 3009 void removeRange(int start, int rangeLength) { |
| 3120 throw new UnsupportedError("Cannot removeRange on immutable List."); | 3010 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 3121 } | 3011 } |
| 3122 | 3012 |
| 3123 void insertRange(int start, int rangeLength, [SVGLength initialValue]) { | 3013 void insertRange(int start, int rangeLength, [Length initialValue]) { |
| 3124 throw new UnsupportedError("Cannot insertRange on immutable List."); | 3014 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 3125 } | 3015 } |
| 3126 | 3016 |
| 3127 List<SVGLength> getRange(int start, int rangeLength) => | 3017 List<Length> getRange(int start, int rangeLength) => |
| 3128 _Lists.getRange(this, start, rangeLength, <SVGLength>[]); | 3018 _Lists.getRange(this, start, rangeLength, <Length>[]); |
| 3129 | 3019 |
| 3130 // -- end List<SVGLength> mixins. | 3020 // -- end List<Length> mixins. |
| 3131 | 3021 |
| 3132 /** @domName SVGLengthList.appendItem */ | 3022 /** @domName SVGLengthList.appendItem */ |
| 3133 SVGLength appendItem(SVGLength item) native; | 3023 Length appendItem(Length item) native; |
| 3134 | 3024 |
| 3135 /** @domName SVGLengthList.clear */ | 3025 /** @domName SVGLengthList.clear */ |
| 3136 void clear() native; | 3026 void clear() native; |
| 3137 | 3027 |
| 3138 /** @domName SVGLengthList.getItem */ | 3028 /** @domName SVGLengthList.getItem */ |
| 3139 SVGLength getItem(int index) native; | 3029 Length getItem(int index) native; |
| 3140 | 3030 |
| 3141 /** @domName SVGLengthList.initialize */ | 3031 /** @domName SVGLengthList.initialize */ |
| 3142 SVGLength initialize(SVGLength item) native; | 3032 Length initialize(Length item) native; |
| 3143 | 3033 |
| 3144 /** @domName SVGLengthList.insertItemBefore */ | 3034 /** @domName SVGLengthList.insertItemBefore */ |
| 3145 SVGLength insertItemBefore(SVGLength item, int index) native; | 3035 Length insertItemBefore(Length item, int index) native; |
| 3146 | 3036 |
| 3147 /** @domName SVGLengthList.removeItem */ | 3037 /** @domName SVGLengthList.removeItem */ |
| 3148 SVGLength removeItem(int index) native; | 3038 Length removeItem(int index) native; |
| 3149 | 3039 |
| 3150 /** @domName SVGLengthList.replaceItem */ | 3040 /** @domName SVGLengthList.replaceItem */ |
| 3151 SVGLength replaceItem(SVGLength item, int index) native; | 3041 Length replaceItem(Length item, int index) native; |
| 3152 } | 3042 } |
| 3153 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3043 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3154 // for details. All rights reserved. Use of this source code is governed by a | 3044 // for details. All rights reserved. Use of this source code is governed by a |
| 3155 // BSD-style license that can be found in the LICENSE file. | 3045 // BSD-style license that can be found in the LICENSE file. |
| 3156 | 3046 |
| 3157 | 3047 |
| 3158 /// @domName SVGLineElement | 3048 /// @domName SVGLineElement |
| 3159 class SVGLineElement extends SVGElement implements SVGLangSpace, SVGStylable, SV
GTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGLineElement"
{ | 3049 class LineElement extends SvgElement implements Transformable, Tests, Stylable,
ExternalResourcesRequired, LangSpace native "*SVGLineElement" { |
| 3160 | 3050 |
| 3161 factory SVGLineElement() => _SVGElementFactoryProvider.createSVGElement_tag("l
ine"); | 3051 factory LineElement() => _SvgElementFactoryProvider.createSvgElement_tag("line
"); |
| 3162 | 3052 |
| 3163 /** @domName SVGLineElement.x1 */ | 3053 /** @domName SVGLineElement.x1 */ |
| 3164 final SVGAnimatedLength x1; | 3054 final AnimatedLength x1; |
| 3165 | 3055 |
| 3166 /** @domName SVGLineElement.x2 */ | 3056 /** @domName SVGLineElement.x2 */ |
| 3167 final SVGAnimatedLength x2; | 3057 final AnimatedLength x2; |
| 3168 | 3058 |
| 3169 /** @domName SVGLineElement.y1 */ | 3059 /** @domName SVGLineElement.y1 */ |
| 3170 final SVGAnimatedLength y1; | 3060 final AnimatedLength y1; |
| 3171 | 3061 |
| 3172 /** @domName SVGLineElement.y2 */ | 3062 /** @domName SVGLineElement.y2 */ |
| 3173 final SVGAnimatedLength y2; | 3063 final AnimatedLength y2; |
| 3174 | 3064 |
| 3175 // From SVGExternalResourcesRequired | 3065 // From SVGExternalResourcesRequired |
| 3176 | 3066 |
| 3177 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 3067 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 3178 final SVGAnimatedBoolean externalResourcesRequired; | 3068 final AnimatedBoolean externalResourcesRequired; |
| 3179 | 3069 |
| 3180 // From SVGLangSpace | 3070 // From SVGLangSpace |
| 3181 | 3071 |
| 3182 /** @domName SVGLangSpace.xmllang */ | 3072 /** @domName SVGLangSpace.xmllang */ |
| 3183 String xmllang; | 3073 String xmllang; |
| 3184 | 3074 |
| 3185 /** @domName SVGLangSpace.xmlspace */ | 3075 /** @domName SVGLangSpace.xmlspace */ |
| 3186 String xmlspace; | 3076 String xmlspace; |
| 3187 | 3077 |
| 3188 // From SVGLocatable | 3078 // From SVGLocatable |
| 3189 | 3079 |
| 3190 /** @domName SVGLocatable.farthestViewportElement */ | 3080 /** @domName SVGLocatable.farthestViewportElement */ |
| 3191 final SVGElement farthestViewportElement; | 3081 final SvgElement farthestViewportElement; |
| 3192 | 3082 |
| 3193 /** @domName SVGLocatable.nearestViewportElement */ | 3083 /** @domName SVGLocatable.nearestViewportElement */ |
| 3194 final SVGElement nearestViewportElement; | 3084 final SvgElement nearestViewportElement; |
| 3195 | 3085 |
| 3196 /** @domName SVGLocatable.getBBox */ | 3086 /** @domName SVGLocatable.getBBox */ |
| 3197 SVGRect getBBox() native; | 3087 Rect getBBox() native; |
| 3198 | 3088 |
| 3199 /** @domName SVGLocatable.getCTM */ | 3089 /** @domName SVGLocatable.getCTM */ |
| 3200 SVGMatrix getCTM() native; | 3090 Matrix getCTM() native; |
| 3201 | 3091 |
| 3202 /** @domName SVGLocatable.getScreenCTM */ | 3092 /** @domName SVGLocatable.getScreenCTM */ |
| 3203 SVGMatrix getScreenCTM() native; | 3093 Matrix getScreenCTM() native; |
| 3204 | 3094 |
| 3205 /** @domName SVGLocatable.getTransformToElement */ | 3095 /** @domName SVGLocatable.getTransformToElement */ |
| 3206 SVGMatrix getTransformToElement(SVGElement element) native; | 3096 Matrix getTransformToElement(SvgElement element) native; |
| 3207 | 3097 |
| 3208 // From SVGStylable | 3098 // From SVGStylable |
| 3209 | 3099 |
| 3210 /** @domName SVGStylable.className */ | 3100 /** @domName SVGStylable.className */ |
| 3211 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 3101 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 3212 | 3102 |
| 3213 // Use implementation from Element. | 3103 // Use implementation from Element. |
| 3214 // final CSSStyleDeclaration style; | 3104 // final CSSStyleDeclaration style; |
| 3215 | 3105 |
| 3216 /** @domName SVGStylable.getPresentationAttribute */ | 3106 /** @domName SVGStylable.getPresentationAttribute */ |
| 3217 CSSValue getPresentationAttribute(String name) native; | 3107 CSSValue getPresentationAttribute(String name) native; |
| 3218 | 3108 |
| 3219 // From SVGTests | 3109 // From SVGTests |
| 3220 | 3110 |
| 3221 /** @domName SVGTests.requiredExtensions */ | 3111 /** @domName SVGTests.requiredExtensions */ |
| 3222 final SVGStringList requiredExtensions; | 3112 final StringList requiredExtensions; |
| 3223 | 3113 |
| 3224 /** @domName SVGTests.requiredFeatures */ | 3114 /** @domName SVGTests.requiredFeatures */ |
| 3225 final SVGStringList requiredFeatures; | 3115 final StringList requiredFeatures; |
| 3226 | 3116 |
| 3227 /** @domName SVGTests.systemLanguage */ | 3117 /** @domName SVGTests.systemLanguage */ |
| 3228 final SVGStringList systemLanguage; | 3118 final StringList systemLanguage; |
| 3229 | 3119 |
| 3230 /** @domName SVGTests.hasExtension */ | 3120 /** @domName SVGTests.hasExtension */ |
| 3231 bool hasExtension(String extension) native; | 3121 bool hasExtension(String extension) native; |
| 3232 | 3122 |
| 3233 // From SVGTransformable | 3123 // From SVGTransformable |
| 3234 | 3124 |
| 3235 /** @domName SVGTransformable.transform */ | 3125 /** @domName SVGTransformable.transform */ |
| 3236 final SVGAnimatedTransformList transform; | 3126 final AnimatedTransformList transform; |
| 3237 } | 3127 } |
| 3238 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3128 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3239 // for details. All rights reserved. Use of this source code is governed by a | 3129 // for details. All rights reserved. Use of this source code is governed by a |
| 3240 // BSD-style license that can be found in the LICENSE file. | 3130 // BSD-style license that can be found in the LICENSE file. |
| 3241 | 3131 |
| 3242 | 3132 |
| 3243 /// @domName SVGLinearGradientElement | 3133 /// @domName SVGLinearGradientElement |
| 3244 class SVGLinearGradientElement extends SVGGradientElement native "*SVGLinearGrad
ientElement" { | 3134 class LinearGradientElement extends GradientElement native "*SVGLinearGradientEl
ement" { |
| 3245 | 3135 |
| 3246 factory SVGLinearGradientElement() => _SVGElementFactoryProvider.createSVGElem
ent_tag("linearGradient"); | 3136 factory LinearGradientElement() => _SvgElementFactoryProvider.createSvgElement
_tag("linearGradient"); |
| 3247 | 3137 |
| 3248 /** @domName SVGLinearGradientElement.x1 */ | 3138 /** @domName SVGLinearGradientElement.x1 */ |
| 3249 final SVGAnimatedLength x1; | 3139 final AnimatedLength x1; |
| 3250 | 3140 |
| 3251 /** @domName SVGLinearGradientElement.x2 */ | 3141 /** @domName SVGLinearGradientElement.x2 */ |
| 3252 final SVGAnimatedLength x2; | 3142 final AnimatedLength x2; |
| 3253 | 3143 |
| 3254 /** @domName SVGLinearGradientElement.y1 */ | 3144 /** @domName SVGLinearGradientElement.y1 */ |
| 3255 final SVGAnimatedLength y1; | 3145 final AnimatedLength y1; |
| 3256 | 3146 |
| 3257 /** @domName SVGLinearGradientElement.y2 */ | 3147 /** @domName SVGLinearGradientElement.y2 */ |
| 3258 final SVGAnimatedLength y2; | 3148 final AnimatedLength y2; |
| 3259 } | 3149 } |
| 3260 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3150 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3261 // for details. All rights reserved. Use of this source code is governed by a | 3151 // for details. All rights reserved. Use of this source code is governed by a |
| 3262 // BSD-style license that can be found in the LICENSE file. | 3152 // BSD-style license that can be found in the LICENSE file. |
| 3263 | 3153 |
| 3264 | 3154 |
| 3265 /// @domName SVGLocatable | 3155 /// @domName SVGLocatable |
| 3266 abstract class SVGLocatable { | 3156 abstract class Locatable { |
| 3267 | 3157 |
| 3268 SVGElement farthestViewportElement; | 3158 SvgElement farthestViewportElement; |
| 3269 | 3159 |
| 3270 SVGElement nearestViewportElement; | 3160 SvgElement nearestViewportElement; |
| 3271 | 3161 |
| 3272 /** @domName SVGLocatable.getBBox */ | 3162 /** @domName SVGLocatable.getBBox */ |
| 3273 SVGRect getBBox(); | 3163 Rect getBBox(); |
| 3274 | 3164 |
| 3275 /** @domName SVGLocatable.getCTM */ | 3165 /** @domName SVGLocatable.getCTM */ |
| 3276 SVGMatrix getCTM(); | 3166 Matrix getCTM(); |
| 3277 | 3167 |
| 3278 /** @domName SVGLocatable.getScreenCTM */ | 3168 /** @domName SVGLocatable.getScreenCTM */ |
| 3279 SVGMatrix getScreenCTM(); | 3169 Matrix getScreenCTM(); |
| 3280 | 3170 |
| 3281 /** @domName SVGLocatable.getTransformToElement */ | 3171 /** @domName SVGLocatable.getTransformToElement */ |
| 3282 SVGMatrix getTransformToElement(SVGElement element); | 3172 Matrix getTransformToElement(SvgElement element); |
| 3283 } | 3173 } |
| 3284 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3174 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3285 // for details. All rights reserved. Use of this source code is governed by a | 3175 // for details. All rights reserved. Use of this source code is governed by a |
| 3286 // BSD-style license that can be found in the LICENSE file. | 3176 // BSD-style license that can be found in the LICENSE file. |
| 3287 | 3177 |
| 3288 | 3178 |
| 3289 /// @domName SVGMPathElement | 3179 /// @domName SVGMPathElement |
| 3290 class SVGMPathElement extends SVGElement implements SVGURIReference, SVGExternal
ResourcesRequired native "*SVGMPathElement" { | 3180 class MPathElement extends SvgElement implements UriReference, ExternalResources
Required native "*SVGMPathElement" { |
| 3291 | 3181 |
| 3292 factory SVGMPathElement() => _SVGElementFactoryProvider.createSVGElement_tag("
mpath"); | 3182 factory MPathElement() => _SvgElementFactoryProvider.createSvgElement_tag("mpa
th"); |
| 3293 | 3183 |
| 3294 // From SVGExternalResourcesRequired | 3184 // From SVGExternalResourcesRequired |
| 3295 | 3185 |
| 3296 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 3186 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 3297 final SVGAnimatedBoolean externalResourcesRequired; | 3187 final AnimatedBoolean externalResourcesRequired; |
| 3298 | 3188 |
| 3299 // From SVGURIReference | 3189 // From SVGURIReference |
| 3300 | 3190 |
| 3301 /** @domName SVGURIReference.href */ | 3191 /** @domName SVGURIReference.href */ |
| 3302 final SVGAnimatedString href; | 3192 final AnimatedString href; |
| 3303 } | 3193 } |
| 3304 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3194 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3305 // for details. All rights reserved. Use of this source code is governed by a | 3195 // for details. All rights reserved. Use of this source code is governed by a |
| 3306 // BSD-style license that can be found in the LICENSE file. | 3196 // BSD-style license that can be found in the LICENSE file. |
| 3307 | 3197 |
| 3308 | 3198 |
| 3309 /// @domName SVGMarkerElement | 3199 /// @domName SVGMarkerElement |
| 3310 class SVGMarkerElement extends SVGElement implements SVGLangSpace, SVGFitToViewB
ox, SVGExternalResourcesRequired, SVGStylable native "*SVGMarkerElement" { | 3200 class MarkerElement extends SvgElement implements FitToViewBox, ExternalResource
sRequired, Stylable, LangSpace native "*SVGMarkerElement" { |
| 3311 | 3201 |
| 3312 factory SVGMarkerElement() => _SVGElementFactoryProvider.createSVGElement_tag(
"marker"); | 3202 factory MarkerElement() => _SvgElementFactoryProvider.createSvgElement_tag("ma
rker"); |
| 3313 | 3203 |
| 3314 static const int SVG_MARKERUNITS_STROKEWIDTH = 2; | 3204 static const int SVG_MARKERUNITS_STROKEWIDTH = 2; |
| 3315 | 3205 |
| 3316 static const int SVG_MARKERUNITS_UNKNOWN = 0; | 3206 static const int SVG_MARKERUNITS_UNKNOWN = 0; |
| 3317 | 3207 |
| 3318 static const int SVG_MARKERUNITS_USERSPACEONUSE = 1; | 3208 static const int SVG_MARKERUNITS_USERSPACEONUSE = 1; |
| 3319 | 3209 |
| 3320 static const int SVG_MARKER_ORIENT_ANGLE = 2; | 3210 static const int SVG_MARKER_ORIENT_ANGLE = 2; |
| 3321 | 3211 |
| 3322 static const int SVG_MARKER_ORIENT_AUTO = 1; | 3212 static const int SVG_MARKER_ORIENT_AUTO = 1; |
| 3323 | 3213 |
| 3324 static const int SVG_MARKER_ORIENT_UNKNOWN = 0; | 3214 static const int SVG_MARKER_ORIENT_UNKNOWN = 0; |
| 3325 | 3215 |
| 3326 /** @domName SVGMarkerElement.markerHeight */ | 3216 /** @domName SVGMarkerElement.markerHeight */ |
| 3327 final SVGAnimatedLength markerHeight; | 3217 final AnimatedLength markerHeight; |
| 3328 | 3218 |
| 3329 /** @domName SVGMarkerElement.markerUnits */ | 3219 /** @domName SVGMarkerElement.markerUnits */ |
| 3330 final SVGAnimatedEnumeration markerUnits; | 3220 final AnimatedEnumeration markerUnits; |
| 3331 | 3221 |
| 3332 /** @domName SVGMarkerElement.markerWidth */ | 3222 /** @domName SVGMarkerElement.markerWidth */ |
| 3333 final SVGAnimatedLength markerWidth; | 3223 final AnimatedLength markerWidth; |
| 3334 | 3224 |
| 3335 /** @domName SVGMarkerElement.orientAngle */ | 3225 /** @domName SVGMarkerElement.orientAngle */ |
| 3336 final SVGAnimatedAngle orientAngle; | 3226 final AnimatedAngle orientAngle; |
| 3337 | 3227 |
| 3338 /** @domName SVGMarkerElement.orientType */ | 3228 /** @domName SVGMarkerElement.orientType */ |
| 3339 final SVGAnimatedEnumeration orientType; | 3229 final AnimatedEnumeration orientType; |
| 3340 | 3230 |
| 3341 /** @domName SVGMarkerElement.refX */ | 3231 /** @domName SVGMarkerElement.refX */ |
| 3342 final SVGAnimatedLength refX; | 3232 final AnimatedLength refX; |
| 3343 | 3233 |
| 3344 /** @domName SVGMarkerElement.refY */ | 3234 /** @domName SVGMarkerElement.refY */ |
| 3345 final SVGAnimatedLength refY; | 3235 final AnimatedLength refY; |
| 3346 | 3236 |
| 3347 /** @domName SVGMarkerElement.setOrientToAngle */ | 3237 /** @domName SVGMarkerElement.setOrientToAngle */ |
| 3348 void setOrientToAngle(SVGAngle angle) native; | 3238 void setOrientToAngle(Angle angle) native; |
| 3349 | 3239 |
| 3350 /** @domName SVGMarkerElement.setOrientToAuto */ | 3240 /** @domName SVGMarkerElement.setOrientToAuto */ |
| 3351 void setOrientToAuto() native; | 3241 void setOrientToAuto() native; |
| 3352 | 3242 |
| 3353 // From SVGExternalResourcesRequired | 3243 // From SVGExternalResourcesRequired |
| 3354 | 3244 |
| 3355 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 3245 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 3356 final SVGAnimatedBoolean externalResourcesRequired; | 3246 final AnimatedBoolean externalResourcesRequired; |
| 3357 | 3247 |
| 3358 // From SVGFitToViewBox | 3248 // From SVGFitToViewBox |
| 3359 | 3249 |
| 3360 /** @domName SVGFitToViewBox.preserveAspectRatio */ | 3250 /** @domName SVGFitToViewBox.preserveAspectRatio */ |
| 3361 final SVGAnimatedPreserveAspectRatio preserveAspectRatio; | 3251 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 3362 | 3252 |
| 3363 /** @domName SVGFitToViewBox.viewBox */ | 3253 /** @domName SVGFitToViewBox.viewBox */ |
| 3364 final SVGAnimatedRect viewBox; | 3254 final AnimatedRect viewBox; |
| 3365 | 3255 |
| 3366 // From SVGLangSpace | 3256 // From SVGLangSpace |
| 3367 | 3257 |
| 3368 /** @domName SVGLangSpace.xmllang */ | 3258 /** @domName SVGLangSpace.xmllang */ |
| 3369 String xmllang; | 3259 String xmllang; |
| 3370 | 3260 |
| 3371 /** @domName SVGLangSpace.xmlspace */ | 3261 /** @domName SVGLangSpace.xmlspace */ |
| 3372 String xmlspace; | 3262 String xmlspace; |
| 3373 | 3263 |
| 3374 // From SVGStylable | 3264 // From SVGStylable |
| 3375 | 3265 |
| 3376 /** @domName SVGStylable.className */ | 3266 /** @domName SVGStylable.className */ |
| 3377 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 3267 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 3378 | 3268 |
| 3379 // Use implementation from Element. | 3269 // Use implementation from Element. |
| 3380 // final CSSStyleDeclaration style; | 3270 // final CSSStyleDeclaration style; |
| 3381 | 3271 |
| 3382 /** @domName SVGStylable.getPresentationAttribute */ | 3272 /** @domName SVGStylable.getPresentationAttribute */ |
| 3383 CSSValue getPresentationAttribute(String name) native; | 3273 CSSValue getPresentationAttribute(String name) native; |
| 3384 } | 3274 } |
| 3385 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3275 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3386 // for details. All rights reserved. Use of this source code is governed by a | 3276 // for details. All rights reserved. Use of this source code is governed by a |
| 3387 // BSD-style license that can be found in the LICENSE file. | 3277 // BSD-style license that can be found in the LICENSE file. |
| 3388 | 3278 |
| 3389 | 3279 |
| 3390 /// @domName SVGMaskElement | 3280 /// @domName SVGMaskElement |
| 3391 class SVGMaskElement extends SVGElement implements SVGLangSpace, SVGStylable, SV
GTests, SVGExternalResourcesRequired native "*SVGMaskElement" { | 3281 class MaskElement extends SvgElement implements Tests, Stylable, ExternalResourc
esRequired, LangSpace native "*SVGMaskElement" { |
| 3392 | 3282 |
| 3393 factory SVGMaskElement() => _SVGElementFactoryProvider.createSVGElement_tag("m
ask"); | 3283 factory MaskElement() => _SvgElementFactoryProvider.createSvgElement_tag("mask
"); |
| 3394 | 3284 |
| 3395 /** @domName SVGMaskElement.height */ | 3285 /** @domName SVGMaskElement.height */ |
| 3396 final SVGAnimatedLength height; | 3286 final AnimatedLength height; |
| 3397 | 3287 |
| 3398 /** @domName SVGMaskElement.maskContentUnits */ | 3288 /** @domName SVGMaskElement.maskContentUnits */ |
| 3399 final SVGAnimatedEnumeration maskContentUnits; | 3289 final AnimatedEnumeration maskContentUnits; |
| 3400 | 3290 |
| 3401 /** @domName SVGMaskElement.maskUnits */ | 3291 /** @domName SVGMaskElement.maskUnits */ |
| 3402 final SVGAnimatedEnumeration maskUnits; | 3292 final AnimatedEnumeration maskUnits; |
| 3403 | 3293 |
| 3404 /** @domName SVGMaskElement.width */ | 3294 /** @domName SVGMaskElement.width */ |
| 3405 final SVGAnimatedLength width; | 3295 final AnimatedLength width; |
| 3406 | 3296 |
| 3407 /** @domName SVGMaskElement.x */ | 3297 /** @domName SVGMaskElement.x */ |
| 3408 final SVGAnimatedLength x; | 3298 final AnimatedLength x; |
| 3409 | 3299 |
| 3410 /** @domName SVGMaskElement.y */ | 3300 /** @domName SVGMaskElement.y */ |
| 3411 final SVGAnimatedLength y; | 3301 final AnimatedLength y; |
| 3412 | 3302 |
| 3413 // From SVGExternalResourcesRequired | 3303 // From SVGExternalResourcesRequired |
| 3414 | 3304 |
| 3415 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 3305 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 3416 final SVGAnimatedBoolean externalResourcesRequired; | 3306 final AnimatedBoolean externalResourcesRequired; |
| 3417 | 3307 |
| 3418 // From SVGLangSpace | 3308 // From SVGLangSpace |
| 3419 | 3309 |
| 3420 /** @domName SVGLangSpace.xmllang */ | 3310 /** @domName SVGLangSpace.xmllang */ |
| 3421 String xmllang; | 3311 String xmllang; |
| 3422 | 3312 |
| 3423 /** @domName SVGLangSpace.xmlspace */ | 3313 /** @domName SVGLangSpace.xmlspace */ |
| 3424 String xmlspace; | 3314 String xmlspace; |
| 3425 | 3315 |
| 3426 // From SVGStylable | 3316 // From SVGStylable |
| 3427 | 3317 |
| 3428 /** @domName SVGStylable.className */ | 3318 /** @domName SVGStylable.className */ |
| 3429 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 3319 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 3430 | 3320 |
| 3431 // Use implementation from Element. | 3321 // Use implementation from Element. |
| 3432 // final CSSStyleDeclaration style; | 3322 // final CSSStyleDeclaration style; |
| 3433 | 3323 |
| 3434 /** @domName SVGStylable.getPresentationAttribute */ | 3324 /** @domName SVGStylable.getPresentationAttribute */ |
| 3435 CSSValue getPresentationAttribute(String name) native; | 3325 CSSValue getPresentationAttribute(String name) native; |
| 3436 | 3326 |
| 3437 // From SVGTests | 3327 // From SVGTests |
| 3438 | 3328 |
| 3439 /** @domName SVGTests.requiredExtensions */ | 3329 /** @domName SVGTests.requiredExtensions */ |
| 3440 final SVGStringList requiredExtensions; | 3330 final StringList requiredExtensions; |
| 3441 | 3331 |
| 3442 /** @domName SVGTests.requiredFeatures */ | 3332 /** @domName SVGTests.requiredFeatures */ |
| 3443 final SVGStringList requiredFeatures; | 3333 final StringList requiredFeatures; |
| 3444 | 3334 |
| 3445 /** @domName SVGTests.systemLanguage */ | 3335 /** @domName SVGTests.systemLanguage */ |
| 3446 final SVGStringList systemLanguage; | 3336 final StringList systemLanguage; |
| 3447 | 3337 |
| 3448 /** @domName SVGTests.hasExtension */ | 3338 /** @domName SVGTests.hasExtension */ |
| 3449 bool hasExtension(String extension) native; | 3339 bool hasExtension(String extension) native; |
| 3450 } | 3340 } |
| 3451 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3341 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3452 // for details. All rights reserved. Use of this source code is governed by a | 3342 // for details. All rights reserved. Use of this source code is governed by a |
| 3453 // BSD-style license that can be found in the LICENSE file. | 3343 // BSD-style license that can be found in the LICENSE file. |
| 3454 | 3344 |
| 3455 | 3345 |
| 3456 /// @domName SVGMatrix | 3346 /// @domName SVGMatrix |
| 3457 class SVGMatrix native "*SVGMatrix" { | 3347 class Matrix native "*SVGMatrix" { |
| 3458 | 3348 |
| 3459 /** @domName SVGMatrix.a */ | 3349 /** @domName SVGMatrix.a */ |
| 3460 num a; | 3350 num a; |
| 3461 | 3351 |
| 3462 /** @domName SVGMatrix.b */ | 3352 /** @domName SVGMatrix.b */ |
| 3463 num b; | 3353 num b; |
| 3464 | 3354 |
| 3465 /** @domName SVGMatrix.c */ | 3355 /** @domName SVGMatrix.c */ |
| 3466 num c; | 3356 num c; |
| 3467 | 3357 |
| 3468 /** @domName SVGMatrix.d */ | 3358 /** @domName SVGMatrix.d */ |
| 3469 num d; | 3359 num d; |
| 3470 | 3360 |
| 3471 /** @domName SVGMatrix.e */ | 3361 /** @domName SVGMatrix.e */ |
| 3472 num e; | 3362 num e; |
| 3473 | 3363 |
| 3474 /** @domName SVGMatrix.f */ | 3364 /** @domName SVGMatrix.f */ |
| 3475 num f; | 3365 num f; |
| 3476 | 3366 |
| 3477 /** @domName SVGMatrix.flipX */ | 3367 /** @domName SVGMatrix.flipX */ |
| 3478 SVGMatrix flipX() native; | 3368 Matrix flipX() native; |
| 3479 | 3369 |
| 3480 /** @domName SVGMatrix.flipY */ | 3370 /** @domName SVGMatrix.flipY */ |
| 3481 SVGMatrix flipY() native; | 3371 Matrix flipY() native; |
| 3482 | 3372 |
| 3483 /** @domName SVGMatrix.inverse */ | 3373 /** @domName SVGMatrix.inverse */ |
| 3484 SVGMatrix inverse() native; | 3374 Matrix inverse() native; |
| 3485 | 3375 |
| 3486 /** @domName SVGMatrix.multiply */ | 3376 /** @domName SVGMatrix.multiply */ |
| 3487 SVGMatrix multiply(SVGMatrix secondMatrix) native; | 3377 Matrix multiply(Matrix secondMatrix) native; |
| 3488 | 3378 |
| 3489 /** @domName SVGMatrix.rotate */ | 3379 /** @domName SVGMatrix.rotate */ |
| 3490 SVGMatrix rotate(num angle) native; | 3380 Matrix rotate(num angle) native; |
| 3491 | 3381 |
| 3492 /** @domName SVGMatrix.rotateFromVector */ | 3382 /** @domName SVGMatrix.rotateFromVector */ |
| 3493 SVGMatrix rotateFromVector(num x, num y) native; | 3383 Matrix rotateFromVector(num x, num y) native; |
| 3494 | 3384 |
| 3495 /** @domName SVGMatrix.scale */ | 3385 /** @domName SVGMatrix.scale */ |
| 3496 SVGMatrix scale(num scaleFactor) native; | 3386 Matrix scale(num scaleFactor) native; |
| 3497 | 3387 |
| 3498 /** @domName SVGMatrix.scaleNonUniform */ | 3388 /** @domName SVGMatrix.scaleNonUniform */ |
| 3499 SVGMatrix scaleNonUniform(num scaleFactorX, num scaleFactorY) native; | 3389 Matrix scaleNonUniform(num scaleFactorX, num scaleFactorY) native; |
| 3500 | 3390 |
| 3501 /** @domName SVGMatrix.skewX */ | 3391 /** @domName SVGMatrix.skewX */ |
| 3502 SVGMatrix skewX(num angle) native; | 3392 Matrix skewX(num angle) native; |
| 3503 | 3393 |
| 3504 /** @domName SVGMatrix.skewY */ | 3394 /** @domName SVGMatrix.skewY */ |
| 3505 SVGMatrix skewY(num angle) native; | 3395 Matrix skewY(num angle) native; |
| 3506 | 3396 |
| 3507 /** @domName SVGMatrix.translate */ | 3397 /** @domName SVGMatrix.translate */ |
| 3508 SVGMatrix translate(num x, num y) native; | 3398 Matrix translate(num x, num y) native; |
| 3509 } | 3399 } |
| 3510 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3400 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3511 // for details. All rights reserved. Use of this source code is governed by a | 3401 // for details. All rights reserved. Use of this source code is governed by a |
| 3512 // BSD-style license that can be found in the LICENSE file. | 3402 // BSD-style license that can be found in the LICENSE file. |
| 3513 | 3403 |
| 3514 | 3404 |
| 3515 /// @domName SVGMetadataElement | 3405 /// @domName SVGMetadataElement |
| 3516 class SVGMetadataElement extends SVGElement native "*SVGMetadataElement" { | 3406 class MetadataElement extends SvgElement native "*SVGMetadataElement" { |
| 3517 } | 3407 } |
| 3518 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3408 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3519 // for details. All rights reserved. Use of this source code is governed by a | 3409 // for details. All rights reserved. Use of this source code is governed by a |
| 3520 // BSD-style license that can be found in the LICENSE file. | 3410 // BSD-style license that can be found in the LICENSE file. |
| 3521 | 3411 |
| 3522 | 3412 |
| 3523 /// @domName SVGMissingGlyphElement | 3413 /// @domName SVGMissingGlyphElement |
| 3524 class SVGMissingGlyphElement extends SVGElement native "*SVGMissingGlyphElement"
{ | 3414 class MissingGlyphElement extends SvgElement native "*SVGMissingGlyphElement" { |
| 3525 } | 3415 } |
| 3526 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3416 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3527 // for details. All rights reserved. Use of this source code is governed by a | 3417 // for details. All rights reserved. Use of this source code is governed by a |
| 3528 // BSD-style license that can be found in the LICENSE file. | 3418 // BSD-style license that can be found in the LICENSE file. |
| 3529 | 3419 |
| 3530 | 3420 |
| 3531 /// @domName SVGNumber | 3421 /// @domName SVGNumber |
| 3532 class SVGNumber native "*SVGNumber" { | 3422 class Number native "*SVGNumber" { |
| 3533 | 3423 |
| 3534 /** @domName SVGNumber.value */ | 3424 /** @domName SVGNumber.value */ |
| 3535 num value; | 3425 num value; |
| 3536 } | 3426 } |
| 3537 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3427 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3538 // for details. All rights reserved. Use of this source code is governed by a | 3428 // for details. All rights reserved. Use of this source code is governed by a |
| 3539 // BSD-style license that can be found in the LICENSE file. | 3429 // BSD-style license that can be found in the LICENSE file. |
| 3540 | 3430 |
| 3541 | 3431 |
| 3542 /// @domName SVGNumberList | 3432 /// @domName SVGNumberList |
| 3543 class SVGNumberList implements JavaScriptIndexingBehavior, List<SVGNumber> nativ
e "*SVGNumberList" { | 3433 class NumberList implements JavaScriptIndexingBehavior, List<Number> native "*SV
GNumberList" { |
| 3544 | 3434 |
| 3545 /** @domName SVGNumberList.numberOfItems */ | 3435 /** @domName SVGNumberList.numberOfItems */ |
| 3546 final int numberOfItems; | 3436 final int numberOfItems; |
| 3547 | 3437 |
| 3548 SVGNumber operator[](int index) => JS("SVGNumber", "#[#]", this, index); | 3438 Number operator[](int index) => JS("Number", "#[#]", this, index); |
| 3549 | 3439 |
| 3550 void operator[]=(int index, SVGNumber value) { | 3440 void operator[]=(int index, Number value) { |
| 3551 throw new UnsupportedError("Cannot assign element of immutable List."); | 3441 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 3552 } | 3442 } |
| 3553 // -- start List<SVGNumber> mixins. | 3443 // -- start List<Number> mixins. |
| 3554 // SVGNumber is the element type. | 3444 // Number is the element type. |
| 3555 | 3445 |
| 3556 // From Iterable<SVGNumber>: | 3446 // From Iterable<Number>: |
| 3557 | 3447 |
| 3558 Iterator<SVGNumber> iterator() { | 3448 Iterator<Number> iterator() { |
| 3559 // Note: NodeLists are not fixed size. And most probably length shouldn't | 3449 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 3560 // be cached in both iterator _and_ forEach method. For now caching it | 3450 // be cached in both iterator _and_ forEach method. For now caching it |
| 3561 // for consistency. | 3451 // for consistency. |
| 3562 return new FixedSizeListIterator<SVGNumber>(this); | 3452 return new FixedSizeListIterator<Number>(this); |
| 3563 } | 3453 } |
| 3564 | 3454 |
| 3565 // From Collection<SVGNumber>: | 3455 // From Collection<Number>: |
| 3566 | 3456 |
| 3567 void add(SVGNumber value) { | 3457 void add(Number value) { |
| 3568 throw new UnsupportedError("Cannot add to immutable List."); | 3458 throw new UnsupportedError("Cannot add to immutable List."); |
| 3569 } | 3459 } |
| 3570 | 3460 |
| 3571 void addLast(SVGNumber value) { | 3461 void addLast(Number value) { |
| 3572 throw new UnsupportedError("Cannot add to immutable List."); | 3462 throw new UnsupportedError("Cannot add to immutable List."); |
| 3573 } | 3463 } |
| 3574 | 3464 |
| 3575 void addAll(Collection<SVGNumber> collection) { | 3465 void addAll(Collection<Number> collection) { |
| 3576 throw new UnsupportedError("Cannot add to immutable List."); | 3466 throw new UnsupportedError("Cannot add to immutable List."); |
| 3577 } | 3467 } |
| 3578 | 3468 |
| 3579 bool contains(SVGNumber element) => _Collections.contains(this, element); | 3469 bool contains(Number element) => _Collections.contains(this, element); |
| 3580 | 3470 |
| 3581 void forEach(void f(SVGNumber element)) => _Collections.forEach(this, f); | 3471 void forEach(void f(Number element)) => _Collections.forEach(this, f); |
| 3582 | 3472 |
| 3583 Collection map(f(SVGNumber element)) => _Collections.map(this, [], f); | 3473 Collection map(f(Number element)) => _Collections.map(this, [], f); |
| 3584 | 3474 |
| 3585 Collection<SVGNumber> filter(bool f(SVGNumber element)) => | 3475 Collection<Number> filter(bool f(Number element)) => |
| 3586 _Collections.filter(this, <SVGNumber>[], f); | 3476 _Collections.filter(this, <Number>[], f); |
| 3587 | 3477 |
| 3588 bool every(bool f(SVGNumber element)) => _Collections.every(this, f); | 3478 bool every(bool f(Number element)) => _Collections.every(this, f); |
| 3589 | 3479 |
| 3590 bool some(bool f(SVGNumber element)) => _Collections.some(this, f); | 3480 bool some(bool f(Number element)) => _Collections.some(this, f); |
| 3591 | 3481 |
| 3592 bool get isEmpty => this.length == 0; | 3482 bool get isEmpty => this.length == 0; |
| 3593 | 3483 |
| 3594 // From List<SVGNumber>: | 3484 // From List<Number>: |
| 3595 | 3485 |
| 3596 void sort([Comparator<SVGNumber> compare = Comparable.compare]) { | 3486 void sort([Comparator<Number> compare = Comparable.compare]) { |
| 3597 throw new UnsupportedError("Cannot sort immutable List."); | 3487 throw new UnsupportedError("Cannot sort immutable List."); |
| 3598 } | 3488 } |
| 3599 | 3489 |
| 3600 int indexOf(SVGNumber element, [int start = 0]) => | 3490 int indexOf(Number element, [int start = 0]) => |
| 3601 _Lists.indexOf(this, element, start, this.length); | 3491 _Lists.indexOf(this, element, start, this.length); |
| 3602 | 3492 |
| 3603 int lastIndexOf(SVGNumber element, [int start]) { | 3493 int lastIndexOf(Number element, [int start]) { |
| 3604 if (start == null) start = length - 1; | 3494 if (start == null) start = length - 1; |
| 3605 return _Lists.lastIndexOf(this, element, start); | 3495 return _Lists.lastIndexOf(this, element, start); |
| 3606 } | 3496 } |
| 3607 | 3497 |
| 3608 SVGNumber get first => this[0]; | 3498 Number get first => this[0]; |
| 3609 | 3499 |
| 3610 SVGNumber get last => this[length - 1]; | 3500 Number get last => this[length - 1]; |
| 3611 | 3501 |
| 3612 SVGNumber removeLast() { | 3502 Number removeLast() { |
| 3613 throw new UnsupportedError("Cannot removeLast on immutable List."); | 3503 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 3614 } | 3504 } |
| 3615 | 3505 |
| 3616 void setRange(int start, int rangeLength, List<SVGNumber> from, [int startFrom
]) { | 3506 void setRange(int start, int rangeLength, List<Number> from, [int startFrom])
{ |
| 3617 throw new UnsupportedError("Cannot setRange on immutable List."); | 3507 throw new UnsupportedError("Cannot setRange on immutable List."); |
| 3618 } | 3508 } |
| 3619 | 3509 |
| 3620 void removeRange(int start, int rangeLength) { | 3510 void removeRange(int start, int rangeLength) { |
| 3621 throw new UnsupportedError("Cannot removeRange on immutable List."); | 3511 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 3622 } | 3512 } |
| 3623 | 3513 |
| 3624 void insertRange(int start, int rangeLength, [SVGNumber initialValue]) { | 3514 void insertRange(int start, int rangeLength, [Number initialValue]) { |
| 3625 throw new UnsupportedError("Cannot insertRange on immutable List."); | 3515 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 3626 } | 3516 } |
| 3627 | 3517 |
| 3628 List<SVGNumber> getRange(int start, int rangeLength) => | 3518 List<Number> getRange(int start, int rangeLength) => |
| 3629 _Lists.getRange(this, start, rangeLength, <SVGNumber>[]); | 3519 _Lists.getRange(this, start, rangeLength, <Number>[]); |
| 3630 | 3520 |
| 3631 // -- end List<SVGNumber> mixins. | 3521 // -- end List<Number> mixins. |
| 3632 | 3522 |
| 3633 /** @domName SVGNumberList.appendItem */ | 3523 /** @domName SVGNumberList.appendItem */ |
| 3634 SVGNumber appendItem(SVGNumber item) native; | 3524 Number appendItem(Number item) native; |
| 3635 | 3525 |
| 3636 /** @domName SVGNumberList.clear */ | 3526 /** @domName SVGNumberList.clear */ |
| 3637 void clear() native; | 3527 void clear() native; |
| 3638 | 3528 |
| 3639 /** @domName SVGNumberList.getItem */ | 3529 /** @domName SVGNumberList.getItem */ |
| 3640 SVGNumber getItem(int index) native; | 3530 Number getItem(int index) native; |
| 3641 | 3531 |
| 3642 /** @domName SVGNumberList.initialize */ | 3532 /** @domName SVGNumberList.initialize */ |
| 3643 SVGNumber initialize(SVGNumber item) native; | 3533 Number initialize(Number item) native; |
| 3644 | 3534 |
| 3645 /** @domName SVGNumberList.insertItemBefore */ | 3535 /** @domName SVGNumberList.insertItemBefore */ |
| 3646 SVGNumber insertItemBefore(SVGNumber item, int index) native; | 3536 Number insertItemBefore(Number item, int index) native; |
| 3647 | 3537 |
| 3648 /** @domName SVGNumberList.removeItem */ | 3538 /** @domName SVGNumberList.removeItem */ |
| 3649 SVGNumber removeItem(int index) native; | 3539 Number removeItem(int index) native; |
| 3650 | 3540 |
| 3651 /** @domName SVGNumberList.replaceItem */ | 3541 /** @domName SVGNumberList.replaceItem */ |
| 3652 SVGNumber replaceItem(SVGNumber item, int index) native; | 3542 Number replaceItem(Number item, int index) native; |
| 3653 } | 3543 } |
| 3654 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3544 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3655 // for details. All rights reserved. Use of this source code is governed by a | 3545 // for details. All rights reserved. Use of this source code is governed by a |
| 3656 // BSD-style license that can be found in the LICENSE file. | 3546 // BSD-style license that can be found in the LICENSE file. |
| 3657 | 3547 |
| 3658 | 3548 |
| 3659 /// @domName SVGPaint | 3549 /// @domName SVGPaint |
| 3660 class SVGPaint extends SVGColor native "*SVGPaint" { | 3550 class Paint extends Color native "*SVGPaint" { |
| 3661 | 3551 |
| 3662 static const int SVG_PAINTTYPE_CURRENTCOLOR = 102; | 3552 static const int SVG_PAINTTYPE_CURRENTCOLOR = 102; |
| 3663 | 3553 |
| 3664 static const int SVG_PAINTTYPE_NONE = 101; | 3554 static const int SVG_PAINTTYPE_NONE = 101; |
| 3665 | 3555 |
| 3666 static const int SVG_PAINTTYPE_RGBCOLOR = 1; | 3556 static const int SVG_PAINTTYPE_RGBCOLOR = 1; |
| 3667 | 3557 |
| 3668 static const int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2; | 3558 static const int SVG_PAINTTYPE_RGBCOLOR_ICCCOLOR = 2; |
| 3669 | 3559 |
| 3670 static const int SVG_PAINTTYPE_UNKNOWN = 0; | 3560 static const int SVG_PAINTTYPE_UNKNOWN = 0; |
| (...skipping 19 matching lines...) Expand all Loading... |
| 3690 | 3580 |
| 3691 /** @domName SVGPaint.setUri */ | 3581 /** @domName SVGPaint.setUri */ |
| 3692 void setUri(String uri) native; | 3582 void setUri(String uri) native; |
| 3693 } | 3583 } |
| 3694 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3584 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3695 // for details. All rights reserved. Use of this source code is governed by a | 3585 // for details. All rights reserved. Use of this source code is governed by a |
| 3696 // BSD-style license that can be found in the LICENSE file. | 3586 // BSD-style license that can be found in the LICENSE file. |
| 3697 | 3587 |
| 3698 | 3588 |
| 3699 /// @domName SVGPathElement | 3589 /// @domName SVGPathElement |
| 3700 class SVGPathElement extends SVGElement implements SVGLangSpace, SVGStylable, SV
GTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGPathElement"
{ | 3590 class PathElement extends SvgElement implements Transformable, Tests, Stylable,
ExternalResourcesRequired, LangSpace native "*SVGPathElement" { |
| 3701 | 3591 |
| 3702 factory SVGPathElement() => _SVGElementFactoryProvider.createSVGElement_tag("p
ath"); | 3592 factory PathElement() => _SvgElementFactoryProvider.createSvgElement_tag("path
"); |
| 3703 | 3593 |
| 3704 /** @domName SVGPathElement.animatedNormalizedPathSegList */ | 3594 /** @domName SVGPathElement.animatedNormalizedPathSegList */ |
| 3705 final SVGPathSegList animatedNormalizedPathSegList; | 3595 final PathSegList animatedNormalizedPathSegList; |
| 3706 | 3596 |
| 3707 /** @domName SVGPathElement.animatedPathSegList */ | 3597 /** @domName SVGPathElement.animatedPathSegList */ |
| 3708 final SVGPathSegList animatedPathSegList; | 3598 final PathSegList animatedPathSegList; |
| 3709 | 3599 |
| 3710 /** @domName SVGPathElement.normalizedPathSegList */ | 3600 /** @domName SVGPathElement.normalizedPathSegList */ |
| 3711 final SVGPathSegList normalizedPathSegList; | 3601 final PathSegList normalizedPathSegList; |
| 3712 | 3602 |
| 3713 /** @domName SVGPathElement.pathLength */ | 3603 /** @domName SVGPathElement.pathLength */ |
| 3714 final SVGAnimatedNumber pathLength; | 3604 final AnimatedNumber pathLength; |
| 3715 | 3605 |
| 3716 /** @domName SVGPathElement.pathSegList */ | 3606 /** @domName SVGPathElement.pathSegList */ |
| 3717 final SVGPathSegList pathSegList; | 3607 final PathSegList pathSegList; |
| 3718 | 3608 |
| 3719 /** @domName SVGPathElement.createSVGPathSegArcAbs */ | 3609 /** @domName SVGPathElement.createSVGPathSegArcAbs */ |
| 3720 SVGPathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angl
e, bool largeArcFlag, bool sweepFlag) native; | 3610 PathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angle,
bool largeArcFlag, bool sweepFlag) native; |
| 3721 | 3611 |
| 3722 /** @domName SVGPathElement.createSVGPathSegArcRel */ | 3612 /** @domName SVGPathElement.createSVGPathSegArcRel */ |
| 3723 SVGPathSegArcRel createSVGPathSegArcRel(num x, num y, num r1, num r2, num angl
e, bool largeArcFlag, bool sweepFlag) native; | 3613 PathSegArcRel createSVGPathSegArcRel(num x, num y, num r1, num r2, num angle,
bool largeArcFlag, bool sweepFlag) native; |
| 3724 | 3614 |
| 3725 /** @domName SVGPathElement.createSVGPathSegClosePath */ | 3615 /** @domName SVGPathElement.createSVGPathSegClosePath */ |
| 3726 SVGPathSegClosePath createSVGPathSegClosePath() native; | 3616 PathSegClosePath createSVGPathSegClosePath() native; |
| 3727 | 3617 |
| 3728 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicAbs */ | 3618 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicAbs */ |
| 3729 SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1
, num y1, num x2, num y2) native; | 3619 PathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1, n
um y1, num x2, num y2) native; |
| 3730 | 3620 |
| 3731 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicRel */ | 3621 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicRel */ |
| 3732 SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(num x, num y, num x1
, num y1, num x2, num y2) native; | 3622 PathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(num x, num y, num x1, n
um y1, num x2, num y2) native; |
| 3733 | 3623 |
| 3734 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicSmoothAbs */ | 3624 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicSmoothAbs */ |
| 3735 SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(num x, n
um y, num x2, num y2) native; | 3625 PathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(num x, num
y, num x2, num y2) native; |
| 3736 | 3626 |
| 3737 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel */ | 3627 /** @domName SVGPathElement.createSVGPathSegCurvetoCubicSmoothRel */ |
| 3738 SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(num x, n
um y, num x2, num y2) native; | 3628 PathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(num x, num
y, num x2, num y2) native; |
| 3739 | 3629 |
| 3740 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticAbs */ | 3630 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticAbs */ |
| 3741 SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(num x, num y
, num x1, num y1) native; | 3631 PathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(num x, num y, n
um x1, num y1) native; |
| 3742 | 3632 |
| 3743 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticRel */ | 3633 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticRel */ |
| 3744 SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(num x, num y
, num x1, num y1) native; | 3634 PathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(num x, num y, n
um x1, num y1) native; |
| 3745 | 3635 |
| 3746 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothAbs */ | 3636 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothAbs */ |
| 3747 SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(
num x, num y) native; | 3637 PathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(num
x, num y) native; |
| 3748 | 3638 |
| 3749 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothRel */ | 3639 /** @domName SVGPathElement.createSVGPathSegCurvetoQuadraticSmoothRel */ |
| 3750 SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(
num x, num y) native; | 3640 PathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(num
x, num y) native; |
| 3751 | 3641 |
| 3752 /** @domName SVGPathElement.createSVGPathSegLinetoAbs */ | 3642 /** @domName SVGPathElement.createSVGPathSegLinetoAbs */ |
| 3753 SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(num x, num y) native; | 3643 PathSegLinetoAbs createSVGPathSegLinetoAbs(num x, num y) native; |
| 3754 | 3644 |
| 3755 /** @domName SVGPathElement.createSVGPathSegLinetoHorizontalAbs */ | 3645 /** @domName SVGPathElement.createSVGPathSegLinetoHorizontalAbs */ |
| 3756 SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(num x) nativ
e; | 3646 PathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(num x) native; |
| 3757 | 3647 |
| 3758 /** @domName SVGPathElement.createSVGPathSegLinetoHorizontalRel */ | 3648 /** @domName SVGPathElement.createSVGPathSegLinetoHorizontalRel */ |
| 3759 SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(num x) nativ
e; | 3649 PathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(num x) native; |
| 3760 | 3650 |
| 3761 /** @domName SVGPathElement.createSVGPathSegLinetoRel */ | 3651 /** @domName SVGPathElement.createSVGPathSegLinetoRel */ |
| 3762 SVGPathSegLinetoRel createSVGPathSegLinetoRel(num x, num y) native; | 3652 PathSegLinetoRel createSVGPathSegLinetoRel(num x, num y) native; |
| 3763 | 3653 |
| 3764 /** @domName SVGPathElement.createSVGPathSegLinetoVerticalAbs */ | 3654 /** @domName SVGPathElement.createSVGPathSegLinetoVerticalAbs */ |
| 3765 SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(num y) native; | 3655 PathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(num y) native; |
| 3766 | 3656 |
| 3767 /** @domName SVGPathElement.createSVGPathSegLinetoVerticalRel */ | 3657 /** @domName SVGPathElement.createSVGPathSegLinetoVerticalRel */ |
| 3768 SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(num y) native; | 3658 PathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(num y) native; |
| 3769 | 3659 |
| 3770 /** @domName SVGPathElement.createSVGPathSegMovetoAbs */ | 3660 /** @domName SVGPathElement.createSVGPathSegMovetoAbs */ |
| 3771 SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(num x, num y) native; | 3661 PathSegMovetoAbs createSVGPathSegMovetoAbs(num x, num y) native; |
| 3772 | 3662 |
| 3773 /** @domName SVGPathElement.createSVGPathSegMovetoRel */ | 3663 /** @domName SVGPathElement.createSVGPathSegMovetoRel */ |
| 3774 SVGPathSegMovetoRel createSVGPathSegMovetoRel(num x, num y) native; | 3664 PathSegMovetoRel createSVGPathSegMovetoRel(num x, num y) native; |
| 3775 | 3665 |
| 3776 /** @domName SVGPathElement.getPathSegAtLength */ | 3666 /** @domName SVGPathElement.getPathSegAtLength */ |
| 3777 int getPathSegAtLength(num distance) native; | 3667 int getPathSegAtLength(num distance) native; |
| 3778 | 3668 |
| 3779 /** @domName SVGPathElement.getPointAtLength */ | 3669 /** @domName SVGPathElement.getPointAtLength */ |
| 3780 SVGPoint getPointAtLength(num distance) native; | 3670 Point getPointAtLength(num distance) native; |
| 3781 | 3671 |
| 3782 /** @domName SVGPathElement.getTotalLength */ | 3672 /** @domName SVGPathElement.getTotalLength */ |
| 3783 num getTotalLength() native; | 3673 num getTotalLength() native; |
| 3784 | 3674 |
| 3785 // From SVGExternalResourcesRequired | 3675 // From SVGExternalResourcesRequired |
| 3786 | 3676 |
| 3787 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 3677 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 3788 final SVGAnimatedBoolean externalResourcesRequired; | 3678 final AnimatedBoolean externalResourcesRequired; |
| 3789 | 3679 |
| 3790 // From SVGLangSpace | 3680 // From SVGLangSpace |
| 3791 | 3681 |
| 3792 /** @domName SVGLangSpace.xmllang */ | 3682 /** @domName SVGLangSpace.xmllang */ |
| 3793 String xmllang; | 3683 String xmllang; |
| 3794 | 3684 |
| 3795 /** @domName SVGLangSpace.xmlspace */ | 3685 /** @domName SVGLangSpace.xmlspace */ |
| 3796 String xmlspace; | 3686 String xmlspace; |
| 3797 | 3687 |
| 3798 // From SVGLocatable | 3688 // From SVGLocatable |
| 3799 | 3689 |
| 3800 /** @domName SVGLocatable.farthestViewportElement */ | 3690 /** @domName SVGLocatable.farthestViewportElement */ |
| 3801 final SVGElement farthestViewportElement; | 3691 final SvgElement farthestViewportElement; |
| 3802 | 3692 |
| 3803 /** @domName SVGLocatable.nearestViewportElement */ | 3693 /** @domName SVGLocatable.nearestViewportElement */ |
| 3804 final SVGElement nearestViewportElement; | 3694 final SvgElement nearestViewportElement; |
| 3805 | 3695 |
| 3806 /** @domName SVGLocatable.getBBox */ | 3696 /** @domName SVGLocatable.getBBox */ |
| 3807 SVGRect getBBox() native; | 3697 Rect getBBox() native; |
| 3808 | 3698 |
| 3809 /** @domName SVGLocatable.getCTM */ | 3699 /** @domName SVGLocatable.getCTM */ |
| 3810 SVGMatrix getCTM() native; | 3700 Matrix getCTM() native; |
| 3811 | 3701 |
| 3812 /** @domName SVGLocatable.getScreenCTM */ | 3702 /** @domName SVGLocatable.getScreenCTM */ |
| 3813 SVGMatrix getScreenCTM() native; | 3703 Matrix getScreenCTM() native; |
| 3814 | 3704 |
| 3815 /** @domName SVGLocatable.getTransformToElement */ | 3705 /** @domName SVGLocatable.getTransformToElement */ |
| 3816 SVGMatrix getTransformToElement(SVGElement element) native; | 3706 Matrix getTransformToElement(SvgElement element) native; |
| 3817 | 3707 |
| 3818 // From SVGStylable | 3708 // From SVGStylable |
| 3819 | 3709 |
| 3820 /** @domName SVGStylable.className */ | 3710 /** @domName SVGStylable.className */ |
| 3821 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 3711 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 3822 | 3712 |
| 3823 // Use implementation from Element. | 3713 // Use implementation from Element. |
| 3824 // final CSSStyleDeclaration style; | 3714 // final CSSStyleDeclaration style; |
| 3825 | 3715 |
| 3826 /** @domName SVGStylable.getPresentationAttribute */ | 3716 /** @domName SVGStylable.getPresentationAttribute */ |
| 3827 CSSValue getPresentationAttribute(String name) native; | 3717 CSSValue getPresentationAttribute(String name) native; |
| 3828 | 3718 |
| 3829 // From SVGTests | 3719 // From SVGTests |
| 3830 | 3720 |
| 3831 /** @domName SVGTests.requiredExtensions */ | 3721 /** @domName SVGTests.requiredExtensions */ |
| 3832 final SVGStringList requiredExtensions; | 3722 final StringList requiredExtensions; |
| 3833 | 3723 |
| 3834 /** @domName SVGTests.requiredFeatures */ | 3724 /** @domName SVGTests.requiredFeatures */ |
| 3835 final SVGStringList requiredFeatures; | 3725 final StringList requiredFeatures; |
| 3836 | 3726 |
| 3837 /** @domName SVGTests.systemLanguage */ | 3727 /** @domName SVGTests.systemLanguage */ |
| 3838 final SVGStringList systemLanguage; | 3728 final StringList systemLanguage; |
| 3839 | 3729 |
| 3840 /** @domName SVGTests.hasExtension */ | 3730 /** @domName SVGTests.hasExtension */ |
| 3841 bool hasExtension(String extension) native; | 3731 bool hasExtension(String extension) native; |
| 3842 | 3732 |
| 3843 // From SVGTransformable | 3733 // From SVGTransformable |
| 3844 | 3734 |
| 3845 /** @domName SVGTransformable.transform */ | 3735 /** @domName SVGTransformable.transform */ |
| 3846 final SVGAnimatedTransformList transform; | 3736 final AnimatedTransformList transform; |
| 3847 } | 3737 } |
| 3848 // 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 |
| 3849 // 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 |
| 3850 // BSD-style license that can be found in the LICENSE file. | 3740 // BSD-style license that can be found in the LICENSE file. |
| 3851 | 3741 |
| 3852 | 3742 |
| 3853 /// @domName SVGPathSeg | 3743 /// @domName SVGPathSeg |
| 3854 class SVGPathSeg native "*SVGPathSeg" { | 3744 class PathSeg native "*SVGPathSeg" { |
| 3855 | 3745 |
| 3856 static const int PATHSEG_ARC_ABS = 10; | 3746 static const int PATHSEG_ARC_ABS = 10; |
| 3857 | 3747 |
| 3858 static const int PATHSEG_ARC_REL = 11; | 3748 static const int PATHSEG_ARC_REL = 11; |
| 3859 | 3749 |
| 3860 static const int PATHSEG_CLOSEPATH = 1; | 3750 static const int PATHSEG_CLOSEPATH = 1; |
| 3861 | 3751 |
| 3862 static const int PATHSEG_CURVETO_CUBIC_ABS = 6; | 3752 static const int PATHSEG_CURVETO_CUBIC_ABS = 6; |
| 3863 | 3753 |
| 3864 static const int PATHSEG_CURVETO_CUBIC_REL = 7; | 3754 static const int PATHSEG_CURVETO_CUBIC_REL = 7; |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3898 | 3788 |
| 3899 /** @domName SVGPathSeg.pathSegTypeAsLetter */ | 3789 /** @domName SVGPathSeg.pathSegTypeAsLetter */ |
| 3900 final String pathSegTypeAsLetter; | 3790 final String pathSegTypeAsLetter; |
| 3901 } | 3791 } |
| 3902 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3792 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3903 // for details. All rights reserved. Use of this source code is governed by a | 3793 // for details. All rights reserved. Use of this source code is governed by a |
| 3904 // BSD-style license that can be found in the LICENSE file. | 3794 // BSD-style license that can be found in the LICENSE file. |
| 3905 | 3795 |
| 3906 | 3796 |
| 3907 /// @domName SVGPathSegArcAbs | 3797 /// @domName SVGPathSegArcAbs |
| 3908 class SVGPathSegArcAbs extends SVGPathSeg native "*SVGPathSegArcAbs" { | 3798 class PathSegArcAbs extends PathSeg native "*SVGPathSegArcAbs" { |
| 3909 | 3799 |
| 3910 /** @domName SVGPathSegArcAbs.angle */ | 3800 /** @domName SVGPathSegArcAbs.angle */ |
| 3911 num angle; | 3801 num angle; |
| 3912 | 3802 |
| 3913 /** @domName SVGPathSegArcAbs.largeArcFlag */ | 3803 /** @domName SVGPathSegArcAbs.largeArcFlag */ |
| 3914 bool largeArcFlag; | 3804 bool largeArcFlag; |
| 3915 | 3805 |
| 3916 /** @domName SVGPathSegArcAbs.r1 */ | 3806 /** @domName SVGPathSegArcAbs.r1 */ |
| 3917 num r1; | 3807 num r1; |
| 3918 | 3808 |
| 3919 /** @domName SVGPathSegArcAbs.r2 */ | 3809 /** @domName SVGPathSegArcAbs.r2 */ |
| 3920 num r2; | 3810 num r2; |
| 3921 | 3811 |
| 3922 /** @domName SVGPathSegArcAbs.sweepFlag */ | 3812 /** @domName SVGPathSegArcAbs.sweepFlag */ |
| 3923 bool sweepFlag; | 3813 bool sweepFlag; |
| 3924 | 3814 |
| 3925 /** @domName SVGPathSegArcAbs.x */ | 3815 /** @domName SVGPathSegArcAbs.x */ |
| 3926 num x; | 3816 num x; |
| 3927 | 3817 |
| 3928 /** @domName SVGPathSegArcAbs.y */ | 3818 /** @domName SVGPathSegArcAbs.y */ |
| 3929 num y; | 3819 num y; |
| 3930 } | 3820 } |
| 3931 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3821 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3932 // for details. All rights reserved. Use of this source code is governed by a | 3822 // for details. All rights reserved. Use of this source code is governed by a |
| 3933 // BSD-style license that can be found in the LICENSE file. | 3823 // BSD-style license that can be found in the LICENSE file. |
| 3934 | 3824 |
| 3935 | 3825 |
| 3936 /// @domName SVGPathSegArcRel | 3826 /// @domName SVGPathSegArcRel |
| 3937 class SVGPathSegArcRel extends SVGPathSeg native "*SVGPathSegArcRel" { | 3827 class PathSegArcRel extends PathSeg native "*SVGPathSegArcRel" { |
| 3938 | 3828 |
| 3939 /** @domName SVGPathSegArcRel.angle */ | 3829 /** @domName SVGPathSegArcRel.angle */ |
| 3940 num angle; | 3830 num angle; |
| 3941 | 3831 |
| 3942 /** @domName SVGPathSegArcRel.largeArcFlag */ | 3832 /** @domName SVGPathSegArcRel.largeArcFlag */ |
| 3943 bool largeArcFlag; | 3833 bool largeArcFlag; |
| 3944 | 3834 |
| 3945 /** @domName SVGPathSegArcRel.r1 */ | 3835 /** @domName SVGPathSegArcRel.r1 */ |
| 3946 num r1; | 3836 num r1; |
| 3947 | 3837 |
| 3948 /** @domName SVGPathSegArcRel.r2 */ | 3838 /** @domName SVGPathSegArcRel.r2 */ |
| 3949 num r2; | 3839 num r2; |
| 3950 | 3840 |
| 3951 /** @domName SVGPathSegArcRel.sweepFlag */ | 3841 /** @domName SVGPathSegArcRel.sweepFlag */ |
| 3952 bool sweepFlag; | 3842 bool sweepFlag; |
| 3953 | 3843 |
| 3954 /** @domName SVGPathSegArcRel.x */ | 3844 /** @domName SVGPathSegArcRel.x */ |
| 3955 num x; | 3845 num x; |
| 3956 | 3846 |
| 3957 /** @domName SVGPathSegArcRel.y */ | 3847 /** @domName SVGPathSegArcRel.y */ |
| 3958 num y; | 3848 num y; |
| 3959 } | 3849 } |
| 3960 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3850 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3961 // for details. All rights reserved. Use of this source code is governed by a | 3851 // for details. All rights reserved. Use of this source code is governed by a |
| 3962 // BSD-style license that can be found in the LICENSE file. | 3852 // BSD-style license that can be found in the LICENSE file. |
| 3963 | 3853 |
| 3964 | 3854 |
| 3965 /// @domName SVGPathSegClosePath | 3855 /// @domName SVGPathSegClosePath |
| 3966 class SVGPathSegClosePath extends SVGPathSeg native "*SVGPathSegClosePath" { | 3856 class PathSegClosePath extends PathSeg native "*SVGPathSegClosePath" { |
| 3967 } | 3857 } |
| 3968 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3858 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3969 // for details. All rights reserved. Use of this source code is governed by a | 3859 // for details. All rights reserved. Use of this source code is governed by a |
| 3970 // BSD-style license that can be found in the LICENSE file. | 3860 // BSD-style license that can be found in the LICENSE file. |
| 3971 | 3861 |
| 3972 | 3862 |
| 3973 /// @domName SVGPathSegCurvetoCubicAbs | 3863 /// @domName SVGPathSegCurvetoCubicAbs |
| 3974 class SVGPathSegCurvetoCubicAbs extends SVGPathSeg native "*SVGPathSegCurvetoCub
icAbs" { | 3864 class PathSegCurvetoCubicAbs extends PathSeg native "*SVGPathSegCurvetoCubicAbs"
{ |
| 3975 | 3865 |
| 3976 /** @domName SVGPathSegCurvetoCubicAbs.x */ | 3866 /** @domName SVGPathSegCurvetoCubicAbs.x */ |
| 3977 num x; | 3867 num x; |
| 3978 | 3868 |
| 3979 /** @domName SVGPathSegCurvetoCubicAbs.x1 */ | 3869 /** @domName SVGPathSegCurvetoCubicAbs.x1 */ |
| 3980 num x1; | 3870 num x1; |
| 3981 | 3871 |
| 3982 /** @domName SVGPathSegCurvetoCubicAbs.x2 */ | 3872 /** @domName SVGPathSegCurvetoCubicAbs.x2 */ |
| 3983 num x2; | 3873 num x2; |
| 3984 | 3874 |
| 3985 /** @domName SVGPathSegCurvetoCubicAbs.y */ | 3875 /** @domName SVGPathSegCurvetoCubicAbs.y */ |
| 3986 num y; | 3876 num y; |
| 3987 | 3877 |
| 3988 /** @domName SVGPathSegCurvetoCubicAbs.y1 */ | 3878 /** @domName SVGPathSegCurvetoCubicAbs.y1 */ |
| 3989 num y1; | 3879 num y1; |
| 3990 | 3880 |
| 3991 /** @domName SVGPathSegCurvetoCubicAbs.y2 */ | 3881 /** @domName SVGPathSegCurvetoCubicAbs.y2 */ |
| 3992 num y2; | 3882 num y2; |
| 3993 } | 3883 } |
| 3994 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3884 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3995 // for details. All rights reserved. Use of this source code is governed by a | 3885 // for details. All rights reserved. Use of this source code is governed by a |
| 3996 // BSD-style license that can be found in the LICENSE file. | 3886 // BSD-style license that can be found in the LICENSE file. |
| 3997 | 3887 |
| 3998 | 3888 |
| 3999 /// @domName SVGPathSegCurvetoCubicRel | 3889 /// @domName SVGPathSegCurvetoCubicRel |
| 4000 class SVGPathSegCurvetoCubicRel extends SVGPathSeg native "*SVGPathSegCurvetoCub
icRel" { | 3890 class PathSegCurvetoCubicRel extends PathSeg native "*SVGPathSegCurvetoCubicRel"
{ |
| 4001 | 3891 |
| 4002 /** @domName SVGPathSegCurvetoCubicRel.x */ | 3892 /** @domName SVGPathSegCurvetoCubicRel.x */ |
| 4003 num x; | 3893 num x; |
| 4004 | 3894 |
| 4005 /** @domName SVGPathSegCurvetoCubicRel.x1 */ | 3895 /** @domName SVGPathSegCurvetoCubicRel.x1 */ |
| 4006 num x1; | 3896 num x1; |
| 4007 | 3897 |
| 4008 /** @domName SVGPathSegCurvetoCubicRel.x2 */ | 3898 /** @domName SVGPathSegCurvetoCubicRel.x2 */ |
| 4009 num x2; | 3899 num x2; |
| 4010 | 3900 |
| 4011 /** @domName SVGPathSegCurvetoCubicRel.y */ | 3901 /** @domName SVGPathSegCurvetoCubicRel.y */ |
| 4012 num y; | 3902 num y; |
| 4013 | 3903 |
| 4014 /** @domName SVGPathSegCurvetoCubicRel.y1 */ | 3904 /** @domName SVGPathSegCurvetoCubicRel.y1 */ |
| 4015 num y1; | 3905 num y1; |
| 4016 | 3906 |
| 4017 /** @domName SVGPathSegCurvetoCubicRel.y2 */ | 3907 /** @domName SVGPathSegCurvetoCubicRel.y2 */ |
| 4018 num y2; | 3908 num y2; |
| 4019 } | 3909 } |
| 4020 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3910 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4021 // for details. All rights reserved. Use of this source code is governed by a | 3911 // for details. All rights reserved. Use of this source code is governed by a |
| 4022 // BSD-style license that can be found in the LICENSE file. | 3912 // BSD-style license that can be found in the LICENSE file. |
| 4023 | 3913 |
| 4024 | 3914 |
| 4025 /// @domName SVGPathSegCurvetoCubicSmoothAbs | 3915 /// @domName SVGPathSegCurvetoCubicSmoothAbs |
| 4026 class SVGPathSegCurvetoCubicSmoothAbs extends SVGPathSeg native "*SVGPathSegCurv
etoCubicSmoothAbs" { | 3916 class PathSegCurvetoCubicSmoothAbs extends PathSeg native "*SVGPathSegCurvetoCub
icSmoothAbs" { |
| 4027 | 3917 |
| 4028 /** @domName SVGPathSegCurvetoCubicSmoothAbs.x */ | 3918 /** @domName SVGPathSegCurvetoCubicSmoothAbs.x */ |
| 4029 num x; | 3919 num x; |
| 4030 | 3920 |
| 4031 /** @domName SVGPathSegCurvetoCubicSmoothAbs.x2 */ | 3921 /** @domName SVGPathSegCurvetoCubicSmoothAbs.x2 */ |
| 4032 num x2; | 3922 num x2; |
| 4033 | 3923 |
| 4034 /** @domName SVGPathSegCurvetoCubicSmoothAbs.y */ | 3924 /** @domName SVGPathSegCurvetoCubicSmoothAbs.y */ |
| 4035 num y; | 3925 num y; |
| 4036 | 3926 |
| 4037 /** @domName SVGPathSegCurvetoCubicSmoothAbs.y2 */ | 3927 /** @domName SVGPathSegCurvetoCubicSmoothAbs.y2 */ |
| 4038 num y2; | 3928 num y2; |
| 4039 } | 3929 } |
| 4040 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3930 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4041 // for details. All rights reserved. Use of this source code is governed by a | 3931 // for details. All rights reserved. Use of this source code is governed by a |
| 4042 // BSD-style license that can be found in the LICENSE file. | 3932 // BSD-style license that can be found in the LICENSE file. |
| 4043 | 3933 |
| 4044 | 3934 |
| 4045 /// @domName SVGPathSegCurvetoCubicSmoothRel | 3935 /// @domName SVGPathSegCurvetoCubicSmoothRel |
| 4046 class SVGPathSegCurvetoCubicSmoothRel extends SVGPathSeg native "*SVGPathSegCurv
etoCubicSmoothRel" { | 3936 class PathSegCurvetoCubicSmoothRel extends PathSeg native "*SVGPathSegCurvetoCub
icSmoothRel" { |
| 4047 | 3937 |
| 4048 /** @domName SVGPathSegCurvetoCubicSmoothRel.x */ | 3938 /** @domName SVGPathSegCurvetoCubicSmoothRel.x */ |
| 4049 num x; | 3939 num x; |
| 4050 | 3940 |
| 4051 /** @domName SVGPathSegCurvetoCubicSmoothRel.x2 */ | 3941 /** @domName SVGPathSegCurvetoCubicSmoothRel.x2 */ |
| 4052 num x2; | 3942 num x2; |
| 4053 | 3943 |
| 4054 /** @domName SVGPathSegCurvetoCubicSmoothRel.y */ | 3944 /** @domName SVGPathSegCurvetoCubicSmoothRel.y */ |
| 4055 num y; | 3945 num y; |
| 4056 | 3946 |
| 4057 /** @domName SVGPathSegCurvetoCubicSmoothRel.y2 */ | 3947 /** @domName SVGPathSegCurvetoCubicSmoothRel.y2 */ |
| 4058 num y2; | 3948 num y2; |
| 4059 } | 3949 } |
| 4060 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3950 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4061 // for details. All rights reserved. Use of this source code is governed by a | 3951 // for details. All rights reserved. Use of this source code is governed by a |
| 4062 // BSD-style license that can be found in the LICENSE file. | 3952 // BSD-style license that can be found in the LICENSE file. |
| 4063 | 3953 |
| 4064 | 3954 |
| 4065 /// @domName SVGPathSegCurvetoQuadraticAbs | 3955 /// @domName SVGPathSegCurvetoQuadraticAbs |
| 4066 class SVGPathSegCurvetoQuadraticAbs extends SVGPathSeg native "*SVGPathSegCurvet
oQuadraticAbs" { | 3956 class PathSegCurvetoQuadraticAbs extends PathSeg native "*SVGPathSegCurvetoQuadr
aticAbs" { |
| 4067 | 3957 |
| 4068 /** @domName SVGPathSegCurvetoQuadraticAbs.x */ | 3958 /** @domName SVGPathSegCurvetoQuadraticAbs.x */ |
| 4069 num x; | 3959 num x; |
| 4070 | 3960 |
| 4071 /** @domName SVGPathSegCurvetoQuadraticAbs.x1 */ | 3961 /** @domName SVGPathSegCurvetoQuadraticAbs.x1 */ |
| 4072 num x1; | 3962 num x1; |
| 4073 | 3963 |
| 4074 /** @domName SVGPathSegCurvetoQuadraticAbs.y */ | 3964 /** @domName SVGPathSegCurvetoQuadraticAbs.y */ |
| 4075 num y; | 3965 num y; |
| 4076 | 3966 |
| 4077 /** @domName SVGPathSegCurvetoQuadraticAbs.y1 */ | 3967 /** @domName SVGPathSegCurvetoQuadraticAbs.y1 */ |
| 4078 num y1; | 3968 num y1; |
| 4079 } | 3969 } |
| 4080 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3970 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4081 // for details. All rights reserved. Use of this source code is governed by a | 3971 // for details. All rights reserved. Use of this source code is governed by a |
| 4082 // BSD-style license that can be found in the LICENSE file. | 3972 // BSD-style license that can be found in the LICENSE file. |
| 4083 | 3973 |
| 4084 | 3974 |
| 4085 /// @domName SVGPathSegCurvetoQuadraticRel | 3975 /// @domName SVGPathSegCurvetoQuadraticRel |
| 4086 class SVGPathSegCurvetoQuadraticRel extends SVGPathSeg native "*SVGPathSegCurvet
oQuadraticRel" { | 3976 class PathSegCurvetoQuadraticRel extends PathSeg native "*SVGPathSegCurvetoQuadr
aticRel" { |
| 4087 | 3977 |
| 4088 /** @domName SVGPathSegCurvetoQuadraticRel.x */ | 3978 /** @domName SVGPathSegCurvetoQuadraticRel.x */ |
| 4089 num x; | 3979 num x; |
| 4090 | 3980 |
| 4091 /** @domName SVGPathSegCurvetoQuadraticRel.x1 */ | 3981 /** @domName SVGPathSegCurvetoQuadraticRel.x1 */ |
| 4092 num x1; | 3982 num x1; |
| 4093 | 3983 |
| 4094 /** @domName SVGPathSegCurvetoQuadraticRel.y */ | 3984 /** @domName SVGPathSegCurvetoQuadraticRel.y */ |
| 4095 num y; | 3985 num y; |
| 4096 | 3986 |
| 4097 /** @domName SVGPathSegCurvetoQuadraticRel.y1 */ | 3987 /** @domName SVGPathSegCurvetoQuadraticRel.y1 */ |
| 4098 num y1; | 3988 num y1; |
| 4099 } | 3989 } |
| 4100 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 3990 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4101 // for details. All rights reserved. Use of this source code is governed by a | 3991 // for details. All rights reserved. Use of this source code is governed by a |
| 4102 // BSD-style license that can be found in the LICENSE file. | 3992 // BSD-style license that can be found in the LICENSE file. |
| 4103 | 3993 |
| 4104 | 3994 |
| 4105 /// @domName SVGPathSegCurvetoQuadraticSmoothAbs | 3995 /// @domName SVGPathSegCurvetoQuadraticSmoothAbs |
| 4106 class SVGPathSegCurvetoQuadraticSmoothAbs extends SVGPathSeg native "*SVGPathSeg
CurvetoQuadraticSmoothAbs" { | 3996 class PathSegCurvetoQuadraticSmoothAbs extends PathSeg native "*SVGPathSegCurvet
oQuadraticSmoothAbs" { |
| 4107 | 3997 |
| 4108 /** @domName SVGPathSegCurvetoQuadraticSmoothAbs.x */ | 3998 /** @domName SVGPathSegCurvetoQuadraticSmoothAbs.x */ |
| 4109 num x; | 3999 num x; |
| 4110 | 4000 |
| 4111 /** @domName SVGPathSegCurvetoQuadraticSmoothAbs.y */ | 4001 /** @domName SVGPathSegCurvetoQuadraticSmoothAbs.y */ |
| 4112 num y; | 4002 num y; |
| 4113 } | 4003 } |
| 4114 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4004 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4115 // for details. All rights reserved. Use of this source code is governed by a | 4005 // for details. All rights reserved. Use of this source code is governed by a |
| 4116 // BSD-style license that can be found in the LICENSE file. | 4006 // BSD-style license that can be found in the LICENSE file. |
| 4117 | 4007 |
| 4118 | 4008 |
| 4119 /// @domName SVGPathSegCurvetoQuadraticSmoothRel | 4009 /// @domName SVGPathSegCurvetoQuadraticSmoothRel |
| 4120 class SVGPathSegCurvetoQuadraticSmoothRel extends SVGPathSeg native "*SVGPathSeg
CurvetoQuadraticSmoothRel" { | 4010 class PathSegCurvetoQuadraticSmoothRel extends PathSeg native "*SVGPathSegCurvet
oQuadraticSmoothRel" { |
| 4121 | 4011 |
| 4122 /** @domName SVGPathSegCurvetoQuadraticSmoothRel.x */ | 4012 /** @domName SVGPathSegCurvetoQuadraticSmoothRel.x */ |
| 4123 num x; | 4013 num x; |
| 4124 | 4014 |
| 4125 /** @domName SVGPathSegCurvetoQuadraticSmoothRel.y */ | 4015 /** @domName SVGPathSegCurvetoQuadraticSmoothRel.y */ |
| 4126 num y; | 4016 num y; |
| 4127 } | 4017 } |
| 4128 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4018 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4129 // for details. All rights reserved. Use of this source code is governed by a | 4019 // for details. All rights reserved. Use of this source code is governed by a |
| 4130 // BSD-style license that can be found in the LICENSE file. | 4020 // BSD-style license that can be found in the LICENSE file. |
| 4131 | 4021 |
| 4132 | 4022 |
| 4133 /// @domName SVGPathSegLinetoAbs | 4023 /// @domName SVGPathSegLinetoAbs |
| 4134 class SVGPathSegLinetoAbs extends SVGPathSeg native "*SVGPathSegLinetoAbs" { | 4024 class PathSegLinetoAbs extends PathSeg native "*SVGPathSegLinetoAbs" { |
| 4135 | 4025 |
| 4136 /** @domName SVGPathSegLinetoAbs.x */ | 4026 /** @domName SVGPathSegLinetoAbs.x */ |
| 4137 num x; | 4027 num x; |
| 4138 | 4028 |
| 4139 /** @domName SVGPathSegLinetoAbs.y */ | 4029 /** @domName SVGPathSegLinetoAbs.y */ |
| 4140 num y; | 4030 num y; |
| 4141 } | 4031 } |
| 4142 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4032 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4143 // for details. All rights reserved. Use of this source code is governed by a | 4033 // for details. All rights reserved. Use of this source code is governed by a |
| 4144 // BSD-style license that can be found in the LICENSE file. | 4034 // BSD-style license that can be found in the LICENSE file. |
| 4145 | 4035 |
| 4146 | 4036 |
| 4147 /// @domName SVGPathSegLinetoHorizontalAbs | 4037 /// @domName SVGPathSegLinetoHorizontalAbs |
| 4148 class SVGPathSegLinetoHorizontalAbs extends SVGPathSeg native "*SVGPathSegLineto
HorizontalAbs" { | 4038 class PathSegLinetoHorizontalAbs extends PathSeg native "*SVGPathSegLinetoHorizo
ntalAbs" { |
| 4149 | 4039 |
| 4150 /** @domName SVGPathSegLinetoHorizontalAbs.x */ | 4040 /** @domName SVGPathSegLinetoHorizontalAbs.x */ |
| 4151 num x; | 4041 num x; |
| 4152 } | 4042 } |
| 4153 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4043 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4154 // for details. All rights reserved. Use of this source code is governed by a | 4044 // for details. All rights reserved. Use of this source code is governed by a |
| 4155 // BSD-style license that can be found in the LICENSE file. | 4045 // BSD-style license that can be found in the LICENSE file. |
| 4156 | 4046 |
| 4157 | 4047 |
| 4158 /// @domName SVGPathSegLinetoHorizontalRel | 4048 /// @domName SVGPathSegLinetoHorizontalRel |
| 4159 class SVGPathSegLinetoHorizontalRel extends SVGPathSeg native "*SVGPathSegLineto
HorizontalRel" { | 4049 class PathSegLinetoHorizontalRel extends PathSeg native "*SVGPathSegLinetoHorizo
ntalRel" { |
| 4160 | 4050 |
| 4161 /** @domName SVGPathSegLinetoHorizontalRel.x */ | 4051 /** @domName SVGPathSegLinetoHorizontalRel.x */ |
| 4162 num x; | 4052 num x; |
| 4163 } | 4053 } |
| 4164 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4054 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4165 // for details. All rights reserved. Use of this source code is governed by a | 4055 // for details. All rights reserved. Use of this source code is governed by a |
| 4166 // BSD-style license that can be found in the LICENSE file. | 4056 // BSD-style license that can be found in the LICENSE file. |
| 4167 | 4057 |
| 4168 | 4058 |
| 4169 /// @domName SVGPathSegLinetoRel | 4059 /// @domName SVGPathSegLinetoRel |
| 4170 class SVGPathSegLinetoRel extends SVGPathSeg native "*SVGPathSegLinetoRel" { | 4060 class PathSegLinetoRel extends PathSeg native "*SVGPathSegLinetoRel" { |
| 4171 | 4061 |
| 4172 /** @domName SVGPathSegLinetoRel.x */ | 4062 /** @domName SVGPathSegLinetoRel.x */ |
| 4173 num x; | 4063 num x; |
| 4174 | 4064 |
| 4175 /** @domName SVGPathSegLinetoRel.y */ | 4065 /** @domName SVGPathSegLinetoRel.y */ |
| 4176 num y; | 4066 num y; |
| 4177 } | 4067 } |
| 4178 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4068 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4179 // for details. All rights reserved. Use of this source code is governed by a | 4069 // for details. All rights reserved. Use of this source code is governed by a |
| 4180 // BSD-style license that can be found in the LICENSE file. | 4070 // BSD-style license that can be found in the LICENSE file. |
| 4181 | 4071 |
| 4182 | 4072 |
| 4183 /// @domName SVGPathSegLinetoVerticalAbs | 4073 /// @domName SVGPathSegLinetoVerticalAbs |
| 4184 class SVGPathSegLinetoVerticalAbs extends SVGPathSeg native "*SVGPathSegLinetoVe
rticalAbs" { | 4074 class PathSegLinetoVerticalAbs extends PathSeg native "*SVGPathSegLinetoVertical
Abs" { |
| 4185 | 4075 |
| 4186 /** @domName SVGPathSegLinetoVerticalAbs.y */ | 4076 /** @domName SVGPathSegLinetoVerticalAbs.y */ |
| 4187 num y; | 4077 num y; |
| 4188 } | 4078 } |
| 4189 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4079 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4190 // for details. All rights reserved. Use of this source code is governed by a | 4080 // for details. All rights reserved. Use of this source code is governed by a |
| 4191 // BSD-style license that can be found in the LICENSE file. | 4081 // BSD-style license that can be found in the LICENSE file. |
| 4192 | 4082 |
| 4193 | 4083 |
| 4194 /// @domName SVGPathSegLinetoVerticalRel | 4084 /// @domName SVGPathSegLinetoVerticalRel |
| 4195 class SVGPathSegLinetoVerticalRel extends SVGPathSeg native "*SVGPathSegLinetoVe
rticalRel" { | 4085 class PathSegLinetoVerticalRel extends PathSeg native "*SVGPathSegLinetoVertical
Rel" { |
| 4196 | 4086 |
| 4197 /** @domName SVGPathSegLinetoVerticalRel.y */ | 4087 /** @domName SVGPathSegLinetoVerticalRel.y */ |
| 4198 num y; | 4088 num y; |
| 4199 } | 4089 } |
| 4200 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4090 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4201 // for details. All rights reserved. Use of this source code is governed by a | 4091 // for details. All rights reserved. Use of this source code is governed by a |
| 4202 // BSD-style license that can be found in the LICENSE file. | 4092 // BSD-style license that can be found in the LICENSE file. |
| 4203 | 4093 |
| 4204 | 4094 |
| 4205 /// @domName SVGPathSegList | 4095 /// @domName SVGPathSegList |
| 4206 class SVGPathSegList implements JavaScriptIndexingBehavior, List<SVGPathSeg> nat
ive "*SVGPathSegList" { | 4096 class PathSegList implements JavaScriptIndexingBehavior, List<PathSeg> native "*
SVGPathSegList" { |
| 4207 | 4097 |
| 4208 /** @domName SVGPathSegList.numberOfItems */ | 4098 /** @domName SVGPathSegList.numberOfItems */ |
| 4209 final int numberOfItems; | 4099 final int numberOfItems; |
| 4210 | 4100 |
| 4211 SVGPathSeg operator[](int index) => JS("SVGPathSeg", "#[#]", this, index); | 4101 PathSeg operator[](int index) => JS("PathSeg", "#[#]", this, index); |
| 4212 | 4102 |
| 4213 void operator[]=(int index, SVGPathSeg value) { | 4103 void operator[]=(int index, PathSeg value) { |
| 4214 throw new UnsupportedError("Cannot assign element of immutable List."); | 4104 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 4215 } | 4105 } |
| 4216 // -- start List<SVGPathSeg> mixins. | 4106 // -- start List<PathSeg> mixins. |
| 4217 // SVGPathSeg is the element type. | 4107 // PathSeg is the element type. |
| 4218 | 4108 |
| 4219 // From Iterable<SVGPathSeg>: | 4109 // From Iterable<PathSeg>: |
| 4220 | 4110 |
| 4221 Iterator<SVGPathSeg> iterator() { | 4111 Iterator<PathSeg> iterator() { |
| 4222 // Note: NodeLists are not fixed size. And most probably length shouldn't | 4112 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 4223 // be cached in both iterator _and_ forEach method. For now caching it | 4113 // be cached in both iterator _and_ forEach method. For now caching it |
| 4224 // for consistency. | 4114 // for consistency. |
| 4225 return new FixedSizeListIterator<SVGPathSeg>(this); | 4115 return new FixedSizeListIterator<PathSeg>(this); |
| 4226 } | 4116 } |
| 4227 | 4117 |
| 4228 // From Collection<SVGPathSeg>: | 4118 // From Collection<PathSeg>: |
| 4229 | 4119 |
| 4230 void add(SVGPathSeg value) { | 4120 void add(PathSeg value) { |
| 4231 throw new UnsupportedError("Cannot add to immutable List."); | 4121 throw new UnsupportedError("Cannot add to immutable List."); |
| 4232 } | 4122 } |
| 4233 | 4123 |
| 4234 void addLast(SVGPathSeg value) { | 4124 void addLast(PathSeg value) { |
| 4235 throw new UnsupportedError("Cannot add to immutable List."); | 4125 throw new UnsupportedError("Cannot add to immutable List."); |
| 4236 } | 4126 } |
| 4237 | 4127 |
| 4238 void addAll(Collection<SVGPathSeg> collection) { | 4128 void addAll(Collection<PathSeg> collection) { |
| 4239 throw new UnsupportedError("Cannot add to immutable List."); | 4129 throw new UnsupportedError("Cannot add to immutable List."); |
| 4240 } | 4130 } |
| 4241 | 4131 |
| 4242 bool contains(SVGPathSeg element) => _Collections.contains(this, element); | 4132 bool contains(PathSeg element) => _Collections.contains(this, element); |
| 4243 | 4133 |
| 4244 void forEach(void f(SVGPathSeg element)) => _Collections.forEach(this, f); | 4134 void forEach(void f(PathSeg element)) => _Collections.forEach(this, f); |
| 4245 | 4135 |
| 4246 Collection map(f(SVGPathSeg element)) => _Collections.map(this, [], f); | 4136 Collection map(f(PathSeg element)) => _Collections.map(this, [], f); |
| 4247 | 4137 |
| 4248 Collection<SVGPathSeg> filter(bool f(SVGPathSeg element)) => | 4138 Collection<PathSeg> filter(bool f(PathSeg element)) => |
| 4249 _Collections.filter(this, <SVGPathSeg>[], f); | 4139 _Collections.filter(this, <PathSeg>[], f); |
| 4250 | 4140 |
| 4251 bool every(bool f(SVGPathSeg element)) => _Collections.every(this, f); | 4141 bool every(bool f(PathSeg element)) => _Collections.every(this, f); |
| 4252 | 4142 |
| 4253 bool some(bool f(SVGPathSeg element)) => _Collections.some(this, f); | 4143 bool some(bool f(PathSeg element)) => _Collections.some(this, f); |
| 4254 | 4144 |
| 4255 bool get isEmpty => this.length == 0; | 4145 bool get isEmpty => this.length == 0; |
| 4256 | 4146 |
| 4257 // From List<SVGPathSeg>: | 4147 // From List<PathSeg>: |
| 4258 | 4148 |
| 4259 void sort([Comparator<SVGPathSeg> compare = Comparable.compare]) { | 4149 void sort([Comparator<PathSeg> compare = Comparable.compare]) { |
| 4260 throw new UnsupportedError("Cannot sort immutable List."); | 4150 throw new UnsupportedError("Cannot sort immutable List."); |
| 4261 } | 4151 } |
| 4262 | 4152 |
| 4263 int indexOf(SVGPathSeg element, [int start = 0]) => | 4153 int indexOf(PathSeg element, [int start = 0]) => |
| 4264 _Lists.indexOf(this, element, start, this.length); | 4154 _Lists.indexOf(this, element, start, this.length); |
| 4265 | 4155 |
| 4266 int lastIndexOf(SVGPathSeg element, [int start]) { | 4156 int lastIndexOf(PathSeg element, [int start]) { |
| 4267 if (start == null) start = length - 1; | 4157 if (start == null) start = length - 1; |
| 4268 return _Lists.lastIndexOf(this, element, start); | 4158 return _Lists.lastIndexOf(this, element, start); |
| 4269 } | 4159 } |
| 4270 | 4160 |
| 4271 SVGPathSeg get first => this[0]; | 4161 PathSeg get first => this[0]; |
| 4272 | 4162 |
| 4273 SVGPathSeg get last => this[length - 1]; | 4163 PathSeg get last => this[length - 1]; |
| 4274 | 4164 |
| 4275 SVGPathSeg removeLast() { | 4165 PathSeg removeLast() { |
| 4276 throw new UnsupportedError("Cannot removeLast on immutable List."); | 4166 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 4277 } | 4167 } |
| 4278 | 4168 |
| 4279 void setRange(int start, int rangeLength, List<SVGPathSeg> from, [int startFro
m]) { | 4169 void setRange(int start, int rangeLength, List<PathSeg> from, [int startFrom])
{ |
| 4280 throw new UnsupportedError("Cannot setRange on immutable List."); | 4170 throw new UnsupportedError("Cannot setRange on immutable List."); |
| 4281 } | 4171 } |
| 4282 | 4172 |
| 4283 void removeRange(int start, int rangeLength) { | 4173 void removeRange(int start, int rangeLength) { |
| 4284 throw new UnsupportedError("Cannot removeRange on immutable List."); | 4174 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 4285 } | 4175 } |
| 4286 | 4176 |
| 4287 void insertRange(int start, int rangeLength, [SVGPathSeg initialValue]) { | 4177 void insertRange(int start, int rangeLength, [PathSeg initialValue]) { |
| 4288 throw new UnsupportedError("Cannot insertRange on immutable List."); | 4178 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 4289 } | 4179 } |
| 4290 | 4180 |
| 4291 List<SVGPathSeg> getRange(int start, int rangeLength) => | 4181 List<PathSeg> getRange(int start, int rangeLength) => |
| 4292 _Lists.getRange(this, start, rangeLength, <SVGPathSeg>[]); | 4182 _Lists.getRange(this, start, rangeLength, <PathSeg>[]); |
| 4293 | 4183 |
| 4294 // -- end List<SVGPathSeg> mixins. | 4184 // -- end List<PathSeg> mixins. |
| 4295 | 4185 |
| 4296 /** @domName SVGPathSegList.appendItem */ | 4186 /** @domName SVGPathSegList.appendItem */ |
| 4297 SVGPathSeg appendItem(SVGPathSeg newItem) native; | 4187 PathSeg appendItem(PathSeg newItem) native; |
| 4298 | 4188 |
| 4299 /** @domName SVGPathSegList.clear */ | 4189 /** @domName SVGPathSegList.clear */ |
| 4300 void clear() native; | 4190 void clear() native; |
| 4301 | 4191 |
| 4302 /** @domName SVGPathSegList.getItem */ | 4192 /** @domName SVGPathSegList.getItem */ |
| 4303 SVGPathSeg getItem(int index) native; | 4193 PathSeg getItem(int index) native; |
| 4304 | 4194 |
| 4305 /** @domName SVGPathSegList.initialize */ | 4195 /** @domName SVGPathSegList.initialize */ |
| 4306 SVGPathSeg initialize(SVGPathSeg newItem) native; | 4196 PathSeg initialize(PathSeg newItem) native; |
| 4307 | 4197 |
| 4308 /** @domName SVGPathSegList.insertItemBefore */ | 4198 /** @domName SVGPathSegList.insertItemBefore */ |
| 4309 SVGPathSeg insertItemBefore(SVGPathSeg newItem, int index) native; | 4199 PathSeg insertItemBefore(PathSeg newItem, int index) native; |
| 4310 | 4200 |
| 4311 /** @domName SVGPathSegList.removeItem */ | 4201 /** @domName SVGPathSegList.removeItem */ |
| 4312 SVGPathSeg removeItem(int index) native; | 4202 PathSeg removeItem(int index) native; |
| 4313 | 4203 |
| 4314 /** @domName SVGPathSegList.replaceItem */ | 4204 /** @domName SVGPathSegList.replaceItem */ |
| 4315 SVGPathSeg replaceItem(SVGPathSeg newItem, int index) native; | 4205 PathSeg replaceItem(PathSeg newItem, int index) native; |
| 4316 } | 4206 } |
| 4317 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4207 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4318 // for details. All rights reserved. Use of this source code is governed by a | 4208 // for details. All rights reserved. Use of this source code is governed by a |
| 4319 // BSD-style license that can be found in the LICENSE file. | 4209 // BSD-style license that can be found in the LICENSE file. |
| 4320 | 4210 |
| 4321 | 4211 |
| 4322 /// @domName SVGPathSegMovetoAbs | 4212 /// @domName SVGPathSegMovetoAbs |
| 4323 class SVGPathSegMovetoAbs extends SVGPathSeg native "*SVGPathSegMovetoAbs" { | 4213 class PathSegMovetoAbs extends PathSeg native "*SVGPathSegMovetoAbs" { |
| 4324 | 4214 |
| 4325 /** @domName SVGPathSegMovetoAbs.x */ | 4215 /** @domName SVGPathSegMovetoAbs.x */ |
| 4326 num x; | 4216 num x; |
| 4327 | 4217 |
| 4328 /** @domName SVGPathSegMovetoAbs.y */ | 4218 /** @domName SVGPathSegMovetoAbs.y */ |
| 4329 num y; | 4219 num y; |
| 4330 } | 4220 } |
| 4331 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4221 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4332 // for details. All rights reserved. Use of this source code is governed by a | 4222 // for details. All rights reserved. Use of this source code is governed by a |
| 4333 // BSD-style license that can be found in the LICENSE file. | 4223 // BSD-style license that can be found in the LICENSE file. |
| 4334 | 4224 |
| 4335 | 4225 |
| 4336 /// @domName SVGPathSegMovetoRel | 4226 /// @domName SVGPathSegMovetoRel |
| 4337 class SVGPathSegMovetoRel extends SVGPathSeg native "*SVGPathSegMovetoRel" { | 4227 class PathSegMovetoRel extends PathSeg native "*SVGPathSegMovetoRel" { |
| 4338 | 4228 |
| 4339 /** @domName SVGPathSegMovetoRel.x */ | 4229 /** @domName SVGPathSegMovetoRel.x */ |
| 4340 num x; | 4230 num x; |
| 4341 | 4231 |
| 4342 /** @domName SVGPathSegMovetoRel.y */ | 4232 /** @domName SVGPathSegMovetoRel.y */ |
| 4343 num y; | 4233 num y; |
| 4344 } | 4234 } |
| 4345 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4235 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4346 // for details. All rights reserved. Use of this source code is governed by a | 4236 // for details. All rights reserved. Use of this source code is governed by a |
| 4347 // BSD-style license that can be found in the LICENSE file. | 4237 // BSD-style license that can be found in the LICENSE file. |
| 4348 | 4238 |
| 4349 | 4239 |
| 4350 /// @domName SVGPatternElement | 4240 /// @domName SVGPatternElement |
| 4351 class SVGPatternElement extends SVGElement implements SVGLangSpace, SVGTests, SV
GStylable, SVGURIReference, SVGFitToViewBox, SVGExternalResourcesRequired native
"*SVGPatternElement" { | 4241 class PatternElement extends SvgElement implements FitToViewBox, Tests, UriRefer
ence, Stylable, ExternalResourcesRequired, LangSpace native "*SVGPatternElement"
{ |
| 4352 | 4242 |
| 4353 factory SVGPatternElement() => _SVGElementFactoryProvider.createSVGElement_tag
("pattern"); | 4243 factory PatternElement() => _SvgElementFactoryProvider.createSvgElement_tag("p
attern"); |
| 4354 | 4244 |
| 4355 /** @domName SVGPatternElement.height */ | 4245 /** @domName SVGPatternElement.height */ |
| 4356 final SVGAnimatedLength height; | 4246 final AnimatedLength height; |
| 4357 | 4247 |
| 4358 /** @domName SVGPatternElement.patternContentUnits */ | 4248 /** @domName SVGPatternElement.patternContentUnits */ |
| 4359 final SVGAnimatedEnumeration patternContentUnits; | 4249 final AnimatedEnumeration patternContentUnits; |
| 4360 | 4250 |
| 4361 /** @domName SVGPatternElement.patternTransform */ | 4251 /** @domName SVGPatternElement.patternTransform */ |
| 4362 final SVGAnimatedTransformList patternTransform; | 4252 final AnimatedTransformList patternTransform; |
| 4363 | 4253 |
| 4364 /** @domName SVGPatternElement.patternUnits */ | 4254 /** @domName SVGPatternElement.patternUnits */ |
| 4365 final SVGAnimatedEnumeration patternUnits; | 4255 final AnimatedEnumeration patternUnits; |
| 4366 | 4256 |
| 4367 /** @domName SVGPatternElement.width */ | 4257 /** @domName SVGPatternElement.width */ |
| 4368 final SVGAnimatedLength width; | 4258 final AnimatedLength width; |
| 4369 | 4259 |
| 4370 /** @domName SVGPatternElement.x */ | 4260 /** @domName SVGPatternElement.x */ |
| 4371 final SVGAnimatedLength x; | 4261 final AnimatedLength x; |
| 4372 | 4262 |
| 4373 /** @domName SVGPatternElement.y */ | 4263 /** @domName SVGPatternElement.y */ |
| 4374 final SVGAnimatedLength y; | 4264 final AnimatedLength y; |
| 4375 | 4265 |
| 4376 // From SVGExternalResourcesRequired | 4266 // From SVGExternalResourcesRequired |
| 4377 | 4267 |
| 4378 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 4268 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 4379 final SVGAnimatedBoolean externalResourcesRequired; | 4269 final AnimatedBoolean externalResourcesRequired; |
| 4380 | 4270 |
| 4381 // From SVGFitToViewBox | 4271 // From SVGFitToViewBox |
| 4382 | 4272 |
| 4383 /** @domName SVGFitToViewBox.preserveAspectRatio */ | 4273 /** @domName SVGFitToViewBox.preserveAspectRatio */ |
| 4384 final SVGAnimatedPreserveAspectRatio preserveAspectRatio; | 4274 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 4385 | 4275 |
| 4386 /** @domName SVGFitToViewBox.viewBox */ | 4276 /** @domName SVGFitToViewBox.viewBox */ |
| 4387 final SVGAnimatedRect viewBox; | 4277 final AnimatedRect viewBox; |
| 4388 | 4278 |
| 4389 // From SVGLangSpace | 4279 // From SVGLangSpace |
| 4390 | 4280 |
| 4391 /** @domName SVGLangSpace.xmllang */ | 4281 /** @domName SVGLangSpace.xmllang */ |
| 4392 String xmllang; | 4282 String xmllang; |
| 4393 | 4283 |
| 4394 /** @domName SVGLangSpace.xmlspace */ | 4284 /** @domName SVGLangSpace.xmlspace */ |
| 4395 String xmlspace; | 4285 String xmlspace; |
| 4396 | 4286 |
| 4397 // From SVGStylable | 4287 // From SVGStylable |
| 4398 | 4288 |
| 4399 /** @domName SVGStylable.className */ | 4289 /** @domName SVGStylable.className */ |
| 4400 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 4290 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 4401 | 4291 |
| 4402 // Use implementation from Element. | 4292 // Use implementation from Element. |
| 4403 // final CSSStyleDeclaration style; | 4293 // final CSSStyleDeclaration style; |
| 4404 | 4294 |
| 4405 /** @domName SVGStylable.getPresentationAttribute */ | 4295 /** @domName SVGStylable.getPresentationAttribute */ |
| 4406 CSSValue getPresentationAttribute(String name) native; | 4296 CSSValue getPresentationAttribute(String name) native; |
| 4407 | 4297 |
| 4408 // From SVGTests | 4298 // From SVGTests |
| 4409 | 4299 |
| 4410 /** @domName SVGTests.requiredExtensions */ | 4300 /** @domName SVGTests.requiredExtensions */ |
| 4411 final SVGStringList requiredExtensions; | 4301 final StringList requiredExtensions; |
| 4412 | 4302 |
| 4413 /** @domName SVGTests.requiredFeatures */ | 4303 /** @domName SVGTests.requiredFeatures */ |
| 4414 final SVGStringList requiredFeatures; | 4304 final StringList requiredFeatures; |
| 4415 | 4305 |
| 4416 /** @domName SVGTests.systemLanguage */ | 4306 /** @domName SVGTests.systemLanguage */ |
| 4417 final SVGStringList systemLanguage; | 4307 final StringList systemLanguage; |
| 4418 | 4308 |
| 4419 /** @domName SVGTests.hasExtension */ | 4309 /** @domName SVGTests.hasExtension */ |
| 4420 bool hasExtension(String extension) native; | 4310 bool hasExtension(String extension) native; |
| 4421 | 4311 |
| 4422 // From SVGURIReference | 4312 // From SVGURIReference |
| 4423 | 4313 |
| 4424 /** @domName SVGURIReference.href */ | 4314 /** @domName SVGURIReference.href */ |
| 4425 final SVGAnimatedString href; | 4315 final AnimatedString href; |
| 4426 } | 4316 } |
| 4427 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4317 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4428 // for details. All rights reserved. Use of this source code is governed by a | 4318 // for details. All rights reserved. Use of this source code is governed by a |
| 4429 // BSD-style license that can be found in the LICENSE file. | 4319 // BSD-style license that can be found in the LICENSE file. |
| 4430 | 4320 |
| 4321 // WARNING: Do not edit - generated code. |
| 4431 | 4322 |
| 4432 /// @domName SVGPoint | 4323 |
| 4433 class SVGPoint native "*SVGPoint" { | 4324 class Point native "*SVGPoint" { |
| 4325 factory Point(num x, num y) => _PointFactoryProvider.createPoint(x, y); |
| 4434 | 4326 |
| 4435 /** @domName SVGPoint.x */ | 4327 /** @domName SVGPoint.x */ |
| 4436 num x; | 4328 num x; |
| 4437 | 4329 |
| 4438 /** @domName SVGPoint.y */ | 4330 /** @domName SVGPoint.y */ |
| 4439 num y; | 4331 num y; |
| 4440 | 4332 |
| 4441 /** @domName SVGPoint.matrixTransform */ | 4333 /** @domName SVGPoint.matrixTransform */ |
| 4442 SVGPoint matrixTransform(SVGMatrix matrix) native; | 4334 Point matrixTransform(Matrix matrix) native; |
| 4335 |
| 4443 } | 4336 } |
| 4444 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4337 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4445 // for details. All rights reserved. Use of this source code is governed by a | 4338 // for details. All rights reserved. Use of this source code is governed by a |
| 4446 // BSD-style license that can be found in the LICENSE file. | 4339 // BSD-style license that can be found in the LICENSE file. |
| 4447 | 4340 |
| 4448 | 4341 |
| 4449 /// @domName SVGPointList | 4342 /// @domName SVGPointList |
| 4450 class SVGPointList native "*SVGPointList" { | 4343 class PointList native "*SVGPointList" { |
| 4451 | 4344 |
| 4452 /** @domName SVGPointList.numberOfItems */ | 4345 /** @domName SVGPointList.numberOfItems */ |
| 4453 final int numberOfItems; | 4346 final int numberOfItems; |
| 4454 | 4347 |
| 4455 /** @domName SVGPointList.appendItem */ | 4348 /** @domName SVGPointList.appendItem */ |
| 4456 SVGPoint appendItem(SVGPoint item) native; | 4349 Point appendItem(Point item) native; |
| 4457 | 4350 |
| 4458 /** @domName SVGPointList.clear */ | 4351 /** @domName SVGPointList.clear */ |
| 4459 void clear() native; | 4352 void clear() native; |
| 4460 | 4353 |
| 4461 /** @domName SVGPointList.getItem */ | 4354 /** @domName SVGPointList.getItem */ |
| 4462 SVGPoint getItem(int index) native; | 4355 Point getItem(int index) native; |
| 4463 | 4356 |
| 4464 /** @domName SVGPointList.initialize */ | 4357 /** @domName SVGPointList.initialize */ |
| 4465 SVGPoint initialize(SVGPoint item) native; | 4358 Point initialize(Point item) native; |
| 4466 | 4359 |
| 4467 /** @domName SVGPointList.insertItemBefore */ | 4360 /** @domName SVGPointList.insertItemBefore */ |
| 4468 SVGPoint insertItemBefore(SVGPoint item, int index) native; | 4361 Point insertItemBefore(Point item, int index) native; |
| 4469 | 4362 |
| 4470 /** @domName SVGPointList.removeItem */ | 4363 /** @domName SVGPointList.removeItem */ |
| 4471 SVGPoint removeItem(int index) native; | 4364 Point removeItem(int index) native; |
| 4472 | 4365 |
| 4473 /** @domName SVGPointList.replaceItem */ | 4366 /** @domName SVGPointList.replaceItem */ |
| 4474 SVGPoint replaceItem(SVGPoint item, int index) native; | 4367 Point replaceItem(Point item, int index) native; |
| 4475 } | 4368 } |
| 4476 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4369 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4477 // for details. All rights reserved. Use of this source code is governed by a | 4370 // for details. All rights reserved. Use of this source code is governed by a |
| 4478 // BSD-style license that can be found in the LICENSE file. | 4371 // BSD-style license that can be found in the LICENSE file. |
| 4479 | 4372 |
| 4480 | 4373 |
| 4481 /// @domName SVGPolygonElement | 4374 /// @domName SVGPolygonElement |
| 4482 class SVGPolygonElement extends SVGElement implements SVGLangSpace, SVGStylable,
SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGPolygonEle
ment" { | 4375 class PolygonElement extends SvgElement implements Transformable, Tests, Stylabl
e, ExternalResourcesRequired, LangSpace native "*SVGPolygonElement" { |
| 4483 | 4376 |
| 4484 factory SVGPolygonElement() => _SVGElementFactoryProvider.createSVGElement_tag
("polygon"); | 4377 factory PolygonElement() => _SvgElementFactoryProvider.createSvgElement_tag("p
olygon"); |
| 4485 | 4378 |
| 4486 /** @domName SVGPolygonElement.animatedPoints */ | 4379 /** @domName SVGPolygonElement.animatedPoints */ |
| 4487 final SVGPointList animatedPoints; | 4380 final PointList animatedPoints; |
| 4488 | 4381 |
| 4489 /** @domName SVGPolygonElement.points */ | 4382 /** @domName SVGPolygonElement.points */ |
| 4490 final SVGPointList points; | 4383 final PointList points; |
| 4491 | 4384 |
| 4492 // From SVGExternalResourcesRequired | 4385 // From SVGExternalResourcesRequired |
| 4493 | 4386 |
| 4494 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 4387 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 4495 final SVGAnimatedBoolean externalResourcesRequired; | 4388 final AnimatedBoolean externalResourcesRequired; |
| 4496 | 4389 |
| 4497 // From SVGLangSpace | 4390 // From SVGLangSpace |
| 4498 | 4391 |
| 4499 /** @domName SVGLangSpace.xmllang */ | 4392 /** @domName SVGLangSpace.xmllang */ |
| 4500 String xmllang; | 4393 String xmllang; |
| 4501 | 4394 |
| 4502 /** @domName SVGLangSpace.xmlspace */ | 4395 /** @domName SVGLangSpace.xmlspace */ |
| 4503 String xmlspace; | 4396 String xmlspace; |
| 4504 | 4397 |
| 4505 // From SVGLocatable | 4398 // From SVGLocatable |
| 4506 | 4399 |
| 4507 /** @domName SVGLocatable.farthestViewportElement */ | 4400 /** @domName SVGLocatable.farthestViewportElement */ |
| 4508 final SVGElement farthestViewportElement; | 4401 final SvgElement farthestViewportElement; |
| 4509 | 4402 |
| 4510 /** @domName SVGLocatable.nearestViewportElement */ | 4403 /** @domName SVGLocatable.nearestViewportElement */ |
| 4511 final SVGElement nearestViewportElement; | 4404 final SvgElement nearestViewportElement; |
| 4512 | 4405 |
| 4513 /** @domName SVGLocatable.getBBox */ | 4406 /** @domName SVGLocatable.getBBox */ |
| 4514 SVGRect getBBox() native; | 4407 Rect getBBox() native; |
| 4515 | 4408 |
| 4516 /** @domName SVGLocatable.getCTM */ | 4409 /** @domName SVGLocatable.getCTM */ |
| 4517 SVGMatrix getCTM() native; | 4410 Matrix getCTM() native; |
| 4518 | 4411 |
| 4519 /** @domName SVGLocatable.getScreenCTM */ | 4412 /** @domName SVGLocatable.getScreenCTM */ |
| 4520 SVGMatrix getScreenCTM() native; | 4413 Matrix getScreenCTM() native; |
| 4521 | 4414 |
| 4522 /** @domName SVGLocatable.getTransformToElement */ | 4415 /** @domName SVGLocatable.getTransformToElement */ |
| 4523 SVGMatrix getTransformToElement(SVGElement element) native; | 4416 Matrix getTransformToElement(SvgElement element) native; |
| 4524 | 4417 |
| 4525 // From SVGStylable | 4418 // From SVGStylable |
| 4526 | 4419 |
| 4527 /** @domName SVGStylable.className */ | 4420 /** @domName SVGStylable.className */ |
| 4528 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 4421 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 4529 | 4422 |
| 4530 // Use implementation from Element. | 4423 // Use implementation from Element. |
| 4531 // final CSSStyleDeclaration style; | 4424 // final CSSStyleDeclaration style; |
| 4532 | 4425 |
| 4533 /** @domName SVGStylable.getPresentationAttribute */ | 4426 /** @domName SVGStylable.getPresentationAttribute */ |
| 4534 CSSValue getPresentationAttribute(String name) native; | 4427 CSSValue getPresentationAttribute(String name) native; |
| 4535 | 4428 |
| 4536 // From SVGTests | 4429 // From SVGTests |
| 4537 | 4430 |
| 4538 /** @domName SVGTests.requiredExtensions */ | 4431 /** @domName SVGTests.requiredExtensions */ |
| 4539 final SVGStringList requiredExtensions; | 4432 final StringList requiredExtensions; |
| 4540 | 4433 |
| 4541 /** @domName SVGTests.requiredFeatures */ | 4434 /** @domName SVGTests.requiredFeatures */ |
| 4542 final SVGStringList requiredFeatures; | 4435 final StringList requiredFeatures; |
| 4543 | 4436 |
| 4544 /** @domName SVGTests.systemLanguage */ | 4437 /** @domName SVGTests.systemLanguage */ |
| 4545 final SVGStringList systemLanguage; | 4438 final StringList systemLanguage; |
| 4546 | 4439 |
| 4547 /** @domName SVGTests.hasExtension */ | 4440 /** @domName SVGTests.hasExtension */ |
| 4548 bool hasExtension(String extension) native; | 4441 bool hasExtension(String extension) native; |
| 4549 | 4442 |
| 4550 // From SVGTransformable | 4443 // From SVGTransformable |
| 4551 | 4444 |
| 4552 /** @domName SVGTransformable.transform */ | 4445 /** @domName SVGTransformable.transform */ |
| 4553 final SVGAnimatedTransformList transform; | 4446 final AnimatedTransformList transform; |
| 4554 } | 4447 } |
| 4555 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4448 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4556 // for details. All rights reserved. Use of this source code is governed by a | 4449 // for details. All rights reserved. Use of this source code is governed by a |
| 4557 // BSD-style license that can be found in the LICENSE file. | 4450 // BSD-style license that can be found in the LICENSE file. |
| 4558 | 4451 |
| 4559 | 4452 |
| 4560 /// @domName SVGPolylineElement | 4453 /// @domName SVGPolylineElement |
| 4561 class SVGPolylineElement extends SVGElement implements SVGLangSpace, SVGStylable
, SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGPolylineE
lement" { | 4454 class PolylineElement extends SvgElement implements Transformable, Tests, Stylab
le, ExternalResourcesRequired, LangSpace native "*SVGPolylineElement" { |
| 4562 | 4455 |
| 4563 factory SVGPolylineElement() => _SVGElementFactoryProvider.createSVGElement_ta
g("polyline"); | 4456 factory PolylineElement() => _SvgElementFactoryProvider.createSvgElement_tag("
polyline"); |
| 4564 | 4457 |
| 4565 /** @domName SVGPolylineElement.animatedPoints */ | 4458 /** @domName SVGPolylineElement.animatedPoints */ |
| 4566 final SVGPointList animatedPoints; | 4459 final PointList animatedPoints; |
| 4567 | 4460 |
| 4568 /** @domName SVGPolylineElement.points */ | 4461 /** @domName SVGPolylineElement.points */ |
| 4569 final SVGPointList points; | 4462 final PointList points; |
| 4570 | 4463 |
| 4571 // From SVGExternalResourcesRequired | 4464 // From SVGExternalResourcesRequired |
| 4572 | 4465 |
| 4573 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 4466 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 4574 final SVGAnimatedBoolean externalResourcesRequired; | 4467 final AnimatedBoolean externalResourcesRequired; |
| 4575 | 4468 |
| 4576 // From SVGLangSpace | 4469 // From SVGLangSpace |
| 4577 | 4470 |
| 4578 /** @domName SVGLangSpace.xmllang */ | 4471 /** @domName SVGLangSpace.xmllang */ |
| 4579 String xmllang; | 4472 String xmllang; |
| 4580 | 4473 |
| 4581 /** @domName SVGLangSpace.xmlspace */ | 4474 /** @domName SVGLangSpace.xmlspace */ |
| 4582 String xmlspace; | 4475 String xmlspace; |
| 4583 | 4476 |
| 4584 // From SVGLocatable | 4477 // From SVGLocatable |
| 4585 | 4478 |
| 4586 /** @domName SVGLocatable.farthestViewportElement */ | 4479 /** @domName SVGLocatable.farthestViewportElement */ |
| 4587 final SVGElement farthestViewportElement; | 4480 final SvgElement farthestViewportElement; |
| 4588 | 4481 |
| 4589 /** @domName SVGLocatable.nearestViewportElement */ | 4482 /** @domName SVGLocatable.nearestViewportElement */ |
| 4590 final SVGElement nearestViewportElement; | 4483 final SvgElement nearestViewportElement; |
| 4591 | 4484 |
| 4592 /** @domName SVGLocatable.getBBox */ | 4485 /** @domName SVGLocatable.getBBox */ |
| 4593 SVGRect getBBox() native; | 4486 Rect getBBox() native; |
| 4594 | 4487 |
| 4595 /** @domName SVGLocatable.getCTM */ | 4488 /** @domName SVGLocatable.getCTM */ |
| 4596 SVGMatrix getCTM() native; | 4489 Matrix getCTM() native; |
| 4597 | 4490 |
| 4598 /** @domName SVGLocatable.getScreenCTM */ | 4491 /** @domName SVGLocatable.getScreenCTM */ |
| 4599 SVGMatrix getScreenCTM() native; | 4492 Matrix getScreenCTM() native; |
| 4600 | 4493 |
| 4601 /** @domName SVGLocatable.getTransformToElement */ | 4494 /** @domName SVGLocatable.getTransformToElement */ |
| 4602 SVGMatrix getTransformToElement(SVGElement element) native; | 4495 Matrix getTransformToElement(SvgElement element) native; |
| 4603 | 4496 |
| 4604 // From SVGStylable | 4497 // From SVGStylable |
| 4605 | 4498 |
| 4606 /** @domName SVGStylable.className */ | 4499 /** @domName SVGStylable.className */ |
| 4607 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 4500 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 4608 | 4501 |
| 4609 // Use implementation from Element. | 4502 // Use implementation from Element. |
| 4610 // final CSSStyleDeclaration style; | 4503 // final CSSStyleDeclaration style; |
| 4611 | 4504 |
| 4612 /** @domName SVGStylable.getPresentationAttribute */ | 4505 /** @domName SVGStylable.getPresentationAttribute */ |
| 4613 CSSValue getPresentationAttribute(String name) native; | 4506 CSSValue getPresentationAttribute(String name) native; |
| 4614 | 4507 |
| 4615 // From SVGTests | 4508 // From SVGTests |
| 4616 | 4509 |
| 4617 /** @domName SVGTests.requiredExtensions */ | 4510 /** @domName SVGTests.requiredExtensions */ |
| 4618 final SVGStringList requiredExtensions; | 4511 final StringList requiredExtensions; |
| 4619 | 4512 |
| 4620 /** @domName SVGTests.requiredFeatures */ | 4513 /** @domName SVGTests.requiredFeatures */ |
| 4621 final SVGStringList requiredFeatures; | 4514 final StringList requiredFeatures; |
| 4622 | 4515 |
| 4623 /** @domName SVGTests.systemLanguage */ | 4516 /** @domName SVGTests.systemLanguage */ |
| 4624 final SVGStringList systemLanguage; | 4517 final StringList systemLanguage; |
| 4625 | 4518 |
| 4626 /** @domName SVGTests.hasExtension */ | 4519 /** @domName SVGTests.hasExtension */ |
| 4627 bool hasExtension(String extension) native; | 4520 bool hasExtension(String extension) native; |
| 4628 | 4521 |
| 4629 // From SVGTransformable | 4522 // From SVGTransformable |
| 4630 | 4523 |
| 4631 /** @domName SVGTransformable.transform */ | 4524 /** @domName SVGTransformable.transform */ |
| 4632 final SVGAnimatedTransformList transform; | 4525 final AnimatedTransformList transform; |
| 4633 } | 4526 } |
| 4634 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4527 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4635 // for details. All rights reserved. Use of this source code is governed by a | 4528 // for details. All rights reserved. Use of this source code is governed by a |
| 4636 // BSD-style license that can be found in the LICENSE file. | 4529 // BSD-style license that can be found in the LICENSE file. |
| 4637 | 4530 |
| 4638 | 4531 |
| 4639 /// @domName SVGPreserveAspectRatio | 4532 /// @domName SVGPreserveAspectRatio |
| 4640 class SVGPreserveAspectRatio native "*SVGPreserveAspectRatio" { | 4533 class PreserveAspectRatio native "*SVGPreserveAspectRatio" { |
| 4641 | 4534 |
| 4642 static const int SVG_MEETORSLICE_MEET = 1; | 4535 static const int SVG_MEETORSLICE_MEET = 1; |
| 4643 | 4536 |
| 4644 static const int SVG_MEETORSLICE_SLICE = 2; | 4537 static const int SVG_MEETORSLICE_SLICE = 2; |
| 4645 | 4538 |
| 4646 static const int SVG_MEETORSLICE_UNKNOWN = 0; | 4539 static const int SVG_MEETORSLICE_UNKNOWN = 0; |
| 4647 | 4540 |
| 4648 static const int SVG_PRESERVEASPECTRATIO_NONE = 1; | 4541 static const int SVG_PRESERVEASPECTRATIO_NONE = 1; |
| 4649 | 4542 |
| 4650 static const int SVG_PRESERVEASPECTRATIO_UNKNOWN = 0; | 4543 static const int SVG_PRESERVEASPECTRATIO_UNKNOWN = 0; |
| (...skipping 21 matching lines...) Expand all Loading... |
| 4672 | 4565 |
| 4673 /** @domName SVGPreserveAspectRatio.meetOrSlice */ | 4566 /** @domName SVGPreserveAspectRatio.meetOrSlice */ |
| 4674 int meetOrSlice; | 4567 int meetOrSlice; |
| 4675 } | 4568 } |
| 4676 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4569 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4677 // for details. All rights reserved. Use of this source code is governed by a | 4570 // for details. All rights reserved. Use of this source code is governed by a |
| 4678 // BSD-style license that can be found in the LICENSE file. | 4571 // BSD-style license that can be found in the LICENSE file. |
| 4679 | 4572 |
| 4680 | 4573 |
| 4681 /// @domName SVGRadialGradientElement | 4574 /// @domName SVGRadialGradientElement |
| 4682 class SVGRadialGradientElement extends SVGGradientElement native "*SVGRadialGrad
ientElement" { | 4575 class RadialGradientElement extends GradientElement native "*SVGRadialGradientEl
ement" { |
| 4683 | 4576 |
| 4684 factory SVGRadialGradientElement() => _SVGElementFactoryProvider.createSVGElem
ent_tag("radialGradient"); | 4577 factory RadialGradientElement() => _SvgElementFactoryProvider.createSvgElement
_tag("radialGradient"); |
| 4685 | 4578 |
| 4686 /** @domName SVGRadialGradientElement.cx */ | 4579 /** @domName SVGRadialGradientElement.cx */ |
| 4687 final SVGAnimatedLength cx; | 4580 final AnimatedLength cx; |
| 4688 | 4581 |
| 4689 /** @domName SVGRadialGradientElement.cy */ | 4582 /** @domName SVGRadialGradientElement.cy */ |
| 4690 final SVGAnimatedLength cy; | 4583 final AnimatedLength cy; |
| 4691 | 4584 |
| 4692 /** @domName SVGRadialGradientElement.fr */ | 4585 /** @domName SVGRadialGradientElement.fr */ |
| 4693 final SVGAnimatedLength fr; | 4586 final AnimatedLength fr; |
| 4694 | 4587 |
| 4695 /** @domName SVGRadialGradientElement.fx */ | 4588 /** @domName SVGRadialGradientElement.fx */ |
| 4696 final SVGAnimatedLength fx; | 4589 final AnimatedLength fx; |
| 4697 | 4590 |
| 4698 /** @domName SVGRadialGradientElement.fy */ | 4591 /** @domName SVGRadialGradientElement.fy */ |
| 4699 final SVGAnimatedLength fy; | 4592 final AnimatedLength fy; |
| 4700 | 4593 |
| 4701 /** @domName SVGRadialGradientElement.r */ | 4594 /** @domName SVGRadialGradientElement.r */ |
| 4702 final SVGAnimatedLength r; | 4595 final AnimatedLength r; |
| 4703 } | 4596 } |
| 4704 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4597 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4705 // for details. All rights reserved. Use of this source code is governed by a | 4598 // for details. All rights reserved. Use of this source code is governed by a |
| 4706 // BSD-style license that can be found in the LICENSE file. | 4599 // BSD-style license that can be found in the LICENSE file. |
| 4707 | 4600 |
| 4708 | 4601 |
| 4709 /// @domName SVGRect | 4602 /// @domName SVGRect |
| 4710 class SVGRect native "*SVGRect" { | 4603 class Rect native "*SVGRect" { |
| 4711 | 4604 |
| 4712 /** @domName SVGRect.height */ | 4605 /** @domName SVGRect.height */ |
| 4713 num height; | 4606 num height; |
| 4714 | 4607 |
| 4715 /** @domName SVGRect.width */ | 4608 /** @domName SVGRect.width */ |
| 4716 num width; | 4609 num width; |
| 4717 | 4610 |
| 4718 /** @domName SVGRect.x */ | 4611 /** @domName SVGRect.x */ |
| 4719 num x; | 4612 num x; |
| 4720 | 4613 |
| 4721 /** @domName SVGRect.y */ | 4614 /** @domName SVGRect.y */ |
| 4722 num y; | 4615 num y; |
| 4723 } | 4616 } |
| 4724 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4617 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4725 // for details. All rights reserved. Use of this source code is governed by a | 4618 // for details. All rights reserved. Use of this source code is governed by a |
| 4726 // BSD-style license that can be found in the LICENSE file. | 4619 // BSD-style license that can be found in the LICENSE file. |
| 4727 | 4620 |
| 4728 | 4621 |
| 4729 /// @domName SVGRectElement | 4622 /// @domName SVGRectElement |
| 4730 class SVGRectElement extends SVGElement implements SVGLangSpace, SVGStylable, SV
GTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGRectElement"
{ | 4623 class RectElement extends SvgElement implements Transformable, Tests, Stylable,
ExternalResourcesRequired, LangSpace native "*SVGRectElement" { |
| 4731 | 4624 |
| 4732 factory SVGRectElement() => _SVGElementFactoryProvider.createSVGElement_tag("r
ect"); | 4625 factory RectElement() => _SvgElementFactoryProvider.createSvgElement_tag("rect
"); |
| 4733 | 4626 |
| 4734 /** @domName SVGRectElement.height */ | 4627 /** @domName SVGRectElement.height */ |
| 4735 final SVGAnimatedLength height; | 4628 final AnimatedLength height; |
| 4736 | 4629 |
| 4737 /** @domName SVGRectElement.rx */ | 4630 /** @domName SVGRectElement.rx */ |
| 4738 final SVGAnimatedLength rx; | 4631 final AnimatedLength rx; |
| 4739 | 4632 |
| 4740 /** @domName SVGRectElement.ry */ | 4633 /** @domName SVGRectElement.ry */ |
| 4741 final SVGAnimatedLength ry; | 4634 final AnimatedLength ry; |
| 4742 | 4635 |
| 4743 /** @domName SVGRectElement.width */ | 4636 /** @domName SVGRectElement.width */ |
| 4744 final SVGAnimatedLength width; | 4637 final AnimatedLength width; |
| 4745 | 4638 |
| 4746 /** @domName SVGRectElement.x */ | 4639 /** @domName SVGRectElement.x */ |
| 4747 final SVGAnimatedLength x; | 4640 final AnimatedLength x; |
| 4748 | 4641 |
| 4749 /** @domName SVGRectElement.y */ | 4642 /** @domName SVGRectElement.y */ |
| 4750 final SVGAnimatedLength y; | 4643 final AnimatedLength y; |
| 4751 | 4644 |
| 4752 // From SVGExternalResourcesRequired | 4645 // From SVGExternalResourcesRequired |
| 4753 | 4646 |
| 4754 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 4647 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 4755 final SVGAnimatedBoolean externalResourcesRequired; | 4648 final AnimatedBoolean externalResourcesRequired; |
| 4756 | 4649 |
| 4757 // From SVGLangSpace | 4650 // From SVGLangSpace |
| 4758 | 4651 |
| 4759 /** @domName SVGLangSpace.xmllang */ | 4652 /** @domName SVGLangSpace.xmllang */ |
| 4760 String xmllang; | 4653 String xmllang; |
| 4761 | 4654 |
| 4762 /** @domName SVGLangSpace.xmlspace */ | 4655 /** @domName SVGLangSpace.xmlspace */ |
| 4763 String xmlspace; | 4656 String xmlspace; |
| 4764 | 4657 |
| 4765 // From SVGLocatable | 4658 // From SVGLocatable |
| 4766 | 4659 |
| 4767 /** @domName SVGLocatable.farthestViewportElement */ | 4660 /** @domName SVGLocatable.farthestViewportElement */ |
| 4768 final SVGElement farthestViewportElement; | 4661 final SvgElement farthestViewportElement; |
| 4769 | 4662 |
| 4770 /** @domName SVGLocatable.nearestViewportElement */ | 4663 /** @domName SVGLocatable.nearestViewportElement */ |
| 4771 final SVGElement nearestViewportElement; | 4664 final SvgElement nearestViewportElement; |
| 4772 | 4665 |
| 4773 /** @domName SVGLocatable.getBBox */ | 4666 /** @domName SVGLocatable.getBBox */ |
| 4774 SVGRect getBBox() native; | 4667 Rect getBBox() native; |
| 4775 | 4668 |
| 4776 /** @domName SVGLocatable.getCTM */ | 4669 /** @domName SVGLocatable.getCTM */ |
| 4777 SVGMatrix getCTM() native; | 4670 Matrix getCTM() native; |
| 4778 | 4671 |
| 4779 /** @domName SVGLocatable.getScreenCTM */ | 4672 /** @domName SVGLocatable.getScreenCTM */ |
| 4780 SVGMatrix getScreenCTM() native; | 4673 Matrix getScreenCTM() native; |
| 4781 | 4674 |
| 4782 /** @domName SVGLocatable.getTransformToElement */ | 4675 /** @domName SVGLocatable.getTransformToElement */ |
| 4783 SVGMatrix getTransformToElement(SVGElement element) native; | 4676 Matrix getTransformToElement(SvgElement element) native; |
| 4784 | 4677 |
| 4785 // From SVGStylable | 4678 // From SVGStylable |
| 4786 | 4679 |
| 4787 /** @domName SVGStylable.className */ | 4680 /** @domName SVGStylable.className */ |
| 4788 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 4681 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 4789 | 4682 |
| 4790 // Use implementation from Element. | 4683 // Use implementation from Element. |
| 4791 // final CSSStyleDeclaration style; | 4684 // final CSSStyleDeclaration style; |
| 4792 | 4685 |
| 4793 /** @domName SVGStylable.getPresentationAttribute */ | 4686 /** @domName SVGStylable.getPresentationAttribute */ |
| 4794 CSSValue getPresentationAttribute(String name) native; | 4687 CSSValue getPresentationAttribute(String name) native; |
| 4795 | 4688 |
| 4796 // From SVGTests | 4689 // From SVGTests |
| 4797 | 4690 |
| 4798 /** @domName SVGTests.requiredExtensions */ | 4691 /** @domName SVGTests.requiredExtensions */ |
| 4799 final SVGStringList requiredExtensions; | 4692 final StringList requiredExtensions; |
| 4800 | 4693 |
| 4801 /** @domName SVGTests.requiredFeatures */ | 4694 /** @domName SVGTests.requiredFeatures */ |
| 4802 final SVGStringList requiredFeatures; | 4695 final StringList requiredFeatures; |
| 4803 | 4696 |
| 4804 /** @domName SVGTests.systemLanguage */ | 4697 /** @domName SVGTests.systemLanguage */ |
| 4805 final SVGStringList systemLanguage; | 4698 final StringList systemLanguage; |
| 4806 | 4699 |
| 4807 /** @domName SVGTests.hasExtension */ | 4700 /** @domName SVGTests.hasExtension */ |
| 4808 bool hasExtension(String extension) native; | 4701 bool hasExtension(String extension) native; |
| 4809 | 4702 |
| 4810 // From SVGTransformable | 4703 // From SVGTransformable |
| 4811 | 4704 |
| 4812 /** @domName SVGTransformable.transform */ | 4705 /** @domName SVGTransformable.transform */ |
| 4813 final SVGAnimatedTransformList transform; | 4706 final AnimatedTransformList transform; |
| 4814 } | 4707 } |
| 4815 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4708 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4816 // for details. All rights reserved. Use of this source code is governed by a | 4709 // for details. All rights reserved. Use of this source code is governed by a |
| 4817 // BSD-style license that can be found in the LICENSE file. | 4710 // BSD-style license that can be found in the LICENSE file. |
| 4818 | 4711 |
| 4819 | 4712 |
| 4820 /// @domName SVGRenderingIntent | 4713 /// @domName SVGRenderingIntent |
| 4821 class SVGRenderingIntent native "*SVGRenderingIntent" { | 4714 class RenderingIntent native "*SVGRenderingIntent" { |
| 4822 | 4715 |
| 4823 static const int RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5; | 4716 static const int RENDERING_INTENT_ABSOLUTE_COLORIMETRIC = 5; |
| 4824 | 4717 |
| 4825 static const int RENDERING_INTENT_AUTO = 1; | 4718 static const int RENDERING_INTENT_AUTO = 1; |
| 4826 | 4719 |
| 4827 static const int RENDERING_INTENT_PERCEPTUAL = 2; | 4720 static const int RENDERING_INTENT_PERCEPTUAL = 2; |
| 4828 | 4721 |
| 4829 static const int RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3; | 4722 static const int RENDERING_INTENT_RELATIVE_COLORIMETRIC = 3; |
| 4830 | 4723 |
| 4831 static const int RENDERING_INTENT_SATURATION = 4; | 4724 static const int RENDERING_INTENT_SATURATION = 4; |
| 4832 | 4725 |
| 4833 static const int RENDERING_INTENT_UNKNOWN = 0; | 4726 static const int RENDERING_INTENT_UNKNOWN = 0; |
| 4834 } | 4727 } |
| 4835 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4728 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4836 // for details. All rights reserved. Use of this source code is governed by a | 4729 // for details. All rights reserved. Use of this source code is governed by a |
| 4837 // BSD-style license that can be found in the LICENSE file. | 4730 // BSD-style license that can be found in the LICENSE file. |
| 4838 | 4731 |
| 4839 | 4732 |
| 4840 class SVGSVGElement extends SVGElement implements SVGZoomAndPan, SVGLocatable, S
VGLangSpace, SVGTests, SVGStylable, SVGFitToViewBox, SVGExternalResourcesRequire
d native "*SVGSVGElement" { | 4733 /// @domName SVGScriptElement |
| 4841 factory SVGSVGElement() => _SVGSVGElementFactoryProvider.createSVGSVGElement()
; | 4734 class ScriptElement extends SvgElement implements UriReference, ExternalResource
sRequired native "*SVGScriptElement" { |
| 4842 | 4735 |
| 4843 | 4736 factory ScriptElement() => _SvgElementFactoryProvider.createSvgElement_tag("sc
ript"); |
| 4844 /** @domName SVGSVGElement.contentScriptType */ | 4737 |
| 4845 String contentScriptType; | 4738 /** @domName SVGScriptElement.type */ |
| 4846 | 4739 String type; |
| 4847 /** @domName SVGSVGElement.contentStyleType */ | |
| 4848 String contentStyleType; | |
| 4849 | |
| 4850 /** @domName SVGSVGElement.currentScale */ | |
| 4851 num currentScale; | |
| 4852 | |
| 4853 /** @domName SVGSVGElement.currentTranslate */ | |
| 4854 final SVGPoint currentTranslate; | |
| 4855 | |
| 4856 /** @domName SVGSVGElement.currentView */ | |
| 4857 final SVGViewSpec currentView; | |
| 4858 | |
| 4859 /** @domName SVGSVGElement.height */ | |
| 4860 final SVGAnimatedLength height; | |
| 4861 | |
| 4862 /** @domName SVGSVGElement.pixelUnitToMillimeterX */ | |
| 4863 final num pixelUnitToMillimeterX; | |
| 4864 | |
| 4865 /** @domName SVGSVGElement.pixelUnitToMillimeterY */ | |
| 4866 final num pixelUnitToMillimeterY; | |
| 4867 | |
| 4868 /** @domName SVGSVGElement.screenPixelToMillimeterX */ | |
| 4869 final num screenPixelToMillimeterX; | |
| 4870 | |
| 4871 /** @domName SVGSVGElement.screenPixelToMillimeterY */ | |
| 4872 final num screenPixelToMillimeterY; | |
| 4873 | |
| 4874 /** @domName SVGSVGElement.useCurrentView */ | |
| 4875 final bool useCurrentView; | |
| 4876 | |
| 4877 /** @domName SVGSVGElement.viewport */ | |
| 4878 final SVGRect viewport; | |
| 4879 | |
| 4880 /** @domName SVGSVGElement.width */ | |
| 4881 final SVGAnimatedLength width; | |
| 4882 | |
| 4883 /** @domName SVGSVGElement.x */ | |
| 4884 final SVGAnimatedLength x; | |
| 4885 | |
| 4886 /** @domName SVGSVGElement.y */ | |
| 4887 final SVGAnimatedLength y; | |
| 4888 | |
| 4889 /** @domName SVGSVGElement.animationsPaused */ | |
| 4890 bool animationsPaused() native; | |
| 4891 | |
| 4892 /** @domName SVGSVGElement.checkEnclosure */ | |
| 4893 bool checkEnclosure(SVGElement element, SVGRect rect) native; | |
| 4894 | |
| 4895 /** @domName SVGSVGElement.checkIntersection */ | |
| 4896 bool checkIntersection(SVGElement element, SVGRect rect) native; | |
| 4897 | |
| 4898 /** @domName SVGSVGElement.createSVGAngle */ | |
| 4899 SVGAngle createSVGAngle() native; | |
| 4900 | |
| 4901 /** @domName SVGSVGElement.createSVGLength */ | |
| 4902 SVGLength createSVGLength() native; | |
| 4903 | |
| 4904 /** @domName SVGSVGElement.createSVGMatrix */ | |
| 4905 SVGMatrix createSVGMatrix() native; | |
| 4906 | |
| 4907 /** @domName SVGSVGElement.createSVGNumber */ | |
| 4908 SVGNumber createSVGNumber() native; | |
| 4909 | |
| 4910 /** @domName SVGSVGElement.createSVGPoint */ | |
| 4911 SVGPoint createSVGPoint() native; | |
| 4912 | |
| 4913 /** @domName SVGSVGElement.createSVGRect */ | |
| 4914 SVGRect createSVGRect() native; | |
| 4915 | |
| 4916 /** @domName SVGSVGElement.createSVGTransform */ | |
| 4917 SVGTransform createSVGTransform() native; | |
| 4918 | |
| 4919 /** @domName SVGSVGElement.createSVGTransformFromMatrix */ | |
| 4920 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix) native; | |
| 4921 | |
| 4922 /** @domName SVGSVGElement.deselectAll */ | |
| 4923 void deselectAll() native; | |
| 4924 | |
| 4925 /** @domName SVGSVGElement.forceRedraw */ | |
| 4926 void forceRedraw() native; | |
| 4927 | |
| 4928 /** @domName SVGSVGElement.getCurrentTime */ | |
| 4929 num getCurrentTime() native; | |
| 4930 | |
| 4931 /** @domName SVGSVGElement.getElementById */ | |
| 4932 Element getElementById(String elementId) native; | |
| 4933 | |
| 4934 /** @domName SVGSVGElement.getEnclosureList */ | |
| 4935 List<Node> getEnclosureList(SVGRect rect, SVGElement referenceElement) native; | |
| 4936 | |
| 4937 /** @domName SVGSVGElement.getIntersectionList */ | |
| 4938 List<Node> getIntersectionList(SVGRect rect, SVGElement referenceElement) nati
ve; | |
| 4939 | |
| 4940 /** @domName SVGSVGElement.pauseAnimations */ | |
| 4941 void pauseAnimations() native; | |
| 4942 | |
| 4943 /** @domName SVGSVGElement.setCurrentTime */ | |
| 4944 void setCurrentTime(num seconds) native; | |
| 4945 | |
| 4946 /** @domName SVGSVGElement.suspendRedraw */ | |
| 4947 int suspendRedraw(int maxWaitMilliseconds) native; | |
| 4948 | |
| 4949 /** @domName SVGSVGElement.unpauseAnimations */ | |
| 4950 void unpauseAnimations() native; | |
| 4951 | |
| 4952 /** @domName SVGSVGElement.unsuspendRedraw */ | |
| 4953 void unsuspendRedraw(int suspendHandleId) native; | |
| 4954 | |
| 4955 /** @domName SVGSVGElement.unsuspendRedrawAll */ | |
| 4956 void unsuspendRedrawAll() native; | |
| 4957 | 4740 |
| 4958 // From SVGExternalResourcesRequired | 4741 // From SVGExternalResourcesRequired |
| 4959 | 4742 |
| 4960 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 4743 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 4961 final SVGAnimatedBoolean externalResourcesRequired; | 4744 final AnimatedBoolean externalResourcesRequired; |
| 4962 | 4745 |
| 4963 // From SVGFitToViewBox | 4746 // From SVGURIReference |
| 4964 | 4747 |
| 4965 /** @domName SVGFitToViewBox.preserveAspectRatio */ | 4748 /** @domName SVGURIReference.href */ |
| 4966 final SVGAnimatedPreserveAspectRatio preserveAspectRatio; | 4749 final AnimatedString href; |
| 4967 | 4750 } |
| 4968 /** @domName SVGFitToViewBox.viewBox */ | 4751 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4969 final SVGAnimatedRect viewBox; | 4752 // for details. All rights reserved. Use of this source code is governed by a |
| 4970 | 4753 // BSD-style license that can be found in the LICENSE file. |
| 4971 // From SVGLangSpace | 4754 |
| 4972 | 4755 |
| 4973 /** @domName SVGLangSpace.xmllang */ | 4756 /// @domName SVGSetElement |
| 4974 String xmllang; | 4757 class SetElement extends AnimationElement native "*SVGSetElement" { |
| 4975 | 4758 |
| 4976 /** @domName SVGLangSpace.xmlspace */ | 4759 factory SetElement() => _SvgElementFactoryProvider.createSvgElement_tag("set")
; |
| 4977 String xmlspace; | 4760 } |
| 4978 | 4761 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4979 // From SVGLocatable | 4762 // for details. All rights reserved. Use of this source code is governed by a |
| 4980 | 4763 // BSD-style license that can be found in the LICENSE file. |
| 4981 /** @domName SVGLocatable.farthestViewportElement */ | 4764 |
| 4982 final SVGElement farthestViewportElement; | 4765 |
| 4983 | 4766 /// @domName SVGStopElement |
| 4984 /** @domName SVGLocatable.nearestViewportElement */ | 4767 class StopElement extends SvgElement implements Stylable native "*SVGStopElement
" { |
| 4985 final SVGElement nearestViewportElement; | 4768 |
| 4986 | 4769 factory StopElement() => _SvgElementFactoryProvider.createSvgElement_tag("stop
"); |
| 4987 /** @domName SVGLocatable.getBBox */ | 4770 |
| 4988 SVGRect getBBox() native; | 4771 /** @domName SVGStopElement.offset */ |
| 4989 | 4772 final AnimatedNumber offset; |
| 4990 /** @domName SVGLocatable.getCTM */ | |
| 4991 SVGMatrix getCTM() native; | |
| 4992 | |
| 4993 /** @domName SVGLocatable.getScreenCTM */ | |
| 4994 SVGMatrix getScreenCTM() native; | |
| 4995 | |
| 4996 /** @domName SVGLocatable.getTransformToElement */ | |
| 4997 SVGMatrix getTransformToElement(SVGElement element) native; | |
| 4998 | 4773 |
| 4999 // From SVGStylable | 4774 // From SVGStylable |
| 5000 | 4775 |
| 5001 /** @domName SVGStylable.className */ | 4776 /** @domName SVGStylable.className */ |
| 5002 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 4777 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 5003 | 4778 |
| 5004 // Use implementation from Element. | 4779 // Use implementation from Element. |
| 5005 // final CSSStyleDeclaration style; | 4780 // final CSSStyleDeclaration style; |
| 5006 | 4781 |
| 5007 /** @domName SVGStylable.getPresentationAttribute */ | 4782 /** @domName SVGStylable.getPresentationAttribute */ |
| 5008 CSSValue getPresentationAttribute(String name) native; | 4783 CSSValue getPresentationAttribute(String name) native; |
| 5009 | |
| 5010 // From SVGTests | |
| 5011 | |
| 5012 /** @domName SVGTests.requiredExtensions */ | |
| 5013 final SVGStringList requiredExtensions; | |
| 5014 | |
| 5015 /** @domName SVGTests.requiredFeatures */ | |
| 5016 final SVGStringList requiredFeatures; | |
| 5017 | |
| 5018 /** @domName SVGTests.systemLanguage */ | |
| 5019 final SVGStringList systemLanguage; | |
| 5020 | |
| 5021 /** @domName SVGTests.hasExtension */ | |
| 5022 bool hasExtension(String extension) native; | |
| 5023 | |
| 5024 // From SVGZoomAndPan | |
| 5025 | |
| 5026 /** @domName SVGZoomAndPan.zoomAndPan */ | |
| 5027 int zoomAndPan; | |
| 5028 | |
| 5029 } | |
| 5030 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5031 // for details. All rights reserved. Use of this source code is governed by a | |
| 5032 // BSD-style license that can be found in the LICENSE file. | |
| 5033 | |
| 5034 | |
| 5035 /// @domName SVGScriptElement | |
| 5036 class SVGScriptElement extends SVGElement implements SVGURIReference, SVGExterna
lResourcesRequired native "*SVGScriptElement" { | |
| 5037 | |
| 5038 factory SVGScriptElement() => _SVGElementFactoryProvider.createSVGElement_tag(
"script"); | |
| 5039 | |
| 5040 /** @domName SVGScriptElement.type */ | |
| 5041 String type; | |
| 5042 | |
| 5043 // From SVGExternalResourcesRequired | |
| 5044 | |
| 5045 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | |
| 5046 final SVGAnimatedBoolean externalResourcesRequired; | |
| 5047 | |
| 5048 // From SVGURIReference | |
| 5049 | |
| 5050 /** @domName SVGURIReference.href */ | |
| 5051 final SVGAnimatedString href; | |
| 5052 } | |
| 5053 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5054 // for details. All rights reserved. Use of this source code is governed by a | |
| 5055 // BSD-style license that can be found in the LICENSE file. | |
| 5056 | |
| 5057 | |
| 5058 /// @domName SVGSetElement | |
| 5059 class SVGSetElement extends SVGAnimationElement native "*SVGSetElement" { | |
| 5060 | |
| 5061 factory SVGSetElement() => _SVGElementFactoryProvider.createSVGElement_tag("se
t"); | |
| 5062 } | |
| 5063 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | |
| 5064 // for details. All rights reserved. Use of this source code is governed by a | |
| 5065 // BSD-style license that can be found in the LICENSE file. | |
| 5066 | |
| 5067 | |
| 5068 /// @domName SVGStopElement | |
| 5069 class SVGStopElement extends SVGElement implements SVGStylable native "*SVGStopE
lement" { | |
| 5070 | |
| 5071 factory SVGStopElement() => _SVGElementFactoryProvider.createSVGElement_tag("s
top"); | |
| 5072 | |
| 5073 /** @domName SVGStopElement.offset */ | |
| 5074 final SVGAnimatedNumber offset; | |
| 5075 | |
| 5076 // From SVGStylable | |
| 5077 | |
| 5078 /** @domName SVGStylable.className */ | |
| 5079 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | |
| 5080 | |
| 5081 // Use implementation from Element. | |
| 5082 // final CSSStyleDeclaration style; | |
| 5083 | |
| 5084 /** @domName SVGStylable.getPresentationAttribute */ | |
| 5085 CSSValue getPresentationAttribute(String name) native; | |
| 5086 } | 4784 } |
| 5087 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4785 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5088 // for details. All rights reserved. Use of this source code is governed by a | 4786 // for details. All rights reserved. Use of this source code is governed by a |
| 5089 // BSD-style license that can be found in the LICENSE file. | 4787 // BSD-style license that can be found in the LICENSE file. |
| 5090 | 4788 |
| 5091 | 4789 |
| 5092 /// @domName SVGStringList | 4790 /// @domName SVGStringList |
| 5093 class SVGStringList implements JavaScriptIndexingBehavior, List<String> native "
*SVGStringList" { | 4791 class StringList implements JavaScriptIndexingBehavior, List<String> native "*SV
GStringList" { |
| 5094 | 4792 |
| 5095 /** @domName SVGStringList.numberOfItems */ | 4793 /** @domName SVGStringList.numberOfItems */ |
| 5096 final int numberOfItems; | 4794 final int numberOfItems; |
| 5097 | 4795 |
| 5098 String operator[](int index) => JS("String", "#[#]", this, index); | 4796 String operator[](int index) => JS("String", "#[#]", this, index); |
| 5099 | 4797 |
| 5100 void operator[]=(int index, String value) { | 4798 void operator[]=(int index, String value) { |
| 5101 throw new UnsupportedError("Cannot assign element of immutable List."); | 4799 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 5102 } | 4800 } |
| 5103 // -- start List<String> mixins. | 4801 // -- start List<String> mixins. |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5200 | 4898 |
| 5201 /** @domName SVGStringList.replaceItem */ | 4899 /** @domName SVGStringList.replaceItem */ |
| 5202 String replaceItem(String item, int index) native; | 4900 String replaceItem(String item, int index) native; |
| 5203 } | 4901 } |
| 5204 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4902 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5205 // for details. All rights reserved. Use of this source code is governed by a | 4903 // for details. All rights reserved. Use of this source code is governed by a |
| 5206 // BSD-style license that can be found in the LICENSE file. | 4904 // BSD-style license that can be found in the LICENSE file. |
| 5207 | 4905 |
| 5208 | 4906 |
| 5209 /// @domName SVGStylable | 4907 /// @domName SVGStylable |
| 5210 abstract class SVGStylable { | 4908 abstract class Stylable { |
| 5211 | 4909 |
| 5212 SVGAnimatedString className; | 4910 AnimatedString className; |
| 5213 | 4911 |
| 5214 CSSStyleDeclaration style; | 4912 CSSStyleDeclaration style; |
| 5215 | 4913 |
| 5216 /** @domName SVGStylable.getPresentationAttribute */ | 4914 /** @domName SVGStylable.getPresentationAttribute */ |
| 5217 CSSValue getPresentationAttribute(String name); | 4915 CSSValue getPresentationAttribute(String name); |
| 5218 } | 4916 } |
| 5219 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 4917 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5220 // for details. All rights reserved. Use of this source code is governed by a | 4918 // for details. All rights reserved. Use of this source code is governed by a |
| 5221 // BSD-style license that can be found in the LICENSE file. | 4919 // BSD-style license that can be found in the LICENSE file. |
| 5222 | 4920 |
| 5223 | 4921 |
| 5224 /// @domName SVGStyleElement | 4922 /// @domName SVGStyleElement |
| 5225 class SVGStyleElement extends SVGElement implements SVGLangSpace native "*SVGSty
leElement" { | 4923 class StyleElement extends SvgElement implements LangSpace native "*SVGStyleElem
ent" { |
| 5226 | 4924 |
| 5227 factory SVGStyleElement() => _SVGElementFactoryProvider.createSVGElement_tag("
style"); | 4925 factory StyleElement() => _SvgElementFactoryProvider.createSvgElement_tag("sty
le"); |
| 5228 | 4926 |
| 5229 /** @domName SVGStyleElement.disabled */ | 4927 /** @domName SVGStyleElement.disabled */ |
| 5230 bool disabled; | 4928 bool disabled; |
| 5231 | 4929 |
| 5232 /** @domName SVGStyleElement.media */ | 4930 /** @domName SVGStyleElement.media */ |
| 5233 String media; | 4931 String media; |
| 5234 | 4932 |
| 5235 // Shadowing definition. | 4933 // Shadowing definition. |
| 5236 /** @domName SVGStyleElement.title */ | 4934 /** @domName SVGStyleElement.title */ |
| 5237 String get title => JS("String", "#.title", this); | 4935 String get title => JS("String", "#.title", this); |
| 5238 | 4936 |
| 5239 /** @domName SVGStyleElement.title */ | 4937 /** @domName SVGStyleElement.title */ |
| 5240 void set title(String value) { | 4938 void set title(String value) { |
| 5241 JS("void", "#.title = #", this, value); | 4939 JS("void", "#.title = #", this, value); |
| 5242 } | 4940 } |
| 5243 | 4941 |
| 5244 /** @domName SVGStyleElement.type */ | 4942 /** @domName SVGStyleElement.type */ |
| 5245 String type; | 4943 String type; |
| 5246 | 4944 |
| 5247 // From SVGLangSpace | 4945 // From SVGLangSpace |
| 5248 | 4946 |
| 4947 /** @domName SVGLangSpace.xmllang */ |
| 4948 String xmllang; |
| 4949 |
| 4950 /** @domName SVGLangSpace.xmlspace */ |
| 4951 String xmlspace; |
| 4952 } |
| 4953 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 4954 // for details. All rights reserved. Use of this source code is governed by a |
| 4955 // BSD-style license that can be found in the LICENSE file. |
| 4956 |
| 4957 |
| 4958 /// @domName SVGDocument |
| 4959 class SvgDocument extends Document native "*SVGDocument" { |
| 4960 |
| 4961 /** @domName SVGDocument.rootElement */ |
| 4962 final SvgSvgElement rootElement; |
| 4963 |
| 4964 /** @domName SVGDocument.createEvent */ |
| 4965 Event $dom_createEvent(String eventType) native "createEvent"; |
| 4966 } |
| 4967 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file |
| 4968 // for details. All rights reserved. Use of this source code is governed by a |
| 4969 // BSD-style license that can be found in the LICENSE file. |
| 4970 |
| 4971 |
| 4972 class _AttributeClassSet extends CssClassSet { |
| 4973 final Element _element; |
| 4974 |
| 4975 _AttributeClassSet(this._element); |
| 4976 |
| 4977 Set<String> readClasses() { |
| 4978 var classname = _element.attributes['class']; |
| 4979 |
| 4980 Set<String> s = new Set<String>(); |
| 4981 if (classname == null) { |
| 4982 return s; |
| 4983 } |
| 4984 for (String name in classname.split(' ')) { |
| 4985 String trimmed = name.trim(); |
| 4986 if (!trimmed.isEmpty) { |
| 4987 s.add(trimmed); |
| 4988 } |
| 4989 } |
| 4990 return s; |
| 4991 } |
| 4992 |
| 4993 void writeClasses(Set s) { |
| 4994 List list = new List.from(s); |
| 4995 _element.attributes['class'] = Strings.join(list, ' '); |
| 4996 } |
| 4997 } |
| 4998 |
| 4999 class SvgElement extends Element native "*SVGElement" { |
| 5000 factory SvgElement.tag(String tag) => |
| 5001 _SvgElementFactoryProvider.createSvgElement_tag(tag); |
| 5002 factory SvgElement.svg(String svg) => |
| 5003 _SvgElementFactoryProvider.createSvgElement_svg(svg); |
| 5004 |
| 5005 _AttributeClassSet _cssClassSet; |
| 5006 CssClassSet get classes { |
| 5007 if (_cssClassSet == null) { |
| 5008 _cssClassSet = new _AttributeClassSet(this); |
| 5009 } |
| 5010 return _cssClassSet; |
| 5011 } |
| 5012 |
| 5013 List<Element> get elements => new FilteredElementList(this); |
| 5014 |
| 5015 void set elements(Collection<Element> value) { |
| 5016 final elements = this.elements; |
| 5017 elements.clear(); |
| 5018 elements.addAll(value); |
| 5019 } |
| 5020 |
| 5021 String get outerHTML { |
| 5022 final container = new Element.tag("div"); |
| 5023 final SvgElement cloned = this.clone(true); |
| 5024 container.elements.add(cloned); |
| 5025 return container.innerHTML; |
| 5026 } |
| 5027 |
| 5028 String get innerHTML { |
| 5029 final container = new Element.tag("div"); |
| 5030 final SvgElement cloned = this.clone(true); |
| 5031 container.elements.addAll(cloned.elements); |
| 5032 return container.innerHTML; |
| 5033 } |
| 5034 |
| 5035 void set innerHTML(String svg) { |
| 5036 final container = new Element.tag("div"); |
| 5037 // Wrap the SVG string in <svg> so that SvgElements are created, rather than |
| 5038 // HTMLElements. |
| 5039 container.innerHTML = '<svg version="1.1">$svg</svg>'; |
| 5040 this.elements = container.elements[0].elements; |
| 5041 } |
| 5042 |
| 5043 |
| 5044 // Shadowing definition. |
| 5045 /** @domName SVGElement.id */ |
| 5046 String get id => JS("String", "#.id", this); |
| 5047 |
| 5048 /** @domName SVGElement.id */ |
| 5049 void set id(String value) { |
| 5050 JS("void", "#.id = #", this, value); |
| 5051 } |
| 5052 |
| 5053 /** @domName SVGElement.ownerSVGElement */ |
| 5054 final SvgSvgElement ownerSVGElement; |
| 5055 |
| 5056 /** @domName SVGElement.viewportElement */ |
| 5057 final SvgElement viewportElement; |
| 5058 |
| 5059 /** @domName SVGElement.xmlbase */ |
| 5060 String xmlbase; |
| 5061 |
| 5062 } |
| 5063 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5064 // for details. All rights reserved. Use of this source code is governed by a |
| 5065 // BSD-style license that can be found in the LICENSE file. |
| 5066 |
| 5067 |
| 5068 class SvgSvgElement extends SvgElement implements FitToViewBox, Tests, Stylable,
Locatable, ExternalResourcesRequired, ZoomAndPan, LangSpace native "*SVGSVGElem
ent" { |
| 5069 factory SvgSvgElement() => _SvgSvgElementFactoryProvider.createSvgSvgElement()
; |
| 5070 |
| 5071 |
| 5072 /** @domName SVGSVGElement.contentScriptType */ |
| 5073 String contentScriptType; |
| 5074 |
| 5075 /** @domName SVGSVGElement.contentStyleType */ |
| 5076 String contentStyleType; |
| 5077 |
| 5078 /** @domName SVGSVGElement.currentScale */ |
| 5079 num currentScale; |
| 5080 |
| 5081 /** @domName SVGSVGElement.currentTranslate */ |
| 5082 final Point currentTranslate; |
| 5083 |
| 5084 /** @domName SVGSVGElement.currentView */ |
| 5085 final ViewSpec currentView; |
| 5086 |
| 5087 /** @domName SVGSVGElement.height */ |
| 5088 final AnimatedLength height; |
| 5089 |
| 5090 /** @domName SVGSVGElement.pixelUnitToMillimeterX */ |
| 5091 final num pixelUnitToMillimeterX; |
| 5092 |
| 5093 /** @domName SVGSVGElement.pixelUnitToMillimeterY */ |
| 5094 final num pixelUnitToMillimeterY; |
| 5095 |
| 5096 /** @domName SVGSVGElement.screenPixelToMillimeterX */ |
| 5097 final num screenPixelToMillimeterX; |
| 5098 |
| 5099 /** @domName SVGSVGElement.screenPixelToMillimeterY */ |
| 5100 final num screenPixelToMillimeterY; |
| 5101 |
| 5102 /** @domName SVGSVGElement.useCurrentView */ |
| 5103 final bool useCurrentView; |
| 5104 |
| 5105 /** @domName SVGSVGElement.viewport */ |
| 5106 final Rect viewport; |
| 5107 |
| 5108 /** @domName SVGSVGElement.width */ |
| 5109 final AnimatedLength width; |
| 5110 |
| 5111 /** @domName SVGSVGElement.x */ |
| 5112 final AnimatedLength x; |
| 5113 |
| 5114 /** @domName SVGSVGElement.y */ |
| 5115 final AnimatedLength y; |
| 5116 |
| 5117 /** @domName SVGSVGElement.animationsPaused */ |
| 5118 bool animationsPaused() native; |
| 5119 |
| 5120 /** @domName SVGSVGElement.checkEnclosure */ |
| 5121 bool checkEnclosure(SvgElement element, Rect rect) native; |
| 5122 |
| 5123 /** @domName SVGSVGElement.checkIntersection */ |
| 5124 bool checkIntersection(SvgElement element, Rect rect) native; |
| 5125 |
| 5126 /** @domName SVGSVGElement.createSVGAngle */ |
| 5127 Angle createSVGAngle() native; |
| 5128 |
| 5129 /** @domName SVGSVGElement.createSVGLength */ |
| 5130 Length createSVGLength() native; |
| 5131 |
| 5132 /** @domName SVGSVGElement.createSVGMatrix */ |
| 5133 Matrix createSVGMatrix() native; |
| 5134 |
| 5135 /** @domName SVGSVGElement.createSVGNumber */ |
| 5136 Number createSVGNumber() native; |
| 5137 |
| 5138 /** @domName SVGSVGElement.createSVGPoint */ |
| 5139 Point createSVGPoint() native; |
| 5140 |
| 5141 /** @domName SVGSVGElement.createSVGRect */ |
| 5142 Rect createSVGRect() native; |
| 5143 |
| 5144 /** @domName SVGSVGElement.createSVGTransform */ |
| 5145 Transform createSVGTransform() native; |
| 5146 |
| 5147 /** @domName SVGSVGElement.createSVGTransformFromMatrix */ |
| 5148 Transform createSVGTransformFromMatrix(Matrix matrix) native; |
| 5149 |
| 5150 /** @domName SVGSVGElement.deselectAll */ |
| 5151 void deselectAll() native; |
| 5152 |
| 5153 /** @domName SVGSVGElement.forceRedraw */ |
| 5154 void forceRedraw() native; |
| 5155 |
| 5156 /** @domName SVGSVGElement.getCurrentTime */ |
| 5157 num getCurrentTime() native; |
| 5158 |
| 5159 /** @domName SVGSVGElement.getElementById */ |
| 5160 Element getElementById(String elementId) native; |
| 5161 |
| 5162 /** @domName SVGSVGElement.getEnclosureList */ |
| 5163 List<Node> getEnclosureList(Rect rect, SvgElement referenceElement) native; |
| 5164 |
| 5165 /** @domName SVGSVGElement.getIntersectionList */ |
| 5166 List<Node> getIntersectionList(Rect rect, SvgElement referenceElement) native; |
| 5167 |
| 5168 /** @domName SVGSVGElement.pauseAnimations */ |
| 5169 void pauseAnimations() native; |
| 5170 |
| 5171 /** @domName SVGSVGElement.setCurrentTime */ |
| 5172 void setCurrentTime(num seconds) native; |
| 5173 |
| 5174 /** @domName SVGSVGElement.suspendRedraw */ |
| 5175 int suspendRedraw(int maxWaitMilliseconds) native; |
| 5176 |
| 5177 /** @domName SVGSVGElement.unpauseAnimations */ |
| 5178 void unpauseAnimations() native; |
| 5179 |
| 5180 /** @domName SVGSVGElement.unsuspendRedraw */ |
| 5181 void unsuspendRedraw(int suspendHandleId) native; |
| 5182 |
| 5183 /** @domName SVGSVGElement.unsuspendRedrawAll */ |
| 5184 void unsuspendRedrawAll() native; |
| 5185 |
| 5186 // From SVGExternalResourcesRequired |
| 5187 |
| 5188 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 5189 final AnimatedBoolean externalResourcesRequired; |
| 5190 |
| 5191 // From SVGFitToViewBox |
| 5192 |
| 5193 /** @domName SVGFitToViewBox.preserveAspectRatio */ |
| 5194 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 5195 |
| 5196 /** @domName SVGFitToViewBox.viewBox */ |
| 5197 final AnimatedRect viewBox; |
| 5198 |
| 5199 // From SVGLangSpace |
| 5200 |
| 5249 /** @domName SVGLangSpace.xmllang */ | 5201 /** @domName SVGLangSpace.xmllang */ |
| 5250 String xmllang; | 5202 String xmllang; |
| 5251 | 5203 |
| 5252 /** @domName SVGLangSpace.xmlspace */ | 5204 /** @domName SVGLangSpace.xmlspace */ |
| 5253 String xmlspace; | 5205 String xmlspace; |
| 5206 |
| 5207 // From SVGLocatable |
| 5208 |
| 5209 /** @domName SVGLocatable.farthestViewportElement */ |
| 5210 final SvgElement farthestViewportElement; |
| 5211 |
| 5212 /** @domName SVGLocatable.nearestViewportElement */ |
| 5213 final SvgElement nearestViewportElement; |
| 5214 |
| 5215 /** @domName SVGLocatable.getBBox */ |
| 5216 Rect getBBox() native; |
| 5217 |
| 5218 /** @domName SVGLocatable.getCTM */ |
| 5219 Matrix getCTM() native; |
| 5220 |
| 5221 /** @domName SVGLocatable.getScreenCTM */ |
| 5222 Matrix getScreenCTM() native; |
| 5223 |
| 5224 /** @domName SVGLocatable.getTransformToElement */ |
| 5225 Matrix getTransformToElement(SvgElement element) native; |
| 5226 |
| 5227 // From SVGStylable |
| 5228 |
| 5229 /** @domName SVGStylable.className */ |
| 5230 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 5231 |
| 5232 // Use implementation from Element. |
| 5233 // final CSSStyleDeclaration style; |
| 5234 |
| 5235 /** @domName SVGStylable.getPresentationAttribute */ |
| 5236 CSSValue getPresentationAttribute(String name) native; |
| 5237 |
| 5238 // From SVGTests |
| 5239 |
| 5240 /** @domName SVGTests.requiredExtensions */ |
| 5241 final StringList requiredExtensions; |
| 5242 |
| 5243 /** @domName SVGTests.requiredFeatures */ |
| 5244 final StringList requiredFeatures; |
| 5245 |
| 5246 /** @domName SVGTests.systemLanguage */ |
| 5247 final StringList systemLanguage; |
| 5248 |
| 5249 /** @domName SVGTests.hasExtension */ |
| 5250 bool hasExtension(String extension) native; |
| 5251 |
| 5252 // From SVGZoomAndPan |
| 5253 |
| 5254 /** @domName SVGZoomAndPan.zoomAndPan */ |
| 5255 int zoomAndPan; |
| 5256 |
| 5254 } | 5257 } |
| 5255 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5258 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5256 // for details. All rights reserved. Use of this source code is governed by a | 5259 // for details. All rights reserved. Use of this source code is governed by a |
| 5257 // BSD-style license that can be found in the LICENSE file. | 5260 // BSD-style license that can be found in the LICENSE file. |
| 5258 | 5261 |
| 5259 | 5262 |
| 5260 /// @domName SVGSwitchElement | 5263 /// @domName SVGSwitchElement |
| 5261 class SVGSwitchElement extends SVGElement implements SVGLangSpace, SVGStylable,
SVGTests, SVGTransformable, SVGExternalResourcesRequired native "*SVGSwitchEleme
nt" { | 5264 class SwitchElement extends SvgElement implements Transformable, Tests, Stylable
, ExternalResourcesRequired, LangSpace native "*SVGSwitchElement" { |
| 5262 | 5265 |
| 5263 factory SVGSwitchElement() => _SVGElementFactoryProvider.createSVGElement_tag(
"switch"); | 5266 factory SwitchElement() => _SvgElementFactoryProvider.createSvgElement_tag("sw
itch"); |
| 5264 | 5267 |
| 5265 // From SVGExternalResourcesRequired | 5268 // From SVGExternalResourcesRequired |
| 5266 | 5269 |
| 5267 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 5270 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 5268 final SVGAnimatedBoolean externalResourcesRequired; | 5271 final AnimatedBoolean externalResourcesRequired; |
| 5269 | 5272 |
| 5270 // From SVGLangSpace | 5273 // From SVGLangSpace |
| 5271 | 5274 |
| 5272 /** @domName SVGLangSpace.xmllang */ | 5275 /** @domName SVGLangSpace.xmllang */ |
| 5273 String xmllang; | 5276 String xmllang; |
| 5274 | 5277 |
| 5275 /** @domName SVGLangSpace.xmlspace */ | 5278 /** @domName SVGLangSpace.xmlspace */ |
| 5276 String xmlspace; | 5279 String xmlspace; |
| 5277 | 5280 |
| 5278 // From SVGLocatable | 5281 // From SVGLocatable |
| 5279 | 5282 |
| 5280 /** @domName SVGLocatable.farthestViewportElement */ | 5283 /** @domName SVGLocatable.farthestViewportElement */ |
| 5281 final SVGElement farthestViewportElement; | 5284 final SvgElement farthestViewportElement; |
| 5282 | 5285 |
| 5283 /** @domName SVGLocatable.nearestViewportElement */ | 5286 /** @domName SVGLocatable.nearestViewportElement */ |
| 5284 final SVGElement nearestViewportElement; | 5287 final SvgElement nearestViewportElement; |
| 5285 | 5288 |
| 5286 /** @domName SVGLocatable.getBBox */ | 5289 /** @domName SVGLocatable.getBBox */ |
| 5287 SVGRect getBBox() native; | 5290 Rect getBBox() native; |
| 5288 | 5291 |
| 5289 /** @domName SVGLocatable.getCTM */ | 5292 /** @domName SVGLocatable.getCTM */ |
| 5290 SVGMatrix getCTM() native; | 5293 Matrix getCTM() native; |
| 5291 | 5294 |
| 5292 /** @domName SVGLocatable.getScreenCTM */ | 5295 /** @domName SVGLocatable.getScreenCTM */ |
| 5293 SVGMatrix getScreenCTM() native; | 5296 Matrix getScreenCTM() native; |
| 5294 | 5297 |
| 5295 /** @domName SVGLocatable.getTransformToElement */ | 5298 /** @domName SVGLocatable.getTransformToElement */ |
| 5296 SVGMatrix getTransformToElement(SVGElement element) native; | 5299 Matrix getTransformToElement(SvgElement element) native; |
| 5297 | 5300 |
| 5298 // From SVGStylable | 5301 // From SVGStylable |
| 5299 | 5302 |
| 5300 /** @domName SVGStylable.className */ | 5303 /** @domName SVGStylable.className */ |
| 5301 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 5304 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 5302 | 5305 |
| 5303 // Use implementation from Element. | 5306 // Use implementation from Element. |
| 5304 // final CSSStyleDeclaration style; | 5307 // final CSSStyleDeclaration style; |
| 5305 | 5308 |
| 5306 /** @domName SVGStylable.getPresentationAttribute */ | 5309 /** @domName SVGStylable.getPresentationAttribute */ |
| 5307 CSSValue getPresentationAttribute(String name) native; | 5310 CSSValue getPresentationAttribute(String name) native; |
| 5308 | 5311 |
| 5309 // From SVGTests | 5312 // From SVGTests |
| 5310 | 5313 |
| 5311 /** @domName SVGTests.requiredExtensions */ | 5314 /** @domName SVGTests.requiredExtensions */ |
| 5312 final SVGStringList requiredExtensions; | 5315 final StringList requiredExtensions; |
| 5313 | 5316 |
| 5314 /** @domName SVGTests.requiredFeatures */ | 5317 /** @domName SVGTests.requiredFeatures */ |
| 5315 final SVGStringList requiredFeatures; | 5318 final StringList requiredFeatures; |
| 5316 | 5319 |
| 5317 /** @domName SVGTests.systemLanguage */ | 5320 /** @domName SVGTests.systemLanguage */ |
| 5318 final SVGStringList systemLanguage; | 5321 final StringList systemLanguage; |
| 5319 | 5322 |
| 5320 /** @domName SVGTests.hasExtension */ | 5323 /** @domName SVGTests.hasExtension */ |
| 5321 bool hasExtension(String extension) native; | 5324 bool hasExtension(String extension) native; |
| 5322 | 5325 |
| 5323 // From SVGTransformable | 5326 // From SVGTransformable |
| 5324 | 5327 |
| 5325 /** @domName SVGTransformable.transform */ | 5328 /** @domName SVGTransformable.transform */ |
| 5326 final SVGAnimatedTransformList transform; | 5329 final AnimatedTransformList transform; |
| 5327 } | 5330 } |
| 5328 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5331 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5329 // for details. All rights reserved. Use of this source code is governed by a | 5332 // for details. All rights reserved. Use of this source code is governed by a |
| 5330 // BSD-style license that can be found in the LICENSE file. | 5333 // BSD-style license that can be found in the LICENSE file. |
| 5331 | 5334 |
| 5332 | 5335 |
| 5333 /// @domName SVGSymbolElement | 5336 /// @domName SVGSymbolElement |
| 5334 class SVGSymbolElement extends SVGElement implements SVGLangSpace, SVGFitToViewB
ox, SVGExternalResourcesRequired, SVGStylable native "*SVGSymbolElement" { | 5337 class SymbolElement extends SvgElement implements FitToViewBox, ExternalResource
sRequired, Stylable, LangSpace native "*SVGSymbolElement" { |
| 5335 | 5338 |
| 5336 factory SVGSymbolElement() => _SVGElementFactoryProvider.createSVGElement_tag(
"symbol"); | 5339 factory SymbolElement() => _SvgElementFactoryProvider.createSvgElement_tag("sy
mbol"); |
| 5337 | 5340 |
| 5338 // From SVGExternalResourcesRequired | 5341 // From SVGExternalResourcesRequired |
| 5339 | 5342 |
| 5340 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 5343 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 5341 final SVGAnimatedBoolean externalResourcesRequired; | 5344 final AnimatedBoolean externalResourcesRequired; |
| 5342 | 5345 |
| 5343 // From SVGFitToViewBox | 5346 // From SVGFitToViewBox |
| 5344 | 5347 |
| 5345 /** @domName SVGFitToViewBox.preserveAspectRatio */ | 5348 /** @domName SVGFitToViewBox.preserveAspectRatio */ |
| 5346 final SVGAnimatedPreserveAspectRatio preserveAspectRatio; | 5349 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 5347 | 5350 |
| 5348 /** @domName SVGFitToViewBox.viewBox */ | 5351 /** @domName SVGFitToViewBox.viewBox */ |
| 5349 final SVGAnimatedRect viewBox; | 5352 final AnimatedRect viewBox; |
| 5350 | 5353 |
| 5351 // From SVGLangSpace | 5354 // From SVGLangSpace |
| 5352 | 5355 |
| 5353 /** @domName SVGLangSpace.xmllang */ | 5356 /** @domName SVGLangSpace.xmllang */ |
| 5354 String xmllang; | 5357 String xmllang; |
| 5355 | 5358 |
| 5356 /** @domName SVGLangSpace.xmlspace */ | 5359 /** @domName SVGLangSpace.xmlspace */ |
| 5357 String xmlspace; | 5360 String xmlspace; |
| 5358 | 5361 |
| 5359 // From SVGStylable | 5362 // From SVGStylable |
| 5360 | 5363 |
| 5361 /** @domName SVGStylable.className */ | 5364 /** @domName SVGStylable.className */ |
| 5362 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 5365 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 5363 | 5366 |
| 5364 // Use implementation from Element. | 5367 // Use implementation from Element. |
| 5365 // final CSSStyleDeclaration style; | 5368 // final CSSStyleDeclaration style; |
| 5366 | 5369 |
| 5367 /** @domName SVGStylable.getPresentationAttribute */ | 5370 /** @domName SVGStylable.getPresentationAttribute */ |
| 5368 CSSValue getPresentationAttribute(String name) native; | 5371 CSSValue getPresentationAttribute(String name) native; |
| 5369 } | 5372 } |
| 5370 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5373 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5371 // for details. All rights reserved. Use of this source code is governed by a | 5374 // for details. All rights reserved. Use of this source code is governed by a |
| 5372 // BSD-style license that can be found in the LICENSE file. | 5375 // BSD-style license that can be found in the LICENSE file. |
| 5373 | 5376 |
| 5374 | 5377 |
| 5375 /// @domName SVGTRefElement | 5378 /// @domName SVGTRefElement |
| 5376 class SVGTRefElement extends SVGTextPositioningElement implements SVGURIReferenc
e native "*SVGTRefElement" { | 5379 class TRefElement extends TextPositioningElement implements UriReference native
"*SVGTRefElement" { |
| 5377 | 5380 |
| 5378 factory SVGTRefElement() => _SVGElementFactoryProvider.createSVGElement_tag("t
ref"); | 5381 factory TRefElement() => _SvgElementFactoryProvider.createSvgElement_tag("tref
"); |
| 5379 | 5382 |
| 5380 // From SVGURIReference | 5383 // From SVGURIReference |
| 5381 | 5384 |
| 5382 /** @domName SVGURIReference.href */ | 5385 /** @domName SVGURIReference.href */ |
| 5383 final SVGAnimatedString href; | 5386 final AnimatedString href; |
| 5384 } | 5387 } |
| 5385 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5388 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5386 // for details. All rights reserved. Use of this source code is governed by a | 5389 // for details. All rights reserved. Use of this source code is governed by a |
| 5387 // BSD-style license that can be found in the LICENSE file. | 5390 // BSD-style license that can be found in the LICENSE file. |
| 5388 | 5391 |
| 5389 | 5392 |
| 5390 /// @domName SVGTSpanElement | 5393 /// @domName SVGTSpanElement |
| 5391 class SVGTSpanElement extends SVGTextPositioningElement native "*SVGTSpanElement
" { | 5394 class TSpanElement extends TextPositioningElement native "*SVGTSpanElement" { |
| 5392 | 5395 |
| 5393 factory SVGTSpanElement() => _SVGElementFactoryProvider.createSVGElement_tag("
tspan"); | 5396 factory TSpanElement() => _SvgElementFactoryProvider.createSvgElement_tag("tsp
an"); |
| 5394 } | 5397 } |
| 5395 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5398 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5396 // for details. All rights reserved. Use of this source code is governed by a | 5399 // for details. All rights reserved. Use of this source code is governed by a |
| 5397 // BSD-style license that can be found in the LICENSE file. | 5400 // BSD-style license that can be found in the LICENSE file. |
| 5398 | 5401 |
| 5399 | 5402 |
| 5400 /// @domName SVGTests | 5403 /// @domName SVGTests |
| 5401 abstract class SVGTests { | 5404 abstract class Tests { |
| 5402 | 5405 |
| 5403 SVGStringList requiredExtensions; | 5406 StringList requiredExtensions; |
| 5404 | 5407 |
| 5405 SVGStringList requiredFeatures; | 5408 StringList requiredFeatures; |
| 5406 | 5409 |
| 5407 SVGStringList systemLanguage; | 5410 StringList systemLanguage; |
| 5408 | 5411 |
| 5409 /** @domName SVGTests.hasExtension */ | 5412 /** @domName SVGTests.hasExtension */ |
| 5410 bool hasExtension(String extension); | 5413 bool hasExtension(String extension); |
| 5411 } | 5414 } |
| 5412 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5415 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5413 // for details. All rights reserved. Use of this source code is governed by a | 5416 // for details. All rights reserved. Use of this source code is governed by a |
| 5414 // BSD-style license that can be found in the LICENSE file. | 5417 // BSD-style license that can be found in the LICENSE file. |
| 5415 | 5418 |
| 5416 | 5419 |
| 5417 /// @domName SVGTextContentElement | 5420 /// @domName SVGTextContentElement |
| 5418 class SVGTextContentElement extends SVGElement implements SVGLangSpace, SVGStyla
ble, SVGTests, SVGExternalResourcesRequired native "*SVGTextContentElement" { | 5421 class TextContentElement extends SvgElement implements Tests, Stylable, External
ResourcesRequired, LangSpace native "*SVGTextContentElement" { |
| 5419 | 5422 |
| 5420 static const int LENGTHADJUST_SPACING = 1; | 5423 static const int LENGTHADJUST_SPACING = 1; |
| 5421 | 5424 |
| 5422 static const int LENGTHADJUST_SPACINGANDGLYPHS = 2; | 5425 static const int LENGTHADJUST_SPACINGANDGLYPHS = 2; |
| 5423 | 5426 |
| 5424 static const int LENGTHADJUST_UNKNOWN = 0; | 5427 static const int LENGTHADJUST_UNKNOWN = 0; |
| 5425 | 5428 |
| 5426 /** @domName SVGTextContentElement.lengthAdjust */ | 5429 /** @domName SVGTextContentElement.lengthAdjust */ |
| 5427 final SVGAnimatedEnumeration lengthAdjust; | 5430 final AnimatedEnumeration lengthAdjust; |
| 5428 | 5431 |
| 5429 /** @domName SVGTextContentElement.textLength */ | 5432 /** @domName SVGTextContentElement.textLength */ |
| 5430 final SVGAnimatedLength textLength; | 5433 final AnimatedLength textLength; |
| 5431 | 5434 |
| 5432 /** @domName SVGTextContentElement.getCharNumAtPosition */ | 5435 /** @domName SVGTextContentElement.getCharNumAtPosition */ |
| 5433 int getCharNumAtPosition(SVGPoint point) native; | 5436 int getCharNumAtPosition(Point point) native; |
| 5434 | 5437 |
| 5435 /** @domName SVGTextContentElement.getComputedTextLength */ | 5438 /** @domName SVGTextContentElement.getComputedTextLength */ |
| 5436 num getComputedTextLength() native; | 5439 num getComputedTextLength() native; |
| 5437 | 5440 |
| 5438 /** @domName SVGTextContentElement.getEndPositionOfChar */ | 5441 /** @domName SVGTextContentElement.getEndPositionOfChar */ |
| 5439 SVGPoint getEndPositionOfChar(int offset) native; | 5442 Point getEndPositionOfChar(int offset) native; |
| 5440 | 5443 |
| 5441 /** @domName SVGTextContentElement.getExtentOfChar */ | 5444 /** @domName SVGTextContentElement.getExtentOfChar */ |
| 5442 SVGRect getExtentOfChar(int offset) native; | 5445 Rect getExtentOfChar(int offset) native; |
| 5443 | 5446 |
| 5444 /** @domName SVGTextContentElement.getNumberOfChars */ | 5447 /** @domName SVGTextContentElement.getNumberOfChars */ |
| 5445 int getNumberOfChars() native; | 5448 int getNumberOfChars() native; |
| 5446 | 5449 |
| 5447 /** @domName SVGTextContentElement.getRotationOfChar */ | 5450 /** @domName SVGTextContentElement.getRotationOfChar */ |
| 5448 num getRotationOfChar(int offset) native; | 5451 num getRotationOfChar(int offset) native; |
| 5449 | 5452 |
| 5450 /** @domName SVGTextContentElement.getStartPositionOfChar */ | 5453 /** @domName SVGTextContentElement.getStartPositionOfChar */ |
| 5451 SVGPoint getStartPositionOfChar(int offset) native; | 5454 Point getStartPositionOfChar(int offset) native; |
| 5452 | 5455 |
| 5453 /** @domName SVGTextContentElement.getSubStringLength */ | 5456 /** @domName SVGTextContentElement.getSubStringLength */ |
| 5454 num getSubStringLength(int offset, int length) native; | 5457 num getSubStringLength(int offset, int length) native; |
| 5455 | 5458 |
| 5456 /** @domName SVGTextContentElement.selectSubString */ | 5459 /** @domName SVGTextContentElement.selectSubString */ |
| 5457 void selectSubString(int offset, int length) native; | 5460 void selectSubString(int offset, int length) native; |
| 5458 | 5461 |
| 5459 // From SVGExternalResourcesRequired | 5462 // From SVGExternalResourcesRequired |
| 5460 | 5463 |
| 5461 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 5464 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 5462 final SVGAnimatedBoolean externalResourcesRequired; | 5465 final AnimatedBoolean externalResourcesRequired; |
| 5463 | 5466 |
| 5464 // From SVGLangSpace | 5467 // From SVGLangSpace |
| 5465 | 5468 |
| 5466 /** @domName SVGLangSpace.xmllang */ | 5469 /** @domName SVGLangSpace.xmllang */ |
| 5467 String xmllang; | 5470 String xmllang; |
| 5468 | 5471 |
| 5469 /** @domName SVGLangSpace.xmlspace */ | 5472 /** @domName SVGLangSpace.xmlspace */ |
| 5470 String xmlspace; | 5473 String xmlspace; |
| 5471 | 5474 |
| 5472 // From SVGStylable | 5475 // From SVGStylable |
| 5473 | 5476 |
| 5474 /** @domName SVGStylable.className */ | 5477 /** @domName SVGStylable.className */ |
| 5475 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 5478 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 5476 | 5479 |
| 5477 // Use implementation from Element. | 5480 // Use implementation from Element. |
| 5478 // final CSSStyleDeclaration style; | 5481 // final CSSStyleDeclaration style; |
| 5479 | 5482 |
| 5480 /** @domName SVGStylable.getPresentationAttribute */ | 5483 /** @domName SVGStylable.getPresentationAttribute */ |
| 5481 CSSValue getPresentationAttribute(String name) native; | 5484 CSSValue getPresentationAttribute(String name) native; |
| 5482 | 5485 |
| 5483 // From SVGTests | 5486 // From SVGTests |
| 5484 | 5487 |
| 5485 /** @domName SVGTests.requiredExtensions */ | 5488 /** @domName SVGTests.requiredExtensions */ |
| 5486 final SVGStringList requiredExtensions; | 5489 final StringList requiredExtensions; |
| 5487 | 5490 |
| 5488 /** @domName SVGTests.requiredFeatures */ | 5491 /** @domName SVGTests.requiredFeatures */ |
| 5489 final SVGStringList requiredFeatures; | 5492 final StringList requiredFeatures; |
| 5490 | 5493 |
| 5491 /** @domName SVGTests.systemLanguage */ | 5494 /** @domName SVGTests.systemLanguage */ |
| 5492 final SVGStringList systemLanguage; | 5495 final StringList systemLanguage; |
| 5493 | 5496 |
| 5494 /** @domName SVGTests.hasExtension */ | 5497 /** @domName SVGTests.hasExtension */ |
| 5495 bool hasExtension(String extension) native; | 5498 bool hasExtension(String extension) native; |
| 5496 } | 5499 } |
| 5497 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5500 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5498 // for details. All rights reserved. Use of this source code is governed by a | 5501 // for details. All rights reserved. Use of this source code is governed by a |
| 5499 // BSD-style license that can be found in the LICENSE file. | 5502 // BSD-style license that can be found in the LICENSE file. |
| 5500 | 5503 |
| 5501 | 5504 |
| 5502 /// @domName SVGTextElement | 5505 /// @domName SVGTextElement |
| 5503 class SVGTextElement extends SVGTextPositioningElement implements SVGTransformab
le native "*SVGTextElement" { | 5506 class TextElement extends TextPositioningElement implements Transformable native
"*SVGTextElement" { |
| 5504 | 5507 |
| 5505 factory SVGTextElement() => _SVGElementFactoryProvider.createSVGElement_tag("t
ext"); | 5508 factory TextElement() => _SvgElementFactoryProvider.createSvgElement_tag("text
"); |
| 5506 | 5509 |
| 5507 // From SVGLocatable | 5510 // From SVGLocatable |
| 5508 | 5511 |
| 5509 /** @domName SVGLocatable.farthestViewportElement */ | 5512 /** @domName SVGLocatable.farthestViewportElement */ |
| 5510 final SVGElement farthestViewportElement; | 5513 final SvgElement farthestViewportElement; |
| 5511 | 5514 |
| 5512 /** @domName SVGLocatable.nearestViewportElement */ | 5515 /** @domName SVGLocatable.nearestViewportElement */ |
| 5513 final SVGElement nearestViewportElement; | 5516 final SvgElement nearestViewportElement; |
| 5514 | 5517 |
| 5515 /** @domName SVGLocatable.getBBox */ | 5518 /** @domName SVGLocatable.getBBox */ |
| 5516 SVGRect getBBox() native; | 5519 Rect getBBox() native; |
| 5517 | 5520 |
| 5518 /** @domName SVGLocatable.getCTM */ | 5521 /** @domName SVGLocatable.getCTM */ |
| 5519 SVGMatrix getCTM() native; | 5522 Matrix getCTM() native; |
| 5520 | 5523 |
| 5521 /** @domName SVGLocatable.getScreenCTM */ | 5524 /** @domName SVGLocatable.getScreenCTM */ |
| 5522 SVGMatrix getScreenCTM() native; | 5525 Matrix getScreenCTM() native; |
| 5523 | 5526 |
| 5524 /** @domName SVGLocatable.getTransformToElement */ | 5527 /** @domName SVGLocatable.getTransformToElement */ |
| 5525 SVGMatrix getTransformToElement(SVGElement element) native; | 5528 Matrix getTransformToElement(SvgElement element) native; |
| 5526 | 5529 |
| 5527 // From SVGTransformable | 5530 // From SVGTransformable |
| 5528 | 5531 |
| 5529 /** @domName SVGTransformable.transform */ | 5532 /** @domName SVGTransformable.transform */ |
| 5530 final SVGAnimatedTransformList transform; | 5533 final AnimatedTransformList transform; |
| 5531 } | 5534 } |
| 5532 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5535 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5533 // for details. All rights reserved. Use of this source code is governed by a | 5536 // for details. All rights reserved. Use of this source code is governed by a |
| 5534 // BSD-style license that can be found in the LICENSE file. | 5537 // BSD-style license that can be found in the LICENSE file. |
| 5535 | 5538 |
| 5536 | 5539 |
| 5537 /// @domName SVGTextPathElement | 5540 /// @domName SVGTextPathElement |
| 5538 class SVGTextPathElement extends SVGTextContentElement implements SVGURIReferenc
e native "*SVGTextPathElement" { | 5541 class TextPathElement extends TextContentElement implements UriReference native
"*SVGTextPathElement" { |
| 5539 | 5542 |
| 5540 static const int TEXTPATH_METHODTYPE_ALIGN = 1; | 5543 static const int TEXTPATH_METHODTYPE_ALIGN = 1; |
| 5541 | 5544 |
| 5542 static const int TEXTPATH_METHODTYPE_STRETCH = 2; | 5545 static const int TEXTPATH_METHODTYPE_STRETCH = 2; |
| 5543 | 5546 |
| 5544 static const int TEXTPATH_METHODTYPE_UNKNOWN = 0; | 5547 static const int TEXTPATH_METHODTYPE_UNKNOWN = 0; |
| 5545 | 5548 |
| 5546 static const int TEXTPATH_SPACINGTYPE_AUTO = 1; | 5549 static const int TEXTPATH_SPACINGTYPE_AUTO = 1; |
| 5547 | 5550 |
| 5548 static const int TEXTPATH_SPACINGTYPE_EXACT = 2; | 5551 static const int TEXTPATH_SPACINGTYPE_EXACT = 2; |
| 5549 | 5552 |
| 5550 static const int TEXTPATH_SPACINGTYPE_UNKNOWN = 0; | 5553 static const int TEXTPATH_SPACINGTYPE_UNKNOWN = 0; |
| 5551 | 5554 |
| 5552 /** @domName SVGTextPathElement.method */ | 5555 /** @domName SVGTextPathElement.method */ |
| 5553 final SVGAnimatedEnumeration method; | 5556 final AnimatedEnumeration method; |
| 5554 | 5557 |
| 5555 /** @domName SVGTextPathElement.spacing */ | 5558 /** @domName SVGTextPathElement.spacing */ |
| 5556 final SVGAnimatedEnumeration spacing; | 5559 final AnimatedEnumeration spacing; |
| 5557 | 5560 |
| 5558 /** @domName SVGTextPathElement.startOffset */ | 5561 /** @domName SVGTextPathElement.startOffset */ |
| 5559 final SVGAnimatedLength startOffset; | 5562 final AnimatedLength startOffset; |
| 5560 | 5563 |
| 5561 // From SVGURIReference | 5564 // From SVGURIReference |
| 5562 | 5565 |
| 5563 /** @domName SVGURIReference.href */ | 5566 /** @domName SVGURIReference.href */ |
| 5564 final SVGAnimatedString href; | 5567 final AnimatedString href; |
| 5565 } | 5568 } |
| 5566 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5569 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5567 // for details. All rights reserved. Use of this source code is governed by a | 5570 // for details. All rights reserved. Use of this source code is governed by a |
| 5568 // BSD-style license that can be found in the LICENSE file. | 5571 // BSD-style license that can be found in the LICENSE file. |
| 5569 | 5572 |
| 5570 | 5573 |
| 5571 /// @domName SVGTextPositioningElement | 5574 /// @domName SVGTextPositioningElement |
| 5572 class SVGTextPositioningElement extends SVGTextContentElement native "*SVGTextPo
sitioningElement" { | 5575 class TextPositioningElement extends TextContentElement native "*SVGTextPosition
ingElement" { |
| 5573 | 5576 |
| 5574 /** @domName SVGTextPositioningElement.dx */ | 5577 /** @domName SVGTextPositioningElement.dx */ |
| 5575 final SVGAnimatedLengthList dx; | 5578 final AnimatedLengthList dx; |
| 5576 | 5579 |
| 5577 /** @domName SVGTextPositioningElement.dy */ | 5580 /** @domName SVGTextPositioningElement.dy */ |
| 5578 final SVGAnimatedLengthList dy; | 5581 final AnimatedLengthList dy; |
| 5579 | 5582 |
| 5580 /** @domName SVGTextPositioningElement.rotate */ | 5583 /** @domName SVGTextPositioningElement.rotate */ |
| 5581 final SVGAnimatedNumberList rotate; | 5584 final AnimatedNumberList rotate; |
| 5582 | 5585 |
| 5583 /** @domName SVGTextPositioningElement.x */ | 5586 /** @domName SVGTextPositioningElement.x */ |
| 5584 final SVGAnimatedLengthList x; | 5587 final AnimatedLengthList x; |
| 5585 | 5588 |
| 5586 /** @domName SVGTextPositioningElement.y */ | 5589 /** @domName SVGTextPositioningElement.y */ |
| 5587 final SVGAnimatedLengthList y; | 5590 final AnimatedLengthList y; |
| 5588 } | 5591 } |
| 5589 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5592 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5590 // for details. All rights reserved. Use of this source code is governed by a | 5593 // for details. All rights reserved. Use of this source code is governed by a |
| 5591 // BSD-style license that can be found in the LICENSE file. | 5594 // BSD-style license that can be found in the LICENSE file. |
| 5592 | 5595 |
| 5593 | 5596 |
| 5594 /// @domName SVGTitleElement | 5597 /// @domName SVGTitleElement |
| 5595 class SVGTitleElement extends SVGElement implements SVGLangSpace, SVGStylable na
tive "*SVGTitleElement" { | 5598 class TitleElement extends SvgElement implements Stylable, LangSpace native "*SV
GTitleElement" { |
| 5596 | 5599 |
| 5597 factory SVGTitleElement() => _SVGElementFactoryProvider.createSVGElement_tag("
title"); | 5600 factory TitleElement() => _SvgElementFactoryProvider.createSvgElement_tag("tit
le"); |
| 5598 | 5601 |
| 5599 // From SVGLangSpace | 5602 // From SVGLangSpace |
| 5600 | 5603 |
| 5601 /** @domName SVGLangSpace.xmllang */ | 5604 /** @domName SVGLangSpace.xmllang */ |
| 5602 String xmllang; | 5605 String xmllang; |
| 5603 | 5606 |
| 5604 /** @domName SVGLangSpace.xmlspace */ | 5607 /** @domName SVGLangSpace.xmlspace */ |
| 5605 String xmlspace; | 5608 String xmlspace; |
| 5606 | 5609 |
| 5607 // From SVGStylable | 5610 // From SVGStylable |
| 5608 | 5611 |
| 5609 /** @domName SVGStylable.className */ | 5612 /** @domName SVGStylable.className */ |
| 5610 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 5613 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 5611 | 5614 |
| 5612 // Use implementation from Element. | 5615 // Use implementation from Element. |
| 5613 // final CSSStyleDeclaration style; | 5616 // final CSSStyleDeclaration style; |
| 5614 | 5617 |
| 5615 /** @domName SVGStylable.getPresentationAttribute */ | 5618 /** @domName SVGStylable.getPresentationAttribute */ |
| 5616 CSSValue getPresentationAttribute(String name) native; | 5619 CSSValue getPresentationAttribute(String name) native; |
| 5617 } | 5620 } |
| 5618 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5621 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5619 // for details. All rights reserved. Use of this source code is governed by a | 5622 // for details. All rights reserved. Use of this source code is governed by a |
| 5620 // BSD-style license that can be found in the LICENSE file. | 5623 // BSD-style license that can be found in the LICENSE file. |
| 5621 | 5624 |
| 5622 | 5625 |
| 5623 /// @domName SVGTransform | 5626 /// @domName SVGTransform |
| 5624 class SVGTransform native "*SVGTransform" { | 5627 class Transform native "*SVGTransform" { |
| 5625 | 5628 |
| 5626 static const int SVG_TRANSFORM_MATRIX = 1; | 5629 static const int SVG_TRANSFORM_MATRIX = 1; |
| 5627 | 5630 |
| 5628 static const int SVG_TRANSFORM_ROTATE = 4; | 5631 static const int SVG_TRANSFORM_ROTATE = 4; |
| 5629 | 5632 |
| 5630 static const int SVG_TRANSFORM_SCALE = 3; | 5633 static const int SVG_TRANSFORM_SCALE = 3; |
| 5631 | 5634 |
| 5632 static const int SVG_TRANSFORM_SKEWX = 5; | 5635 static const int SVG_TRANSFORM_SKEWX = 5; |
| 5633 | 5636 |
| 5634 static const int SVG_TRANSFORM_SKEWY = 6; | 5637 static const int SVG_TRANSFORM_SKEWY = 6; |
| 5635 | 5638 |
| 5636 static const int SVG_TRANSFORM_TRANSLATE = 2; | 5639 static const int SVG_TRANSFORM_TRANSLATE = 2; |
| 5637 | 5640 |
| 5638 static const int SVG_TRANSFORM_UNKNOWN = 0; | 5641 static const int SVG_TRANSFORM_UNKNOWN = 0; |
| 5639 | 5642 |
| 5640 /** @domName SVGTransform.angle */ | 5643 /** @domName SVGTransform.angle */ |
| 5641 final num angle; | 5644 final num angle; |
| 5642 | 5645 |
| 5643 /** @domName SVGTransform.matrix */ | 5646 /** @domName SVGTransform.matrix */ |
| 5644 final SVGMatrix matrix; | 5647 final Matrix matrix; |
| 5645 | 5648 |
| 5646 /** @domName SVGTransform.type */ | 5649 /** @domName SVGTransform.type */ |
| 5647 final int type; | 5650 final int type; |
| 5648 | 5651 |
| 5649 /** @domName SVGTransform.setMatrix */ | 5652 /** @domName SVGTransform.setMatrix */ |
| 5650 void setMatrix(SVGMatrix matrix) native; | 5653 void setMatrix(Matrix matrix) native; |
| 5651 | 5654 |
| 5652 /** @domName SVGTransform.setRotate */ | 5655 /** @domName SVGTransform.setRotate */ |
| 5653 void setRotate(num angle, num cx, num cy) native; | 5656 void setRotate(num angle, num cx, num cy) native; |
| 5654 | 5657 |
| 5655 /** @domName SVGTransform.setScale */ | 5658 /** @domName SVGTransform.setScale */ |
| 5656 void setScale(num sx, num sy) native; | 5659 void setScale(num sx, num sy) native; |
| 5657 | 5660 |
| 5658 /** @domName SVGTransform.setSkewX */ | 5661 /** @domName SVGTransform.setSkewX */ |
| 5659 void setSkewX(num angle) native; | 5662 void setSkewX(num angle) native; |
| 5660 | 5663 |
| 5661 /** @domName SVGTransform.setSkewY */ | 5664 /** @domName SVGTransform.setSkewY */ |
| 5662 void setSkewY(num angle) native; | 5665 void setSkewY(num angle) native; |
| 5663 | 5666 |
| 5664 /** @domName SVGTransform.setTranslate */ | 5667 /** @domName SVGTransform.setTranslate */ |
| 5665 void setTranslate(num tx, num ty) native; | 5668 void setTranslate(num tx, num ty) native; |
| 5666 } | 5669 } |
| 5667 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5670 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5668 // for details. All rights reserved. Use of this source code is governed by a | 5671 // for details. All rights reserved. Use of this source code is governed by a |
| 5669 // BSD-style license that can be found in the LICENSE file. | 5672 // BSD-style license that can be found in the LICENSE file. |
| 5670 | 5673 |
| 5671 | 5674 |
| 5672 /// @domName SVGTransformList | 5675 /// @domName SVGTransformList |
| 5673 class SVGTransformList implements JavaScriptIndexingBehavior, List<SVGTransform>
native "*SVGTransformList" { | 5676 class TransformList implements List<Transform>, JavaScriptIndexingBehavior nativ
e "*SVGTransformList" { |
| 5674 | 5677 |
| 5675 /** @domName SVGTransformList.numberOfItems */ | 5678 /** @domName SVGTransformList.numberOfItems */ |
| 5676 final int numberOfItems; | 5679 final int numberOfItems; |
| 5677 | 5680 |
| 5678 SVGTransform operator[](int index) => JS("SVGTransform", "#[#]", this, index); | 5681 Transform operator[](int index) => JS("Transform", "#[#]", this, index); |
| 5679 | 5682 |
| 5680 void operator[]=(int index, SVGTransform value) { | 5683 void operator[]=(int index, Transform value) { |
| 5681 throw new UnsupportedError("Cannot assign element of immutable List."); | 5684 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 5682 } | 5685 } |
| 5683 // -- start List<SVGTransform> mixins. | 5686 // -- start List<Transform> mixins. |
| 5684 // SVGTransform is the element type. | 5687 // Transform is the element type. |
| 5685 | 5688 |
| 5686 // From Iterable<SVGTransform>: | 5689 // From Iterable<Transform>: |
| 5687 | 5690 |
| 5688 Iterator<SVGTransform> iterator() { | 5691 Iterator<Transform> iterator() { |
| 5689 // Note: NodeLists are not fixed size. And most probably length shouldn't | 5692 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 5690 // be cached in both iterator _and_ forEach method. For now caching it | 5693 // be cached in both iterator _and_ forEach method. For now caching it |
| 5691 // for consistency. | 5694 // for consistency. |
| 5692 return new FixedSizeListIterator<SVGTransform>(this); | 5695 return new FixedSizeListIterator<Transform>(this); |
| 5693 } | 5696 } |
| 5694 | 5697 |
| 5695 // From Collection<SVGTransform>: | 5698 // From Collection<Transform>: |
| 5696 | 5699 |
| 5697 void add(SVGTransform value) { | 5700 void add(Transform value) { |
| 5698 throw new UnsupportedError("Cannot add to immutable List."); | 5701 throw new UnsupportedError("Cannot add to immutable List."); |
| 5699 } | 5702 } |
| 5700 | 5703 |
| 5701 void addLast(SVGTransform value) { | 5704 void addLast(Transform value) { |
| 5702 throw new UnsupportedError("Cannot add to immutable List."); | 5705 throw new UnsupportedError("Cannot add to immutable List."); |
| 5703 } | 5706 } |
| 5704 | 5707 |
| 5705 void addAll(Collection<SVGTransform> collection) { | 5708 void addAll(Collection<Transform> collection) { |
| 5706 throw new UnsupportedError("Cannot add to immutable List."); | 5709 throw new UnsupportedError("Cannot add to immutable List."); |
| 5707 } | 5710 } |
| 5708 | 5711 |
| 5709 bool contains(SVGTransform element) => _Collections.contains(this, element); | 5712 bool contains(Transform element) => _Collections.contains(this, element); |
| 5710 | 5713 |
| 5711 void forEach(void f(SVGTransform element)) => _Collections.forEach(this, f); | 5714 void forEach(void f(Transform element)) => _Collections.forEach(this, f); |
| 5712 | 5715 |
| 5713 Collection map(f(SVGTransform element)) => _Collections.map(this, [], f); | 5716 Collection map(f(Transform element)) => _Collections.map(this, [], f); |
| 5714 | 5717 |
| 5715 Collection<SVGTransform> filter(bool f(SVGTransform element)) => | 5718 Collection<Transform> filter(bool f(Transform element)) => |
| 5716 _Collections.filter(this, <SVGTransform>[], f); | 5719 _Collections.filter(this, <Transform>[], f); |
| 5717 | 5720 |
| 5718 bool every(bool f(SVGTransform element)) => _Collections.every(this, f); | 5721 bool every(bool f(Transform element)) => _Collections.every(this, f); |
| 5719 | 5722 |
| 5720 bool some(bool f(SVGTransform element)) => _Collections.some(this, f); | 5723 bool some(bool f(Transform element)) => _Collections.some(this, f); |
| 5721 | 5724 |
| 5722 bool get isEmpty => this.length == 0; | 5725 bool get isEmpty => this.length == 0; |
| 5723 | 5726 |
| 5724 // From List<SVGTransform>: | 5727 // From List<Transform>: |
| 5725 | 5728 |
| 5726 void sort([Comparator<SVGTransform> compare = Comparable.compare]) { | 5729 void sort([Comparator<Transform> compare = Comparable.compare]) { |
| 5727 throw new UnsupportedError("Cannot sort immutable List."); | 5730 throw new UnsupportedError("Cannot sort immutable List."); |
| 5728 } | 5731 } |
| 5729 | 5732 |
| 5730 int indexOf(SVGTransform element, [int start = 0]) => | 5733 int indexOf(Transform element, [int start = 0]) => |
| 5731 _Lists.indexOf(this, element, start, this.length); | 5734 _Lists.indexOf(this, element, start, this.length); |
| 5732 | 5735 |
| 5733 int lastIndexOf(SVGTransform element, [int start]) { | 5736 int lastIndexOf(Transform element, [int start]) { |
| 5734 if (start == null) start = length - 1; | 5737 if (start == null) start = length - 1; |
| 5735 return _Lists.lastIndexOf(this, element, start); | 5738 return _Lists.lastIndexOf(this, element, start); |
| 5736 } | 5739 } |
| 5737 | 5740 |
| 5738 SVGTransform get first => this[0]; | 5741 Transform get first => this[0]; |
| 5739 | 5742 |
| 5740 SVGTransform get last => this[length - 1]; | 5743 Transform get last => this[length - 1]; |
| 5741 | 5744 |
| 5742 SVGTransform removeLast() { | 5745 Transform removeLast() { |
| 5743 throw new UnsupportedError("Cannot removeLast on immutable List."); | 5746 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 5744 } | 5747 } |
| 5745 | 5748 |
| 5746 void setRange(int start, int rangeLength, List<SVGTransform> from, [int startF
rom]) { | 5749 void setRange(int start, int rangeLength, List<Transform> from, [int startFrom
]) { |
| 5747 throw new UnsupportedError("Cannot setRange on immutable List."); | 5750 throw new UnsupportedError("Cannot setRange on immutable List."); |
| 5748 } | 5751 } |
| 5749 | 5752 |
| 5750 void removeRange(int start, int rangeLength) { | 5753 void removeRange(int start, int rangeLength) { |
| 5751 throw new UnsupportedError("Cannot removeRange on immutable List."); | 5754 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 5752 } | 5755 } |
| 5753 | 5756 |
| 5754 void insertRange(int start, int rangeLength, [SVGTransform initialValue]) { | 5757 void insertRange(int start, int rangeLength, [Transform initialValue]) { |
| 5755 throw new UnsupportedError("Cannot insertRange on immutable List."); | 5758 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 5756 } | 5759 } |
| 5757 | 5760 |
| 5758 List<SVGTransform> getRange(int start, int rangeLength) => | 5761 List<Transform> getRange(int start, int rangeLength) => |
| 5759 _Lists.getRange(this, start, rangeLength, <SVGTransform>[]); | 5762 _Lists.getRange(this, start, rangeLength, <Transform>[]); |
| 5760 | 5763 |
| 5761 // -- end List<SVGTransform> mixins. | 5764 // -- end List<Transform> mixins. |
| 5762 | 5765 |
| 5763 /** @domName SVGTransformList.appendItem */ | 5766 /** @domName SVGTransformList.appendItem */ |
| 5764 SVGTransform appendItem(SVGTransform item) native; | 5767 Transform appendItem(Transform item) native; |
| 5765 | 5768 |
| 5766 /** @domName SVGTransformList.clear */ | 5769 /** @domName SVGTransformList.clear */ |
| 5767 void clear() native; | 5770 void clear() native; |
| 5768 | 5771 |
| 5769 /** @domName SVGTransformList.consolidate */ | 5772 /** @domName SVGTransformList.consolidate */ |
| 5770 SVGTransform consolidate() native; | 5773 Transform consolidate() native; |
| 5771 | 5774 |
| 5772 /** @domName SVGTransformList.createSVGTransformFromMatrix */ | 5775 /** @domName SVGTransformList.createSVGTransformFromMatrix */ |
| 5773 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix) native; | 5776 Transform createSVGTransformFromMatrix(Matrix matrix) native; |
| 5774 | 5777 |
| 5775 /** @domName SVGTransformList.getItem */ | 5778 /** @domName SVGTransformList.getItem */ |
| 5776 SVGTransform getItem(int index) native; | 5779 Transform getItem(int index) native; |
| 5777 | 5780 |
| 5778 /** @domName SVGTransformList.initialize */ | 5781 /** @domName SVGTransformList.initialize */ |
| 5779 SVGTransform initialize(SVGTransform item) native; | 5782 Transform initialize(Transform item) native; |
| 5780 | 5783 |
| 5781 /** @domName SVGTransformList.insertItemBefore */ | 5784 /** @domName SVGTransformList.insertItemBefore */ |
| 5782 SVGTransform insertItemBefore(SVGTransform item, int index) native; | 5785 Transform insertItemBefore(Transform item, int index) native; |
| 5783 | 5786 |
| 5784 /** @domName SVGTransformList.removeItem */ | 5787 /** @domName SVGTransformList.removeItem */ |
| 5785 SVGTransform removeItem(int index) native; | 5788 Transform removeItem(int index) native; |
| 5786 | 5789 |
| 5787 /** @domName SVGTransformList.replaceItem */ | 5790 /** @domName SVGTransformList.replaceItem */ |
| 5788 SVGTransform replaceItem(SVGTransform item, int index) native; | 5791 Transform replaceItem(Transform item, int index) native; |
| 5789 } | 5792 } |
| 5790 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5793 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5791 // for details. All rights reserved. Use of this source code is governed by a | 5794 // for details. All rights reserved. Use of this source code is governed by a |
| 5792 // BSD-style license that can be found in the LICENSE file. | 5795 // BSD-style license that can be found in the LICENSE file. |
| 5793 | 5796 |
| 5794 | 5797 |
| 5795 /// @domName SVGTransformable | 5798 /// @domName SVGTransformable |
| 5796 abstract class SVGTransformable implements SVGLocatable { | 5799 abstract class Transformable implements Locatable { |
| 5797 | 5800 |
| 5798 SVGAnimatedTransformList transform; | 5801 AnimatedTransformList transform; |
| 5799 | 5802 |
| 5800 // From SVGLocatable | 5803 // From SVGLocatable |
| 5801 | 5804 |
| 5802 SVGElement farthestViewportElement; | 5805 SvgElement farthestViewportElement; |
| 5803 | 5806 |
| 5804 SVGElement nearestViewportElement; | 5807 SvgElement nearestViewportElement; |
| 5805 | 5808 |
| 5806 /** @domName SVGLocatable.getBBox */ | 5809 /** @domName SVGLocatable.getBBox */ |
| 5807 SVGRect getBBox(); | 5810 Rect getBBox(); |
| 5808 | 5811 |
| 5809 /** @domName SVGLocatable.getCTM */ | 5812 /** @domName SVGLocatable.getCTM */ |
| 5810 SVGMatrix getCTM(); | 5813 Matrix getCTM(); |
| 5811 | 5814 |
| 5812 /** @domName SVGLocatable.getScreenCTM */ | 5815 /** @domName SVGLocatable.getScreenCTM */ |
| 5813 SVGMatrix getScreenCTM(); | 5816 Matrix getScreenCTM(); |
| 5814 | 5817 |
| 5815 /** @domName SVGLocatable.getTransformToElement */ | 5818 /** @domName SVGLocatable.getTransformToElement */ |
| 5816 SVGMatrix getTransformToElement(SVGElement element); | 5819 Matrix getTransformToElement(SvgElement element); |
| 5817 } | |
| 5818 // 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 | |
| 5820 // BSD-style license that can be found in the LICENSE file. | |
| 5821 | |
| 5822 | |
| 5823 /// @domName SVGURIReference | |
| 5824 abstract class SVGURIReference { | |
| 5825 | |
| 5826 SVGAnimatedString href; | |
| 5827 } | 5820 } |
| 5828 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5821 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5829 // for details. All rights reserved. Use of this source code is governed by a | 5822 // for details. All rights reserved. Use of this source code is governed by a |
| 5830 // BSD-style license that can be found in the LICENSE file. | 5823 // BSD-style license that can be found in the LICENSE file. |
| 5831 | 5824 |
| 5832 | 5825 |
| 5833 /// @domName SVGUnitTypes | 5826 /// @domName SVGUnitTypes |
| 5834 class SVGUnitTypes native "*SVGUnitTypes" { | 5827 class UnitTypes native "*SVGUnitTypes" { |
| 5835 | 5828 |
| 5836 static const int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; | 5829 static const int SVG_UNIT_TYPE_OBJECTBOUNDINGBOX = 2; |
| 5837 | 5830 |
| 5838 static const int SVG_UNIT_TYPE_UNKNOWN = 0; | 5831 static const int SVG_UNIT_TYPE_UNKNOWN = 0; |
| 5839 | 5832 |
| 5840 static const int SVG_UNIT_TYPE_USERSPACEONUSE = 1; | 5833 static const int SVG_UNIT_TYPE_USERSPACEONUSE = 1; |
| 5841 } | 5834 } |
| 5842 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5835 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5843 // for details. All rights reserved. Use of this source code is governed by a | 5836 // for details. All rights reserved. Use of this source code is governed by a |
| 5837 // BSD-style license that can be found in the LICENSE file. |
| 5838 |
| 5839 |
| 5840 /// @domName SVGURIReference |
| 5841 abstract class UriReference { |
| 5842 |
| 5843 AnimatedString href; |
| 5844 } |
| 5845 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5846 // for details. All rights reserved. Use of this source code is governed by a |
| 5844 // BSD-style license that can be found in the LICENSE file. | 5847 // BSD-style license that can be found in the LICENSE file. |
| 5845 | 5848 |
| 5846 | 5849 |
| 5847 /// @domName SVGUseElement | 5850 /// @domName SVGUseElement |
| 5848 class SVGUseElement extends SVGElement implements SVGLangSpace, SVGTests, SVGSty
lable, SVGURIReference, SVGExternalResourcesRequired, SVGTransformable native "*
SVGUseElement" { | 5851 class UseElement extends SvgElement implements Transformable, Tests, UriReferenc
e, Stylable, ExternalResourcesRequired, LangSpace native "*SVGUseElement" { |
| 5849 | 5852 |
| 5850 factory SVGUseElement() => _SVGElementFactoryProvider.createSVGElement_tag("us
e"); | 5853 factory UseElement() => _SvgElementFactoryProvider.createSvgElement_tag("use")
; |
| 5851 | 5854 |
| 5852 /** @domName SVGUseElement.animatedInstanceRoot */ | 5855 /** @domName SVGUseElement.animatedInstanceRoot */ |
| 5853 final SVGElementInstance animatedInstanceRoot; | 5856 final ElementInstance animatedInstanceRoot; |
| 5854 | 5857 |
| 5855 /** @domName SVGUseElement.height */ | 5858 /** @domName SVGUseElement.height */ |
| 5856 final SVGAnimatedLength height; | 5859 final AnimatedLength height; |
| 5857 | 5860 |
| 5858 /** @domName SVGUseElement.instanceRoot */ | 5861 /** @domName SVGUseElement.instanceRoot */ |
| 5859 final SVGElementInstance instanceRoot; | 5862 final ElementInstance instanceRoot; |
| 5860 | 5863 |
| 5861 /** @domName SVGUseElement.width */ | 5864 /** @domName SVGUseElement.width */ |
| 5862 final SVGAnimatedLength width; | 5865 final AnimatedLength width; |
| 5863 | 5866 |
| 5864 /** @domName SVGUseElement.x */ | 5867 /** @domName SVGUseElement.x */ |
| 5865 final SVGAnimatedLength x; | 5868 final AnimatedLength x; |
| 5866 | 5869 |
| 5867 /** @domName SVGUseElement.y */ | 5870 /** @domName SVGUseElement.y */ |
| 5868 final SVGAnimatedLength y; | 5871 final AnimatedLength y; |
| 5869 | 5872 |
| 5870 // From SVGExternalResourcesRequired | 5873 // From SVGExternalResourcesRequired |
| 5871 | 5874 |
| 5872 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 5875 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 5873 final SVGAnimatedBoolean externalResourcesRequired; | 5876 final AnimatedBoolean externalResourcesRequired; |
| 5874 | 5877 |
| 5875 // From SVGLangSpace | 5878 // From SVGLangSpace |
| 5876 | 5879 |
| 5877 /** @domName SVGLangSpace.xmllang */ | 5880 /** @domName SVGLangSpace.xmllang */ |
| 5878 String xmllang; | 5881 String xmllang; |
| 5879 | 5882 |
| 5880 /** @domName SVGLangSpace.xmlspace */ | 5883 /** @domName SVGLangSpace.xmlspace */ |
| 5881 String xmlspace; | 5884 String xmlspace; |
| 5882 | 5885 |
| 5883 // From SVGLocatable | 5886 // From SVGLocatable |
| 5884 | 5887 |
| 5885 /** @domName SVGLocatable.farthestViewportElement */ | 5888 /** @domName SVGLocatable.farthestViewportElement */ |
| 5886 final SVGElement farthestViewportElement; | 5889 final SvgElement farthestViewportElement; |
| 5887 | 5890 |
| 5888 /** @domName SVGLocatable.nearestViewportElement */ | 5891 /** @domName SVGLocatable.nearestViewportElement */ |
| 5889 final SVGElement nearestViewportElement; | 5892 final SvgElement nearestViewportElement; |
| 5890 | 5893 |
| 5891 /** @domName SVGLocatable.getBBox */ | 5894 /** @domName SVGLocatable.getBBox */ |
| 5892 SVGRect getBBox() native; | 5895 Rect getBBox() native; |
| 5893 | 5896 |
| 5894 /** @domName SVGLocatable.getCTM */ | 5897 /** @domName SVGLocatable.getCTM */ |
| 5895 SVGMatrix getCTM() native; | 5898 Matrix getCTM() native; |
| 5896 | 5899 |
| 5897 /** @domName SVGLocatable.getScreenCTM */ | 5900 /** @domName SVGLocatable.getScreenCTM */ |
| 5898 SVGMatrix getScreenCTM() native; | 5901 Matrix getScreenCTM() native; |
| 5899 | 5902 |
| 5900 /** @domName SVGLocatable.getTransformToElement */ | 5903 /** @domName SVGLocatable.getTransformToElement */ |
| 5901 SVGMatrix getTransformToElement(SVGElement element) native; | 5904 Matrix getTransformToElement(SvgElement element) native; |
| 5902 | 5905 |
| 5903 // From SVGStylable | 5906 // From SVGStylable |
| 5904 | 5907 |
| 5905 /** @domName SVGStylable.className */ | 5908 /** @domName SVGStylable.className */ |
| 5906 SVGAnimatedString get $dom_svgClassName => JS("SVGAnimatedString", "#.classNam
e", this); | 5909 AnimatedString get $dom_svgClassName => JS("AnimatedString", "#.className", th
is); |
| 5907 | 5910 |
| 5908 // Use implementation from Element. | 5911 // Use implementation from Element. |
| 5909 // final CSSStyleDeclaration style; | 5912 // final CSSStyleDeclaration style; |
| 5910 | 5913 |
| 5911 /** @domName SVGStylable.getPresentationAttribute */ | 5914 /** @domName SVGStylable.getPresentationAttribute */ |
| 5912 CSSValue getPresentationAttribute(String name) native; | 5915 CSSValue getPresentationAttribute(String name) native; |
| 5913 | 5916 |
| 5914 // From SVGTests | 5917 // From SVGTests |
| 5915 | 5918 |
| 5916 /** @domName SVGTests.requiredExtensions */ | 5919 /** @domName SVGTests.requiredExtensions */ |
| 5917 final SVGStringList requiredExtensions; | 5920 final StringList requiredExtensions; |
| 5918 | 5921 |
| 5919 /** @domName SVGTests.requiredFeatures */ | 5922 /** @domName SVGTests.requiredFeatures */ |
| 5920 final SVGStringList requiredFeatures; | 5923 final StringList requiredFeatures; |
| 5921 | 5924 |
| 5922 /** @domName SVGTests.systemLanguage */ | 5925 /** @domName SVGTests.systemLanguage */ |
| 5923 final SVGStringList systemLanguage; | 5926 final StringList systemLanguage; |
| 5924 | 5927 |
| 5925 /** @domName SVGTests.hasExtension */ | 5928 /** @domName SVGTests.hasExtension */ |
| 5926 bool hasExtension(String extension) native; | 5929 bool hasExtension(String extension) native; |
| 5927 | 5930 |
| 5928 // From SVGTransformable | 5931 // From SVGTransformable |
| 5929 | 5932 |
| 5930 /** @domName SVGTransformable.transform */ | 5933 /** @domName SVGTransformable.transform */ |
| 5931 final SVGAnimatedTransformList transform; | 5934 final AnimatedTransformList transform; |
| 5932 | 5935 |
| 5933 // From SVGURIReference | 5936 // From SVGURIReference |
| 5934 | 5937 |
| 5935 /** @domName SVGURIReference.href */ | 5938 /** @domName SVGURIReference.href */ |
| 5936 final SVGAnimatedString href; | 5939 final AnimatedString href; |
| 5937 } | 5940 } |
| 5938 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5941 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5939 // for details. All rights reserved. Use of this source code is governed by a | 5942 // for details. All rights reserved. Use of this source code is governed by a |
| 5940 // BSD-style license that can be found in the LICENSE file. | 5943 // BSD-style license that can be found in the LICENSE file. |
| 5941 | 5944 |
| 5942 | 5945 |
| 5943 /// @domName SVGVKernElement | 5946 /// @domName SVGVKernElement |
| 5944 class SVGVKernElement extends SVGElement native "*SVGVKernElement" { | 5947 class VKernElement extends SvgElement native "*SVGVKernElement" { |
| 5945 | 5948 |
| 5946 factory SVGVKernElement() => _SVGElementFactoryProvider.createSVGElement_tag("
vkern"); | 5949 factory VKernElement() => _SvgElementFactoryProvider.createSvgElement_tag("vke
rn"); |
| 5947 } | 5950 } |
| 5948 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5951 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5949 // for details. All rights reserved. Use of this source code is governed by a | 5952 // for details. All rights reserved. Use of this source code is governed by a |
| 5950 // BSD-style license that can be found in the LICENSE file. | 5953 // BSD-style license that can be found in the LICENSE file. |
| 5951 | 5954 |
| 5952 | 5955 |
| 5953 /// @domName SVGViewElement | 5956 /// @domName SVGViewElement |
| 5954 class SVGViewElement extends SVGElement implements SVGFitToViewBox, SVGZoomAndPa
n, SVGExternalResourcesRequired native "*SVGViewElement" { | 5957 class ViewElement extends SvgElement implements FitToViewBox, ExternalResourcesR
equired, ZoomAndPan native "*SVGViewElement" { |
| 5955 | 5958 |
| 5956 factory SVGViewElement() => _SVGElementFactoryProvider.createSVGElement_tag("v
iew"); | 5959 factory ViewElement() => _SvgElementFactoryProvider.createSvgElement_tag("view
"); |
| 5957 | 5960 |
| 5958 /** @domName SVGViewElement.viewTarget */ | 5961 /** @domName SVGViewElement.viewTarget */ |
| 5959 final SVGStringList viewTarget; | 5962 final StringList viewTarget; |
| 5960 | 5963 |
| 5961 // From SVGExternalResourcesRequired | 5964 // From SVGExternalResourcesRequired |
| 5962 | 5965 |
| 5963 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ | 5966 /** @domName SVGExternalResourcesRequired.externalResourcesRequired */ |
| 5964 final SVGAnimatedBoolean externalResourcesRequired; | 5967 final AnimatedBoolean externalResourcesRequired; |
| 5965 | 5968 |
| 5966 // From SVGFitToViewBox | 5969 // From SVGFitToViewBox |
| 5967 | 5970 |
| 5968 /** @domName SVGFitToViewBox.preserveAspectRatio */ | 5971 /** @domName SVGFitToViewBox.preserveAspectRatio */ |
| 5969 final SVGAnimatedPreserveAspectRatio preserveAspectRatio; | 5972 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 5970 | 5973 |
| 5971 /** @domName SVGFitToViewBox.viewBox */ | 5974 /** @domName SVGFitToViewBox.viewBox */ |
| 5972 final SVGAnimatedRect viewBox; | 5975 final AnimatedRect viewBox; |
| 5973 | 5976 |
| 5974 // From SVGZoomAndPan | 5977 // From SVGZoomAndPan |
| 5975 | 5978 |
| 5976 /** @domName SVGZoomAndPan.zoomAndPan */ | 5979 /** @domName SVGZoomAndPan.zoomAndPan */ |
| 5977 int zoomAndPan; | 5980 int zoomAndPan; |
| 5978 } | 5981 } |
| 5979 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 5982 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 5980 // for details. All rights reserved. Use of this source code is governed by a | 5983 // for details. All rights reserved. Use of this source code is governed by a |
| 5981 // BSD-style license that can be found in the LICENSE file. | 5984 // BSD-style license that can be found in the LICENSE file. |
| 5982 | 5985 |
| 5983 | 5986 |
| 5984 /// @domName SVGViewSpec | 5987 /// @domName SVGViewSpec |
| 5985 class SVGViewSpec native "*SVGViewSpec" { | 5988 class ViewSpec native "*SVGViewSpec" { |
| 5986 | 5989 |
| 5987 /** @domName SVGViewSpec.preserveAspectRatio */ | 5990 /** @domName SVGViewSpec.preserveAspectRatio */ |
| 5988 final SVGAnimatedPreserveAspectRatio preserveAspectRatio; | 5991 final AnimatedPreserveAspectRatio preserveAspectRatio; |
| 5989 | 5992 |
| 5990 /** @domName SVGViewSpec.preserveAspectRatioString */ | 5993 /** @domName SVGViewSpec.preserveAspectRatioString */ |
| 5991 final String preserveAspectRatioString; | 5994 final String preserveAspectRatioString; |
| 5992 | 5995 |
| 5993 /** @domName SVGViewSpec.transform */ | 5996 /** @domName SVGViewSpec.transform */ |
| 5994 final SVGTransformList transform; | 5997 final TransformList transform; |
| 5995 | 5998 |
| 5996 /** @domName SVGViewSpec.transformString */ | 5999 /** @domName SVGViewSpec.transformString */ |
| 5997 final String transformString; | 6000 final String transformString; |
| 5998 | 6001 |
| 5999 /** @domName SVGViewSpec.viewBox */ | 6002 /** @domName SVGViewSpec.viewBox */ |
| 6000 final SVGAnimatedRect viewBox; | 6003 final AnimatedRect viewBox; |
| 6001 | 6004 |
| 6002 /** @domName SVGViewSpec.viewBoxString */ | 6005 /** @domName SVGViewSpec.viewBoxString */ |
| 6003 final String viewBoxString; | 6006 final String viewBoxString; |
| 6004 | 6007 |
| 6005 /** @domName SVGViewSpec.viewTarget */ | 6008 /** @domName SVGViewSpec.viewTarget */ |
| 6006 final SVGElement viewTarget; | 6009 final SvgElement viewTarget; |
| 6007 | 6010 |
| 6008 /** @domName SVGViewSpec.viewTargetString */ | 6011 /** @domName SVGViewSpec.viewTargetString */ |
| 6009 final String viewTargetString; | 6012 final String viewTargetString; |
| 6010 | 6013 |
| 6011 /** @domName SVGViewSpec.zoomAndPan */ | 6014 /** @domName SVGViewSpec.zoomAndPan */ |
| 6012 int zoomAndPan; | 6015 int zoomAndPan; |
| 6013 } | 6016 } |
| 6014 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6017 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6015 // for details. All rights reserved. Use of this source code is governed by a | 6018 // for details. All rights reserved. Use of this source code is governed by a |
| 6016 // BSD-style license that can be found in the LICENSE file. | 6019 // BSD-style license that can be found in the LICENSE file. |
| 6017 | 6020 |
| 6018 | 6021 |
| 6019 /// @domName SVGZoomAndPan | 6022 /// @domName SVGZoomAndPan |
| 6020 abstract class SVGZoomAndPan { | 6023 abstract class ZoomAndPan { |
| 6021 | 6024 |
| 6022 static const int SVG_ZOOMANDPAN_DISABLE = 1; | 6025 static const int SVG_ZOOMANDPAN_DISABLE = 1; |
| 6023 | 6026 |
| 6024 static const int SVG_ZOOMANDPAN_MAGNIFY = 2; | 6027 static const int SVG_ZOOMANDPAN_MAGNIFY = 2; |
| 6025 | 6028 |
| 6026 static const int SVG_ZOOMANDPAN_UNKNOWN = 0; | 6029 static const int SVG_ZOOMANDPAN_UNKNOWN = 0; |
| 6027 | 6030 |
| 6028 int zoomAndPan; | 6031 int zoomAndPan; |
| 6029 } | 6032 } |
| 6030 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6033 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6031 // for details. All rights reserved. Use of this source code is governed by a | 6034 // for details. All rights reserved. Use of this source code is governed by a |
| 6032 // BSD-style license that can be found in the LICENSE file. | 6035 // BSD-style license that can be found in the LICENSE file. |
| 6033 | 6036 |
| 6034 | 6037 |
| 6035 /// @domName SVGZoomEvent | 6038 /// @domName SVGZoomEvent |
| 6036 class SVGZoomEvent extends UIEvent native "*SVGZoomEvent" { | 6039 class ZoomEvent extends UIEvent native "*SVGZoomEvent" { |
| 6037 | 6040 |
| 6038 /** @domName SVGZoomEvent.newScale */ | 6041 /** @domName SVGZoomEvent.newScale */ |
| 6039 final num newScale; | 6042 final num newScale; |
| 6040 | 6043 |
| 6041 /** @domName SVGZoomEvent.newTranslate */ | 6044 /** @domName SVGZoomEvent.newTranslate */ |
| 6042 final SVGPoint newTranslate; | 6045 final Point newTranslate; |
| 6043 | 6046 |
| 6044 /** @domName SVGZoomEvent.previousScale */ | 6047 /** @domName SVGZoomEvent.previousScale */ |
| 6045 final num previousScale; | 6048 final num previousScale; |
| 6046 | 6049 |
| 6047 /** @domName SVGZoomEvent.previousTranslate */ | 6050 /** @domName SVGZoomEvent.previousTranslate */ |
| 6048 final SVGPoint previousTranslate; | 6051 final Point previousTranslate; |
| 6049 | 6052 |
| 6050 /** @domName SVGZoomEvent.zoomRectScreen */ | 6053 /** @domName SVGZoomEvent.zoomRectScreen */ |
| 6051 final SVGRect zoomRectScreen; | 6054 final Rect zoomRectScreen; |
| 6052 } | 6055 } |
| 6053 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 6056 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 6054 // for details. All rights reserved. Use of this source code is governed by a | 6057 // for details. All rights reserved. Use of this source code is governed by a |
| 6055 // BSD-style license that can be found in the LICENSE file. | 6058 // BSD-style license that can be found in the LICENSE file. |
| 6056 | 6059 |
| 6057 | 6060 |
| 6058 /// @domName SVGElementInstanceList | 6061 /// @domName SVGElementInstanceList |
| 6059 class _SVGElementInstanceList implements JavaScriptIndexingBehavior, List<SVGEle
mentInstance> native "*SVGElementInstanceList" { | 6062 class _ElementInstanceList implements JavaScriptIndexingBehavior, List<ElementIn
stance> native "*SVGElementInstanceList" { |
| 6060 | 6063 |
| 6061 /** @domName SVGElementInstanceList.length */ | 6064 /** @domName SVGElementInstanceList.length */ |
| 6062 final int length; | 6065 final int length; |
| 6063 | 6066 |
| 6064 SVGElementInstance operator[](int index) => JS("SVGElementInstance", "#[#]", t
his, index); | 6067 ElementInstance operator[](int index) => JS("ElementInstance", "#[#]", this, i
ndex); |
| 6065 | 6068 |
| 6066 void operator[]=(int index, SVGElementInstance value) { | 6069 void operator[]=(int index, ElementInstance value) { |
| 6067 throw new UnsupportedError("Cannot assign element of immutable List."); | 6070 throw new UnsupportedError("Cannot assign element of immutable List."); |
| 6068 } | 6071 } |
| 6069 // -- start List<SVGElementInstance> mixins. | 6072 // -- start List<ElementInstance> mixins. |
| 6070 // SVGElementInstance is the element type. | 6073 // ElementInstance is the element type. |
| 6071 | 6074 |
| 6072 // From Iterable<SVGElementInstance>: | 6075 // From Iterable<ElementInstance>: |
| 6073 | 6076 |
| 6074 Iterator<SVGElementInstance> iterator() { | 6077 Iterator<ElementInstance> iterator() { |
| 6075 // Note: NodeLists are not fixed size. And most probably length shouldn't | 6078 // Note: NodeLists are not fixed size. And most probably length shouldn't |
| 6076 // be cached in both iterator _and_ forEach method. For now caching it | 6079 // be cached in both iterator _and_ forEach method. For now caching it |
| 6077 // for consistency. | 6080 // for consistency. |
| 6078 return new FixedSizeListIterator<SVGElementInstance>(this); | 6081 return new FixedSizeListIterator<ElementInstance>(this); |
| 6079 } | 6082 } |
| 6080 | 6083 |
| 6081 // From Collection<SVGElementInstance>: | 6084 // From Collection<ElementInstance>: |
| 6082 | 6085 |
| 6083 void add(SVGElementInstance value) { | 6086 void add(ElementInstance value) { |
| 6084 throw new UnsupportedError("Cannot add to immutable List."); | 6087 throw new UnsupportedError("Cannot add to immutable List."); |
| 6085 } | 6088 } |
| 6086 | 6089 |
| 6087 void addLast(SVGElementInstance value) { | 6090 void addLast(ElementInstance value) { |
| 6088 throw new UnsupportedError("Cannot add to immutable List."); | 6091 throw new UnsupportedError("Cannot add to immutable List."); |
| 6089 } | 6092 } |
| 6090 | 6093 |
| 6091 void addAll(Collection<SVGElementInstance> collection) { | 6094 void addAll(Collection<ElementInstance> collection) { |
| 6092 throw new UnsupportedError("Cannot add to immutable List."); | 6095 throw new UnsupportedError("Cannot add to immutable List."); |
| 6093 } | 6096 } |
| 6094 | 6097 |
| 6095 bool contains(SVGElementInstance element) => _Collections.contains(this, eleme
nt); | 6098 bool contains(ElementInstance element) => _Collections.contains(this, element)
; |
| 6096 | 6099 |
| 6097 void forEach(void f(SVGElementInstance element)) => _Collections.forEach(this,
f); | 6100 void forEach(void f(ElementInstance element)) => _Collections.forEach(this, f)
; |
| 6098 | 6101 |
| 6099 Collection map(f(SVGElementInstance element)) => _Collections.map(this, [], f)
; | 6102 Collection map(f(ElementInstance element)) => _Collections.map(this, [], f); |
| 6100 | 6103 |
| 6101 Collection<SVGElementInstance> filter(bool f(SVGElementInstance element)) => | 6104 Collection<ElementInstance> filter(bool f(ElementInstance element)) => |
| 6102 _Collections.filter(this, <SVGElementInstance>[], f); | 6105 _Collections.filter(this, <ElementInstance>[], f); |
| 6103 | 6106 |
| 6104 bool every(bool f(SVGElementInstance element)) => _Collections.every(this, f); | 6107 bool every(bool f(ElementInstance element)) => _Collections.every(this, f); |
| 6105 | 6108 |
| 6106 bool some(bool f(SVGElementInstance element)) => _Collections.some(this, f); | 6109 bool some(bool f(ElementInstance element)) => _Collections.some(this, f); |
| 6107 | 6110 |
| 6108 bool get isEmpty => this.length == 0; | 6111 bool get isEmpty => this.length == 0; |
| 6109 | 6112 |
| 6110 // From List<SVGElementInstance>: | 6113 // From List<ElementInstance>: |
| 6111 | 6114 |
| 6112 void sort([Comparator<SVGElementInstance> compare = Comparable.compare]) { | 6115 void sort([Comparator<ElementInstance> compare = Comparable.compare]) { |
| 6113 throw new UnsupportedError("Cannot sort immutable List."); | 6116 throw new UnsupportedError("Cannot sort immutable List."); |
| 6114 } | 6117 } |
| 6115 | 6118 |
| 6116 int indexOf(SVGElementInstance element, [int start = 0]) => | 6119 int indexOf(ElementInstance element, [int start = 0]) => |
| 6117 _Lists.indexOf(this, element, start, this.length); | 6120 _Lists.indexOf(this, element, start, this.length); |
| 6118 | 6121 |
| 6119 int lastIndexOf(SVGElementInstance element, [int start]) { | 6122 int lastIndexOf(ElementInstance element, [int start]) { |
| 6120 if (start == null) start = length - 1; | 6123 if (start == null) start = length - 1; |
| 6121 return _Lists.lastIndexOf(this, element, start); | 6124 return _Lists.lastIndexOf(this, element, start); |
| 6122 } | 6125 } |
| 6123 | 6126 |
| 6124 SVGElementInstance get first => this[0]; | 6127 ElementInstance get first => this[0]; |
| 6125 | 6128 |
| 6126 SVGElementInstance get last => this[length - 1]; | 6129 ElementInstance get last => this[length - 1]; |
| 6127 | 6130 |
| 6128 SVGElementInstance removeLast() { | 6131 ElementInstance removeLast() { |
| 6129 throw new UnsupportedError("Cannot removeLast on immutable List."); | 6132 throw new UnsupportedError("Cannot removeLast on immutable List."); |
| 6130 } | 6133 } |
| 6131 | 6134 |
| 6132 void setRange(int start, int rangeLength, List<SVGElementInstance> from, [int
startFrom]) { | 6135 void setRange(int start, int rangeLength, List<ElementInstance> from, [int sta
rtFrom]) { |
| 6133 throw new UnsupportedError("Cannot setRange on immutable List."); | 6136 throw new UnsupportedError("Cannot setRange on immutable List."); |
| 6134 } | 6137 } |
| 6135 | 6138 |
| 6136 void removeRange(int start, int rangeLength) { | 6139 void removeRange(int start, int rangeLength) { |
| 6137 throw new UnsupportedError("Cannot removeRange on immutable List."); | 6140 throw new UnsupportedError("Cannot removeRange on immutable List."); |
| 6138 } | 6141 } |
| 6139 | 6142 |
| 6140 void insertRange(int start, int rangeLength, [SVGElementInstance initialValue]
) { | 6143 void insertRange(int start, int rangeLength, [ElementInstance initialValue]) { |
| 6141 throw new UnsupportedError("Cannot insertRange on immutable List."); | 6144 throw new UnsupportedError("Cannot insertRange on immutable List."); |
| 6142 } | 6145 } |
| 6143 | 6146 |
| 6144 List<SVGElementInstance> getRange(int start, int rangeLength) => | 6147 List<ElementInstance> getRange(int start, int rangeLength) => |
| 6145 _Lists.getRange(this, start, rangeLength, <SVGElementInstance>[]); | 6148 _Lists.getRange(this, start, rangeLength, <ElementInstance>[]); |
| 6146 | 6149 |
| 6147 // -- end List<SVGElementInstance> mixins. | 6150 // -- end List<ElementInstance> mixins. |
| 6148 | 6151 |
| 6149 /** @domName SVGElementInstanceList.item */ | 6152 /** @domName SVGElementInstanceList.item */ |
| 6150 SVGElementInstance item(int index) native; | 6153 ElementInstance item(int index) native; |
| 6151 } | 6154 } |
| OLD | NEW |