| OLD | NEW |
| (Empty) | |
| 1 |
| 2 class _SVGSVGElementJs extends _SVGElementJs implements SVGSVGElement native "*S
VGSVGElement" { |
| 3 |
| 4 String contentScriptType; |
| 5 |
| 6 String contentStyleType; |
| 7 |
| 8 num currentScale; |
| 9 |
| 10 final _SVGPointJs currentTranslate; |
| 11 |
| 12 final _SVGAnimatedLengthJs height; |
| 13 |
| 14 final num pixelUnitToMillimeterX; |
| 15 |
| 16 final num pixelUnitToMillimeterY; |
| 17 |
| 18 final num screenPixelToMillimeterX; |
| 19 |
| 20 final num screenPixelToMillimeterY; |
| 21 |
| 22 bool useCurrentView; |
| 23 |
| 24 final _SVGRectJs viewport; |
| 25 |
| 26 final _SVGAnimatedLengthJs width; |
| 27 |
| 28 final _SVGAnimatedLengthJs x; |
| 29 |
| 30 final _SVGAnimatedLengthJs y; |
| 31 |
| 32 bool animationsPaused() native; |
| 33 |
| 34 bool checkEnclosure(_SVGElementJs element, _SVGRectJs rect) native; |
| 35 |
| 36 bool checkIntersection(_SVGElementJs element, _SVGRectJs rect) native; |
| 37 |
| 38 _SVGAngleJs createSVGAngle() native; |
| 39 |
| 40 _SVGLengthJs createSVGLength() native; |
| 41 |
| 42 _SVGMatrixJs createSVGMatrix() native; |
| 43 |
| 44 _SVGNumberJs createSVGNumber() native; |
| 45 |
| 46 _SVGPointJs createSVGPoint() native; |
| 47 |
| 48 _SVGRectJs createSVGRect() native; |
| 49 |
| 50 _SVGTransformJs createSVGTransform() native; |
| 51 |
| 52 _SVGTransformJs createSVGTransformFromMatrix(_SVGMatrixJs matrix) native; |
| 53 |
| 54 void deselectAll() native; |
| 55 |
| 56 void forceRedraw() native; |
| 57 |
| 58 num getCurrentTime() native; |
| 59 |
| 60 _ElementJs getElementById(String elementId) native; |
| 61 |
| 62 _NodeListJs getEnclosureList(_SVGRectJs rect, _SVGElementJs referenceElement)
native; |
| 63 |
| 64 _NodeListJs getIntersectionList(_SVGRectJs rect, _SVGElementJs referenceElemen
t) native; |
| 65 |
| 66 void pauseAnimations() native; |
| 67 |
| 68 void setCurrentTime(num seconds) native; |
| 69 |
| 70 int suspendRedraw(int maxWaitMilliseconds) native; |
| 71 |
| 72 void unpauseAnimations() native; |
| 73 |
| 74 void unsuspendRedraw(int suspendHandleId) native; |
| 75 |
| 76 void unsuspendRedrawAll() native; |
| 77 |
| 78 // From SVGTests |
| 79 |
| 80 final _SVGStringListJs requiredExtensions; |
| 81 |
| 82 final _SVGStringListJs requiredFeatures; |
| 83 |
| 84 final _SVGStringListJs systemLanguage; |
| 85 |
| 86 bool hasExtension(String extension) native; |
| 87 |
| 88 // From SVGLangSpace |
| 89 |
| 90 String xmllang; |
| 91 |
| 92 String xmlspace; |
| 93 |
| 94 // From SVGExternalResourcesRequired |
| 95 |
| 96 final _SVGAnimatedBooleanJs externalResourcesRequired; |
| 97 |
| 98 // From SVGStylable |
| 99 |
| 100 _SVGAnimatedStringJs get _className() native "return this.className;"; |
| 101 |
| 102 // Use implementation from Element. |
| 103 // final _CSSStyleDeclarationJs style; |
| 104 |
| 105 _CSSValueJs getPresentationAttribute(String name) native; |
| 106 |
| 107 // From SVGLocatable |
| 108 |
| 109 final _SVGElementJs farthestViewportElement; |
| 110 |
| 111 final _SVGElementJs nearestViewportElement; |
| 112 |
| 113 _SVGRectJs getBBox() native; |
| 114 |
| 115 _SVGMatrixJs getCTM() native; |
| 116 |
| 117 _SVGMatrixJs getScreenCTM() native; |
| 118 |
| 119 _SVGMatrixJs getTransformToElement(_SVGElementJs element) native; |
| 120 |
| 121 // From SVGFitToViewBox |
| 122 |
| 123 final _SVGAnimatedPreserveAspectRatioJs preserveAspectRatio; |
| 124 |
| 125 final _SVGAnimatedRectJs viewBox; |
| 126 |
| 127 // From SVGZoomAndPan |
| 128 |
| 129 int zoomAndPan; |
| 130 } |
| OLD | NEW |