OLD | NEW |
(Empty) | |
| 1 |
| 2 class _SVGSVGElementImpl extends _SVGElementImpl implements SVGSVGElement { |
| 3 _SVGSVGElementImpl._wrap(ptr) : super._wrap(ptr); |
| 4 |
| 5 String get contentScriptType() => _wrap(_ptr.contentScriptType); |
| 6 |
| 7 void set contentScriptType(String value) { _ptr.contentScriptType = _unwrap(va
lue); } |
| 8 |
| 9 String get contentStyleType() => _wrap(_ptr.contentStyleType); |
| 10 |
| 11 void set contentStyleType(String value) { _ptr.contentStyleType = _unwrap(valu
e); } |
| 12 |
| 13 num get currentScale() => _wrap(_ptr.currentScale); |
| 14 |
| 15 void set currentScale(num value) { _ptr.currentScale = _unwrap(value); } |
| 16 |
| 17 SVGPoint get currentTranslate() => _wrap(_ptr.currentTranslate); |
| 18 |
| 19 SVGAnimatedLength get height() => _wrap(_ptr.height); |
| 20 |
| 21 num get pixelUnitToMillimeterX() => _wrap(_ptr.pixelUnitToMillimeterX); |
| 22 |
| 23 num get pixelUnitToMillimeterY() => _wrap(_ptr.pixelUnitToMillimeterY); |
| 24 |
| 25 num get screenPixelToMillimeterX() => _wrap(_ptr.screenPixelToMillimeterX); |
| 26 |
| 27 num get screenPixelToMillimeterY() => _wrap(_ptr.screenPixelToMillimeterY); |
| 28 |
| 29 bool get useCurrentView() => _wrap(_ptr.useCurrentView); |
| 30 |
| 31 void set useCurrentView(bool value) { _ptr.useCurrentView = _unwrap(value); } |
| 32 |
| 33 SVGRect get viewport() => _wrap(_ptr.viewport); |
| 34 |
| 35 SVGAnimatedLength get width() => _wrap(_ptr.width); |
| 36 |
| 37 SVGAnimatedLength get x() => _wrap(_ptr.x); |
| 38 |
| 39 SVGAnimatedLength get y() => _wrap(_ptr.y); |
| 40 |
| 41 bool animationsPaused() { |
| 42 return _wrap(_ptr.animationsPaused()); |
| 43 } |
| 44 |
| 45 bool checkEnclosure(SVGElement element, SVGRect rect) { |
| 46 return _wrap(_ptr.checkEnclosure(_unwrap(element), _unwrap(rect))); |
| 47 } |
| 48 |
| 49 bool checkIntersection(SVGElement element, SVGRect rect) { |
| 50 return _wrap(_ptr.checkIntersection(_unwrap(element), _unwrap(rect))); |
| 51 } |
| 52 |
| 53 SVGAngle createSVGAngle() { |
| 54 return _wrap(_ptr.createSVGAngle()); |
| 55 } |
| 56 |
| 57 SVGLength createSVGLength() { |
| 58 return _wrap(_ptr.createSVGLength()); |
| 59 } |
| 60 |
| 61 SVGMatrix createSVGMatrix() { |
| 62 return _wrap(_ptr.createSVGMatrix()); |
| 63 } |
| 64 |
| 65 SVGNumber createSVGNumber() { |
| 66 return _wrap(_ptr.createSVGNumber()); |
| 67 } |
| 68 |
| 69 SVGPoint createSVGPoint() { |
| 70 return _wrap(_ptr.createSVGPoint()); |
| 71 } |
| 72 |
| 73 SVGRect createSVGRect() { |
| 74 return _wrap(_ptr.createSVGRect()); |
| 75 } |
| 76 |
| 77 SVGTransform createSVGTransform() { |
| 78 return _wrap(_ptr.createSVGTransform()); |
| 79 } |
| 80 |
| 81 SVGTransform createSVGTransformFromMatrix(SVGMatrix matrix) { |
| 82 return _wrap(_ptr.createSVGTransformFromMatrix(_unwrap(matrix))); |
| 83 } |
| 84 |
| 85 void deselectAll() { |
| 86 _ptr.deselectAll(); |
| 87 return; |
| 88 } |
| 89 |
| 90 void forceRedraw() { |
| 91 _ptr.forceRedraw(); |
| 92 return; |
| 93 } |
| 94 |
| 95 num getCurrentTime() { |
| 96 return _wrap(_ptr.getCurrentTime()); |
| 97 } |
| 98 |
| 99 Element getElementById(String elementId) { |
| 100 return _wrap(_ptr.getElementById(_unwrap(elementId))); |
| 101 } |
| 102 |
| 103 NodeList getEnclosureList(SVGRect rect, SVGElement referenceElement) { |
| 104 return _wrap(_ptr.getEnclosureList(_unwrap(rect), _unwrap(referenceElement))
); |
| 105 } |
| 106 |
| 107 NodeList getIntersectionList(SVGRect rect, SVGElement referenceElement) { |
| 108 return _wrap(_ptr.getIntersectionList(_unwrap(rect), _unwrap(referenceElemen
t))); |
| 109 } |
| 110 |
| 111 void pauseAnimations() { |
| 112 _ptr.pauseAnimations(); |
| 113 return; |
| 114 } |
| 115 |
| 116 void setCurrentTime(num seconds) { |
| 117 _ptr.setCurrentTime(_unwrap(seconds)); |
| 118 return; |
| 119 } |
| 120 |
| 121 int suspendRedraw(int maxWaitMilliseconds) { |
| 122 return _wrap(_ptr.suspendRedraw(_unwrap(maxWaitMilliseconds))); |
| 123 } |
| 124 |
| 125 void unpauseAnimations() { |
| 126 _ptr.unpauseAnimations(); |
| 127 return; |
| 128 } |
| 129 |
| 130 void unsuspendRedraw(int suspendHandleId) { |
| 131 _ptr.unsuspendRedraw(_unwrap(suspendHandleId)); |
| 132 return; |
| 133 } |
| 134 |
| 135 void unsuspendRedrawAll() { |
| 136 _ptr.unsuspendRedrawAll(); |
| 137 return; |
| 138 } |
| 139 |
| 140 // From SVGTests |
| 141 |
| 142 SVGStringList get requiredExtensions() => _wrap(_ptr.requiredExtensions); |
| 143 |
| 144 SVGStringList get requiredFeatures() => _wrap(_ptr.requiredFeatures); |
| 145 |
| 146 SVGStringList get systemLanguage() => _wrap(_ptr.systemLanguage); |
| 147 |
| 148 bool hasExtension(String extension) { |
| 149 return _wrap(_ptr.hasExtension(_unwrap(extension))); |
| 150 } |
| 151 |
| 152 // From SVGLangSpace |
| 153 |
| 154 String get xmllang() => _wrap(_ptr.xmllang); |
| 155 |
| 156 void set xmllang(String value) { _ptr.xmllang = _unwrap(value); } |
| 157 |
| 158 String get xmlspace() => _wrap(_ptr.xmlspace); |
| 159 |
| 160 void set xmlspace(String value) { _ptr.xmlspace = _unwrap(value); } |
| 161 |
| 162 // From SVGExternalResourcesRequired |
| 163 |
| 164 SVGAnimatedBoolean get externalResourcesRequired() => _wrap(_ptr.externalResou
rcesRequired); |
| 165 |
| 166 // From SVGStylable |
| 167 |
| 168 SVGAnimatedString get _className() => _wrap(_ptr.className); |
| 169 |
| 170 CSSStyleDeclaration get style() => _wrap(_ptr.style); |
| 171 |
| 172 CSSValue getPresentationAttribute(String name) { |
| 173 return _wrap(_ptr.getPresentationAttribute(_unwrap(name))); |
| 174 } |
| 175 |
| 176 // From SVGLocatable |
| 177 |
| 178 SVGElement get farthestViewportElement() => _wrap(_ptr.farthestViewportElement
); |
| 179 |
| 180 SVGElement get nearestViewportElement() => _wrap(_ptr.nearestViewportElement); |
| 181 |
| 182 SVGRect getBBox() { |
| 183 return _wrap(_ptr.getBBox()); |
| 184 } |
| 185 |
| 186 SVGMatrix getCTM() { |
| 187 return _wrap(_ptr.getCTM()); |
| 188 } |
| 189 |
| 190 SVGMatrix getScreenCTM() { |
| 191 return _wrap(_ptr.getScreenCTM()); |
| 192 } |
| 193 |
| 194 SVGMatrix getTransformToElement(SVGElement element) { |
| 195 return _wrap(_ptr.getTransformToElement(_unwrap(element))); |
| 196 } |
| 197 |
| 198 // From SVGFitToViewBox |
| 199 |
| 200 SVGAnimatedPreserveAspectRatio get preserveAspectRatio() => _wrap(_ptr.preserv
eAspectRatio); |
| 201 |
| 202 SVGAnimatedRect get viewBox() => _wrap(_ptr.viewBox); |
| 203 |
| 204 // From SVGZoomAndPan |
| 205 |
| 206 int get zoomAndPan() => _wrap(_ptr.zoomAndPan); |
| 207 |
| 208 void set zoomAndPan(int value) { _ptr.zoomAndPan = _unwrap(value); } |
| 209 } |
OLD | NEW |