OLD | NEW |
1 | 1 |
2 class SVGImageElement extends SVGElement native "*SVGImageElement" { | 2 class SVGImageElementJS extends SVGElementJS implements SVGImageElement native "
*SVGImageElement" { |
3 | 3 |
4 SVGAnimatedLength get height() native "return this.height;"; | 4 SVGAnimatedLengthJS get height() native "return this.height;"; |
5 | 5 |
6 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() native "return this.p
reserveAspectRatio;"; | 6 SVGAnimatedPreserveAspectRatioJS get preserveAspectRatio() native "return this
.preserveAspectRatio;"; |
7 | 7 |
8 SVGAnimatedLength get width() native "return this.width;"; | 8 SVGAnimatedLengthJS get width() native "return this.width;"; |
9 | 9 |
10 SVGAnimatedLength get x() native "return this.x;"; | 10 SVGAnimatedLengthJS get x() native "return this.x;"; |
11 | 11 |
12 SVGAnimatedLength get y() native "return this.y;"; | 12 SVGAnimatedLengthJS get y() native "return this.y;"; |
13 | 13 |
14 // From SVGURIReference | 14 // From SVGURIReference |
15 | 15 |
16 SVGAnimatedString get href() native "return this.href;"; | 16 SVGAnimatedStringJS get href() native "return this.href;"; |
17 | 17 |
18 // From SVGTests | 18 // From SVGTests |
19 | 19 |
20 SVGStringList get requiredExtensions() native "return this.requiredExtensions;
"; | 20 SVGStringListJS get requiredExtensions() native "return this.requiredExtension
s;"; |
21 | 21 |
22 SVGStringList get requiredFeatures() native "return this.requiredFeatures;"; | 22 SVGStringListJS get requiredFeatures() native "return this.requiredFeatures;"; |
23 | 23 |
24 SVGStringList get systemLanguage() native "return this.systemLanguage;"; | 24 SVGStringListJS get systemLanguage() native "return this.systemLanguage;"; |
25 | 25 |
26 bool hasExtension(String extension) native; | 26 bool hasExtension(String extension) native; |
27 | 27 |
28 // From SVGLangSpace | 28 // From SVGLangSpace |
29 | 29 |
30 String get xmllang() native "return this.xmllang;"; | 30 String get xmllang() native "return this.xmllang;"; |
31 | 31 |
32 void set xmllang(String value) native "this.xmllang = value;"; | 32 void set xmllang(String value) native "this.xmllang = value;"; |
33 | 33 |
34 String get xmlspace() native "return this.xmlspace;"; | 34 String get xmlspace() native "return this.xmlspace;"; |
35 | 35 |
36 void set xmlspace(String value) native "this.xmlspace = value;"; | 36 void set xmlspace(String value) native "this.xmlspace = value;"; |
37 | 37 |
38 // From SVGExternalResourcesRequired | 38 // From SVGExternalResourcesRequired |
39 | 39 |
40 SVGAnimatedBoolean get externalResourcesRequired() native "return this.externa
lResourcesRequired;"; | 40 SVGAnimatedBooleanJS get externalResourcesRequired() native "return this.exter
nalResourcesRequired;"; |
41 | 41 |
42 // From SVGStylable | 42 // From SVGStylable |
43 | 43 |
44 SVGAnimatedString get className() native "return this.className;"; | 44 SVGAnimatedStringJS get className() native "return this.className;"; |
45 | 45 |
46 CSSStyleDeclaration get style() native "return this.style;"; | 46 CSSStyleDeclarationJS get style() native "return this.style;"; |
47 | 47 |
48 CSSValue getPresentationAttribute(String name) native; | 48 CSSValueJS getPresentationAttribute(String name) native; |
49 | 49 |
50 // From SVGTransformable | 50 // From SVGTransformable |
51 | 51 |
52 SVGAnimatedTransformList get transform() native "return this.transform;"; | 52 SVGAnimatedTransformListJS get transform() native "return this.transform;"; |
53 | 53 |
54 // From SVGLocatable | 54 // From SVGLocatable |
55 | 55 |
56 SVGElement get farthestViewportElement() native "return this.farthestViewportE
lement;"; | 56 SVGElementJS get farthestViewportElement() native "return this.farthestViewpor
tElement;"; |
57 | 57 |
58 SVGElement get nearestViewportElement() native "return this.nearestViewportEle
ment;"; | 58 SVGElementJS get nearestViewportElement() native "return this.nearestViewportE
lement;"; |
59 | 59 |
60 SVGRect getBBox() native; | 60 SVGRectJS getBBox() native; |
61 | 61 |
62 SVGMatrix getCTM() native; | 62 SVGMatrixJS getCTM() native; |
63 | 63 |
64 SVGMatrix getScreenCTM() native; | 64 SVGMatrixJS getScreenCTM() native; |
65 | 65 |
66 SVGMatrix getTransformToElement(SVGElement element) native; | 66 SVGMatrixJS getTransformToElement(SVGElementJS element) native; |
67 } | 67 } |
OLD | NEW |