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