OLD | NEW |
| (Empty) |
1 // Copyright (c) 2011, the Dart project authors. Please see the AUTHORS file | |
2 // for details. All rights reserved. Use of this source code is governed by a | |
3 // BSD-style license that can be found in the LICENSE file. | |
4 | |
5 // WARNING: Do not edit - generated code. | |
6 | |
7 class SVGImageElementWrappingImplementation extends SVGElementWrappingImplementa
tion implements SVGImageElement { | |
8 SVGImageElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 | |
10 SVGAnimatedLength get height() { return LevelDom.wrapSVGAnimatedLength(_ptr.he
ight); } | |
11 | |
12 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() { return LevelDom.wra
pSVGAnimatedPreserveAspectRatio(_ptr.preserveAspectRatio); } | |
13 | |
14 SVGAnimatedLength get width() { return LevelDom.wrapSVGAnimatedLength(_ptr.wid
th); } | |
15 | |
16 SVGAnimatedLength get x() { return LevelDom.wrapSVGAnimatedLength(_ptr.x); } | |
17 | |
18 SVGAnimatedLength get y() { return LevelDom.wrapSVGAnimatedLength(_ptr.y); } | |
19 | |
20 // From SVGURIReference | |
21 | |
22 SVGAnimatedString get href() { return LevelDom.wrapSVGAnimatedString(_ptr.href
); } | |
23 | |
24 // From SVGTests | |
25 | |
26 SVGStringList get requiredExtensions() { return LevelDom.wrapSVGStringList(_pt
r.requiredExtensions); } | |
27 | |
28 SVGStringList get requiredFeatures() { return LevelDom.wrapSVGStringList(_ptr.
requiredFeatures); } | |
29 | |
30 SVGStringList get systemLanguage() { return LevelDom.wrapSVGStringList(_ptr.sy
stemLanguage); } | |
31 | |
32 bool hasExtension(String extension) { | |
33 return _ptr.hasExtension(extension); | |
34 } | |
35 | |
36 // From SVGLangSpace | |
37 | |
38 String get xmllang() { return _ptr.xmllang; } | |
39 | |
40 void set xmllang(String value) { _ptr.xmllang = value; } | |
41 | |
42 String get xmlspace() { return _ptr.xmlspace; } | |
43 | |
44 void set xmlspace(String value) { _ptr.xmlspace = value; } | |
45 | |
46 // From SVGExternalResourcesRequired | |
47 | |
48 SVGAnimatedBoolean get externalResourcesRequired() { return LevelDom.wrapSVGAn
imatedBoolean(_ptr.externalResourcesRequired); } | |
49 | |
50 // From SVGStylable | |
51 | |
52 SVGAnimatedString get className() { return LevelDom.wrapSVGAnimatedString(_ptr
.className); } | |
53 | |
54 CSSStyleDeclaration get style() { return LevelDom.wrapCSSStyleDeclaration(_ptr
.style); } | |
55 | |
56 CSSValue getPresentationAttribute(String name) { | |
57 return LevelDom.wrapCSSValue(_ptr.getPresentationAttribute(name)); | |
58 } | |
59 | |
60 // From SVGTransformable | |
61 | |
62 SVGAnimatedTransformList get transform() { return LevelDom.wrapSVGAnimatedTran
sformList(_ptr.transform); } | |
63 | |
64 // From SVGLocatable | |
65 | |
66 SVGElement get farthestViewportElement() { return LevelDom.wrapSVGElement(_ptr
.farthestViewportElement); } | |
67 | |
68 SVGElement get nearestViewportElement() { return LevelDom.wrapSVGElement(_ptr.
nearestViewportElement); } | |
69 | |
70 SVGRect getBBox() { | |
71 return LevelDom.wrapSVGRect(_ptr.getBBox()); | |
72 } | |
73 | |
74 SVGMatrix getCTM() { | |
75 return LevelDom.wrapSVGMatrix(_ptr.getCTM()); | |
76 } | |
77 | |
78 SVGMatrix getScreenCTM() { | |
79 return LevelDom.wrapSVGMatrix(_ptr.getScreenCTM()); | |
80 } | |
81 | |
82 SVGMatrix getTransformToElement(SVGElement element) { | |
83 return LevelDom.wrapSVGMatrix(_ptr.getTransformToElement(LevelDom.unwrap(ele
ment))); | |
84 } | |
85 } | |
OLD | NEW |