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 SVGUseElementWrappingImplementation extends SVGElementWrappingImplementati
on implements SVGUseElement { | |
8 SVGUseElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 | |
10 SVGElementInstance get animatedInstanceRoot() { return LevelDom.wrapSVGElement
Instance(_ptr.animatedInstanceRoot); } | |
11 | |
12 SVGAnimatedLength get height() { return LevelDom.wrapSVGAnimatedLength(_ptr.he
ight); } | |
13 | |
14 SVGElementInstance get instanceRoot() { return LevelDom.wrapSVGElementInstance
(_ptr.instanceRoot); } | |
15 | |
16 SVGAnimatedLength get width() { return LevelDom.wrapSVGAnimatedLength(_ptr.wid
th); } | |
17 | |
18 SVGAnimatedLength get x() { return LevelDom.wrapSVGAnimatedLength(_ptr.x); } | |
19 | |
20 SVGAnimatedLength get y() { return LevelDom.wrapSVGAnimatedLength(_ptr.y); } | |
21 | |
22 // From SVGURIReference | |
23 | |
24 SVGAnimatedString get href() { return LevelDom.wrapSVGAnimatedString(_ptr.href
); } | |
25 | |
26 // From SVGTests | |
27 | |
28 SVGStringList get requiredExtensions() { return LevelDom.wrapSVGStringList(_pt
r.requiredExtensions); } | |
29 | |
30 SVGStringList get requiredFeatures() { return LevelDom.wrapSVGStringList(_ptr.
requiredFeatures); } | |
31 | |
32 SVGStringList get systemLanguage() { return LevelDom.wrapSVGStringList(_ptr.sy
stemLanguage); } | |
33 | |
34 bool hasExtension(String extension) { | |
35 return _ptr.hasExtension(extension); | |
36 } | |
37 | |
38 // From SVGLangSpace | |
39 | |
40 String get xmllang() { return _ptr.xmllang; } | |
41 | |
42 void set xmllang(String value) { _ptr.xmllang = value; } | |
43 | |
44 String get xmlspace() { return _ptr.xmlspace; } | |
45 | |
46 void set xmlspace(String value) { _ptr.xmlspace = value; } | |
47 | |
48 // From SVGExternalResourcesRequired | |
49 | |
50 SVGAnimatedBoolean get externalResourcesRequired() { return LevelDom.wrapSVGAn
imatedBoolean(_ptr.externalResourcesRequired); } | |
51 | |
52 // From SVGStylable | |
53 | |
54 SVGAnimatedString get className() { return LevelDom.wrapSVGAnimatedString(_ptr
.className); } | |
55 | |
56 CSSStyleDeclaration get style() { return LevelDom.wrapCSSStyleDeclaration(_ptr
.style); } | |
57 | |
58 CSSValue getPresentationAttribute(String name) { | |
59 return LevelDom.wrapCSSValue(_ptr.getPresentationAttribute(name)); | |
60 } | |
61 | |
62 // From SVGTransformable | |
63 | |
64 SVGAnimatedTransformList get transform() { return LevelDom.wrapSVGAnimatedTran
sformList(_ptr.transform); } | |
65 | |
66 // From SVGLocatable | |
67 | |
68 SVGElement get farthestViewportElement() { return LevelDom.wrapSVGElement(_ptr
.farthestViewportElement); } | |
69 | |
70 SVGElement get nearestViewportElement() { return LevelDom.wrapSVGElement(_ptr.
nearestViewportElement); } | |
71 | |
72 SVGRect getBBox() { | |
73 return LevelDom.wrapSVGRect(_ptr.getBBox()); | |
74 } | |
75 | |
76 SVGMatrix getCTM() { | |
77 return LevelDom.wrapSVGMatrix(_ptr.getCTM()); | |
78 } | |
79 | |
80 SVGMatrix getScreenCTM() { | |
81 return LevelDom.wrapSVGMatrix(_ptr.getScreenCTM()); | |
82 } | |
83 | |
84 SVGMatrix getTransformToElement(SVGElement element) { | |
85 return LevelDom.wrapSVGMatrix(_ptr.getTransformToElement(LevelDom.unwrap(ele
ment))); | |
86 } | |
87 } | |
OLD | NEW |