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 SVGPathElementWrappingImplementation extends SVGElementWrappingImplementat
ion implements SVGPathElement { | |
8 SVGPathElementWrappingImplementation._wrap(ptr) : super._wrap(ptr) {} | |
9 | |
10 SVGPathSegList get animatedNormalizedPathSegList() { return LevelDom.wrapSVGPa
thSegList(_ptr.animatedNormalizedPathSegList); } | |
11 | |
12 SVGPathSegList get animatedPathSegList() { return LevelDom.wrapSVGPathSegList(
_ptr.animatedPathSegList); } | |
13 | |
14 SVGPathSegList get normalizedPathSegList() { return LevelDom.wrapSVGPathSegLis
t(_ptr.normalizedPathSegList); } | |
15 | |
16 SVGAnimatedNumber get pathLength() { return LevelDom.wrapSVGAnimatedNumber(_pt
r.pathLength); } | |
17 | |
18 SVGPathSegList get pathSegList() { return LevelDom.wrapSVGPathSegList(_ptr.pat
hSegList); } | |
19 | |
20 SVGPathSegArcAbs createSVGPathSegArcAbs(num x, num y, num r1, num r2, num angl
e, bool largeArcFlag, bool sweepFlag) { | |
21 return LevelDom.wrapSVGPathSegArcAbs(_ptr.createSVGPathSegArcAbs(x, y, r1, r
2, angle, largeArcFlag, sweepFlag)); | |
22 } | |
23 | |
24 SVGPathSegArcRel createSVGPathSegArcRel(num x, num y, num r1, num r2, num angl
e, bool largeArcFlag, bool sweepFlag) { | |
25 return LevelDom.wrapSVGPathSegArcRel(_ptr.createSVGPathSegArcRel(x, y, r1, r
2, angle, largeArcFlag, sweepFlag)); | |
26 } | |
27 | |
28 SVGPathSegClosePath createSVGPathSegClosePath() { | |
29 return LevelDom.wrapSVGPathSegClosePath(_ptr.createSVGPathSegClosePath()); | |
30 } | |
31 | |
32 SVGPathSegCurvetoCubicAbs createSVGPathSegCurvetoCubicAbs(num x, num y, num x1
, num y1, num x2, num y2) { | |
33 return LevelDom.wrapSVGPathSegCurvetoCubicAbs(_ptr.createSVGPathSegCurvetoCu
bicAbs(x, y, x1, y1, x2, y2)); | |
34 } | |
35 | |
36 SVGPathSegCurvetoCubicRel createSVGPathSegCurvetoCubicRel(num x, num y, num x1
, num y1, num x2, num y2) { | |
37 return LevelDom.wrapSVGPathSegCurvetoCubicRel(_ptr.createSVGPathSegCurvetoCu
bicRel(x, y, x1, y1, x2, y2)); | |
38 } | |
39 | |
40 SVGPathSegCurvetoCubicSmoothAbs createSVGPathSegCurvetoCubicSmoothAbs(num x, n
um y, num x2, num y2) { | |
41 return LevelDom.wrapSVGPathSegCurvetoCubicSmoothAbs(_ptr.createSVGPathSegCur
vetoCubicSmoothAbs(x, y, x2, y2)); | |
42 } | |
43 | |
44 SVGPathSegCurvetoCubicSmoothRel createSVGPathSegCurvetoCubicSmoothRel(num x, n
um y, num x2, num y2) { | |
45 return LevelDom.wrapSVGPathSegCurvetoCubicSmoothRel(_ptr.createSVGPathSegCur
vetoCubicSmoothRel(x, y, x2, y2)); | |
46 } | |
47 | |
48 SVGPathSegCurvetoQuadraticAbs createSVGPathSegCurvetoQuadraticAbs(num x, num y
, num x1, num y1) { | |
49 return LevelDom.wrapSVGPathSegCurvetoQuadraticAbs(_ptr.createSVGPathSegCurve
toQuadraticAbs(x, y, x1, y1)); | |
50 } | |
51 | |
52 SVGPathSegCurvetoQuadraticRel createSVGPathSegCurvetoQuadraticRel(num x, num y
, num x1, num y1) { | |
53 return LevelDom.wrapSVGPathSegCurvetoQuadraticRel(_ptr.createSVGPathSegCurve
toQuadraticRel(x, y, x1, y1)); | |
54 } | |
55 | |
56 SVGPathSegCurvetoQuadraticSmoothAbs createSVGPathSegCurvetoQuadraticSmoothAbs(
num x, num y) { | |
57 return LevelDom.wrapSVGPathSegCurvetoQuadraticSmoothAbs(_ptr.createSVGPathSe
gCurvetoQuadraticSmoothAbs(x, y)); | |
58 } | |
59 | |
60 SVGPathSegCurvetoQuadraticSmoothRel createSVGPathSegCurvetoQuadraticSmoothRel(
num x, num y) { | |
61 return LevelDom.wrapSVGPathSegCurvetoQuadraticSmoothRel(_ptr.createSVGPathSe
gCurvetoQuadraticSmoothRel(x, y)); | |
62 } | |
63 | |
64 SVGPathSegLinetoAbs createSVGPathSegLinetoAbs(num x, num y) { | |
65 return LevelDom.wrapSVGPathSegLinetoAbs(_ptr.createSVGPathSegLinetoAbs(x, y)
); | |
66 } | |
67 | |
68 SVGPathSegLinetoHorizontalAbs createSVGPathSegLinetoHorizontalAbs(num x) { | |
69 return LevelDom.wrapSVGPathSegLinetoHorizontalAbs(_ptr.createSVGPathSegLinet
oHorizontalAbs(x)); | |
70 } | |
71 | |
72 SVGPathSegLinetoHorizontalRel createSVGPathSegLinetoHorizontalRel(num x) { | |
73 return LevelDom.wrapSVGPathSegLinetoHorizontalRel(_ptr.createSVGPathSegLinet
oHorizontalRel(x)); | |
74 } | |
75 | |
76 SVGPathSegLinetoRel createSVGPathSegLinetoRel(num x, num y) { | |
77 return LevelDom.wrapSVGPathSegLinetoRel(_ptr.createSVGPathSegLinetoRel(x, y)
); | |
78 } | |
79 | |
80 SVGPathSegLinetoVerticalAbs createSVGPathSegLinetoVerticalAbs(num y) { | |
81 return LevelDom.wrapSVGPathSegLinetoVerticalAbs(_ptr.createSVGPathSegLinetoV
erticalAbs(y)); | |
82 } | |
83 | |
84 SVGPathSegLinetoVerticalRel createSVGPathSegLinetoVerticalRel(num y) { | |
85 return LevelDom.wrapSVGPathSegLinetoVerticalRel(_ptr.createSVGPathSegLinetoV
erticalRel(y)); | |
86 } | |
87 | |
88 SVGPathSegMovetoAbs createSVGPathSegMovetoAbs(num x, num y) { | |
89 return LevelDom.wrapSVGPathSegMovetoAbs(_ptr.createSVGPathSegMovetoAbs(x, y)
); | |
90 } | |
91 | |
92 SVGPathSegMovetoRel createSVGPathSegMovetoRel(num x, num y) { | |
93 return LevelDom.wrapSVGPathSegMovetoRel(_ptr.createSVGPathSegMovetoRel(x, y)
); | |
94 } | |
95 | |
96 int getPathSegAtLength(num distance) { | |
97 return _ptr.getPathSegAtLength(distance); | |
98 } | |
99 | |
100 SVGPoint getPointAtLength(num distance) { | |
101 return LevelDom.wrapSVGPoint(_ptr.getPointAtLength(distance)); | |
102 } | |
103 | |
104 num getTotalLength() { | |
105 return _ptr.getTotalLength(); | |
106 } | |
107 | |
108 // From SVGTests | |
109 | |
110 SVGStringList get requiredExtensions() { return LevelDom.wrapSVGStringList(_pt
r.requiredExtensions); } | |
111 | |
112 SVGStringList get requiredFeatures() { return LevelDom.wrapSVGStringList(_ptr.
requiredFeatures); } | |
113 | |
114 SVGStringList get systemLanguage() { return LevelDom.wrapSVGStringList(_ptr.sy
stemLanguage); } | |
115 | |
116 bool hasExtension(String extension) { | |
117 return _ptr.hasExtension(extension); | |
118 } | |
119 | |
120 // From SVGLangSpace | |
121 | |
122 String get xmllang() { return _ptr.xmllang; } | |
123 | |
124 void set xmllang(String value) { _ptr.xmllang = value; } | |
125 | |
126 String get xmlspace() { return _ptr.xmlspace; } | |
127 | |
128 void set xmlspace(String value) { _ptr.xmlspace = value; } | |
129 | |
130 // From SVGExternalResourcesRequired | |
131 | |
132 SVGAnimatedBoolean get externalResourcesRequired() { return LevelDom.wrapSVGAn
imatedBoolean(_ptr.externalResourcesRequired); } | |
133 | |
134 // From SVGStylable | |
135 | |
136 SVGAnimatedString get className() { return LevelDom.wrapSVGAnimatedString(_ptr
.className); } | |
137 | |
138 CSSStyleDeclaration get style() { return LevelDom.wrapCSSStyleDeclaration(_ptr
.style); } | |
139 | |
140 CSSValue getPresentationAttribute(String name) { | |
141 return LevelDom.wrapCSSValue(_ptr.getPresentationAttribute(name)); | |
142 } | |
143 | |
144 // From SVGTransformable | |
145 | |
146 SVGAnimatedTransformList get transform() { return LevelDom.wrapSVGAnimatedTran
sformList(_ptr.transform); } | |
147 | |
148 // From SVGLocatable | |
149 | |
150 SVGElement get farthestViewportElement() { return LevelDom.wrapSVGElement(_ptr
.farthestViewportElement); } | |
151 | |
152 SVGElement get nearestViewportElement() { return LevelDom.wrapSVGElement(_ptr.
nearestViewportElement); } | |
153 | |
154 SVGRect getBBox() { | |
155 return LevelDom.wrapSVGRect(_ptr.getBBox()); | |
156 } | |
157 | |
158 SVGMatrix getCTM() { | |
159 return LevelDom.wrapSVGMatrix(_ptr.getCTM()); | |
160 } | |
161 | |
162 SVGMatrix getScreenCTM() { | |
163 return LevelDom.wrapSVGMatrix(_ptr.getScreenCTM()); | |
164 } | |
165 | |
166 SVGMatrix getTransformToElement(SVGElement element) { | |
167 return LevelDom.wrapSVGMatrix(_ptr.getTransformToElement(LevelDom.unwrap(ele
ment))); | |
168 } | |
169 } | |
OLD | NEW |