OLD | NEW |
1 | 1 |
2 class SVGSVGElementJs extends SVGElementJs implements SVGSVGElement native "*SVG
SVGElement" { | 2 class _SVGSVGElementJs extends _SVGElementJs implements SVGSVGElement native "*S
VGSVGElement" { |
3 | 3 |
4 String get contentScriptType() native "return this.contentScriptType;"; | 4 String get contentScriptType() native "return this.contentScriptType;"; |
5 | 5 |
6 void set contentScriptType(String value) native "this.contentScriptType = valu
e;"; | 6 void set contentScriptType(String value) native "this.contentScriptType = valu
e;"; |
7 | 7 |
8 String get contentStyleType() native "return this.contentStyleType;"; | 8 String get contentStyleType() native "return this.contentStyleType;"; |
9 | 9 |
10 void set contentStyleType(String value) native "this.contentStyleType = value;
"; | 10 void set contentStyleType(String value) native "this.contentStyleType = value;
"; |
11 | 11 |
12 num get currentScale() native "return this.currentScale;"; | 12 num get currentScale() native "return this.currentScale;"; |
13 | 13 |
14 void set currentScale(num value) native "this.currentScale = value;"; | 14 void set currentScale(num value) native "this.currentScale = value;"; |
15 | 15 |
16 SVGPointJs get currentTranslate() native "return this.currentTranslate;"; | 16 _SVGPointJs get currentTranslate() native "return this.currentTranslate;"; |
17 | 17 |
18 SVGAnimatedLengthJs get height() native "return this.height;"; | 18 _SVGAnimatedLengthJs get height() native "return this.height;"; |
19 | 19 |
20 num get pixelUnitToMillimeterX() native "return this.pixelUnitToMillimeterX;"; | 20 num get pixelUnitToMillimeterX() native "return this.pixelUnitToMillimeterX;"; |
21 | 21 |
22 num get pixelUnitToMillimeterY() native "return this.pixelUnitToMillimeterY;"; | 22 num get pixelUnitToMillimeterY() native "return this.pixelUnitToMillimeterY;"; |
23 | 23 |
24 num get screenPixelToMillimeterX() native "return this.screenPixelToMillimeter
X;"; | 24 num get screenPixelToMillimeterX() native "return this.screenPixelToMillimeter
X;"; |
25 | 25 |
26 num get screenPixelToMillimeterY() native "return this.screenPixelToMillimeter
Y;"; | 26 num get screenPixelToMillimeterY() native "return this.screenPixelToMillimeter
Y;"; |
27 | 27 |
28 bool get useCurrentView() native "return this.useCurrentView;"; | 28 bool get useCurrentView() native "return this.useCurrentView;"; |
29 | 29 |
30 void set useCurrentView(bool value) native "this.useCurrentView = value;"; | 30 void set useCurrentView(bool value) native "this.useCurrentView = value;"; |
31 | 31 |
32 SVGRectJs get viewport() native "return this.viewport;"; | 32 _SVGRectJs get viewport() native "return this.viewport;"; |
33 | 33 |
34 SVGAnimatedLengthJs get width() native "return this.width;"; | 34 _SVGAnimatedLengthJs get width() native "return this.width;"; |
35 | 35 |
36 SVGAnimatedLengthJs get x() native "return this.x;"; | 36 _SVGAnimatedLengthJs get x() native "return this.x;"; |
37 | 37 |
38 SVGAnimatedLengthJs get y() native "return this.y;"; | 38 _SVGAnimatedLengthJs get y() native "return this.y;"; |
39 | 39 |
40 bool animationsPaused() native; | 40 bool animationsPaused() native; |
41 | 41 |
42 bool checkEnclosure(SVGElementJs element, SVGRectJs rect) native; | 42 bool checkEnclosure(_SVGElementJs element, _SVGRectJs rect) native; |
43 | 43 |
44 bool checkIntersection(SVGElementJs element, SVGRectJs rect) native; | 44 bool checkIntersection(_SVGElementJs element, _SVGRectJs rect) native; |
45 | 45 |
46 SVGAngleJs createSVGAngle() native; | 46 _SVGAngleJs createSVGAngle() native; |
47 | 47 |
48 SVGLengthJs createSVGLength() native; | 48 _SVGLengthJs createSVGLength() native; |
49 | 49 |
50 SVGMatrixJs createSVGMatrix() native; | 50 _SVGMatrixJs createSVGMatrix() native; |
51 | 51 |
52 SVGNumberJs createSVGNumber() native; | 52 _SVGNumberJs createSVGNumber() native; |
53 | 53 |
54 SVGPointJs createSVGPoint() native; | 54 _SVGPointJs createSVGPoint() native; |
55 | 55 |
56 SVGRectJs createSVGRect() native; | 56 _SVGRectJs createSVGRect() native; |
57 | 57 |
58 SVGTransformJs createSVGTransform() native; | 58 _SVGTransformJs createSVGTransform() native; |
59 | 59 |
60 SVGTransformJs createSVGTransformFromMatrix(SVGMatrixJs matrix) native; | 60 _SVGTransformJs createSVGTransformFromMatrix(_SVGMatrixJs matrix) native; |
61 | 61 |
62 void deselectAll() native; | 62 void deselectAll() native; |
63 | 63 |
64 void forceRedraw() native; | 64 void forceRedraw() native; |
65 | 65 |
66 num getCurrentTime() native; | 66 num getCurrentTime() native; |
67 | 67 |
68 ElementJs getElementById(String elementId) native; | 68 _ElementJs getElementById(String elementId) native; |
69 | 69 |
70 NodeListJs getEnclosureList(SVGRectJs rect, SVGElementJs referenceElement) nat
ive; | 70 _NodeListJs getEnclosureList(_SVGRectJs rect, _SVGElementJs referenceElement)
native; |
71 | 71 |
72 NodeListJs getIntersectionList(SVGRectJs rect, SVGElementJs referenceElement)
native; | 72 _NodeListJs getIntersectionList(_SVGRectJs rect, _SVGElementJs referenceElemen
t) native; |
73 | 73 |
74 void pauseAnimations() native; | 74 void pauseAnimations() native; |
75 | 75 |
76 void setCurrentTime(num seconds) native; | 76 void setCurrentTime(num seconds) native; |
77 | 77 |
78 int suspendRedraw(int maxWaitMilliseconds) native; | 78 int suspendRedraw(int maxWaitMilliseconds) native; |
79 | 79 |
80 void unpauseAnimations() native; | 80 void unpauseAnimations() native; |
81 | 81 |
82 void unsuspendRedraw(int suspendHandleId) native; | 82 void unsuspendRedraw(int suspendHandleId) native; |
83 | 83 |
84 void unsuspendRedrawAll() native; | 84 void unsuspendRedrawAll() native; |
85 | 85 |
86 // From SVGTests | 86 // From SVGTests |
87 | 87 |
88 SVGStringListJs get requiredExtensions() native "return this.requiredExtension
s;"; | 88 _SVGStringListJs get requiredExtensions() native "return this.requiredExtensio
ns;"; |
89 | 89 |
90 SVGStringListJs get requiredFeatures() native "return this.requiredFeatures;"; | 90 _SVGStringListJs get requiredFeatures() native "return this.requiredFeatures;"
; |
91 | 91 |
92 SVGStringListJs get systemLanguage() native "return this.systemLanguage;"; | 92 _SVGStringListJs get systemLanguage() native "return this.systemLanguage;"; |
93 | 93 |
94 bool hasExtension(String extension) native; | 94 bool hasExtension(String extension) native; |
95 | 95 |
96 // From SVGLangSpace | 96 // From SVGLangSpace |
97 | 97 |
98 String get xmllang() native "return this.xmllang;"; | 98 String get xmllang() native "return this.xmllang;"; |
99 | 99 |
100 void set xmllang(String value) native "this.xmllang = value;"; | 100 void set xmllang(String value) native "this.xmllang = value;"; |
101 | 101 |
102 String get xmlspace() native "return this.xmlspace;"; | 102 String get xmlspace() native "return this.xmlspace;"; |
103 | 103 |
104 void set xmlspace(String value) native "this.xmlspace = value;"; | 104 void set xmlspace(String value) native "this.xmlspace = value;"; |
105 | 105 |
106 // From SVGExternalResourcesRequired | 106 // From SVGExternalResourcesRequired |
107 | 107 |
108 SVGAnimatedBooleanJs get externalResourcesRequired() native "return this.exter
nalResourcesRequired;"; | 108 _SVGAnimatedBooleanJs get externalResourcesRequired() native "return this.exte
rnalResourcesRequired;"; |
109 | 109 |
110 // From SVGStylable | 110 // From SVGStylable |
111 | 111 |
112 SVGAnimatedStringJs get className() native "return this.className;"; | 112 _SVGAnimatedStringJs get className() native "return this.className;"; |
113 | 113 |
114 CSSStyleDeclarationJs get style() native "return this.style;"; | 114 _CSSStyleDeclarationJs get style() native "return this.style;"; |
115 | 115 |
116 CSSValueJs getPresentationAttribute(String name) native; | 116 _CSSValueJs getPresentationAttribute(String name) native; |
117 | 117 |
118 // From SVGLocatable | 118 // From SVGLocatable |
119 | 119 |
120 SVGElementJs get farthestViewportElement() native "return this.farthestViewpor
tElement;"; | 120 _SVGElementJs get farthestViewportElement() native "return this.farthestViewpo
rtElement;"; |
121 | 121 |
122 SVGElementJs get nearestViewportElement() native "return this.nearestViewportE
lement;"; | 122 _SVGElementJs get nearestViewportElement() native "return this.nearestViewport
Element;"; |
123 | 123 |
124 SVGRectJs getBBox() native; | 124 _SVGRectJs getBBox() native; |
125 | 125 |
126 SVGMatrixJs getCTM() native; | 126 _SVGMatrixJs getCTM() native; |
127 | 127 |
128 SVGMatrixJs getScreenCTM() native; | 128 _SVGMatrixJs getScreenCTM() native; |
129 | 129 |
130 SVGMatrixJs getTransformToElement(SVGElementJs element) native; | 130 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
131 | 131 |
132 // From SVGFitToViewBox | 132 // From SVGFitToViewBox |
133 | 133 |
134 SVGAnimatedPreserveAspectRatioJs get preserveAspectRatio() native "return this
.preserveAspectRatio;"; | 134 _SVGAnimatedPreserveAspectRatioJs get preserveAspectRatio() native "return thi
s.preserveAspectRatio;"; |
135 | 135 |
136 SVGAnimatedRectJs get viewBox() native "return this.viewBox;"; | 136 _SVGAnimatedRectJs get viewBox() native "return this.viewBox;"; |
137 | 137 |
138 // From SVGZoomAndPan | 138 // From SVGZoomAndPan |
139 | 139 |
140 int get zoomAndPan() native "return this.zoomAndPan;"; | 140 int get zoomAndPan() native "return this.zoomAndPan;"; |
141 | 141 |
142 void set zoomAndPan(int value) native "this.zoomAndPan = value;"; | 142 void set zoomAndPan(int value) native "this.zoomAndPan = value;"; |
143 } | 143 } |
OLD | NEW |