OLD | NEW |
1 | 1 |
2 class _SVGTransformJs extends _DOMTypeJs implements SVGTransform native "*SVGTra
nsform" { | 2 class _SVGTransformJs extends _DOMTypeJs implements SVGTransform native "*SVGTra
nsform" { |
3 | 3 |
4 static final int SVG_TRANSFORM_MATRIX = 1; | 4 static final int SVG_TRANSFORM_MATRIX = 1; |
5 | 5 |
6 static final int SVG_TRANSFORM_ROTATE = 4; | 6 static final int SVG_TRANSFORM_ROTATE = 4; |
7 | 7 |
8 static final int SVG_TRANSFORM_SCALE = 3; | 8 static final int SVG_TRANSFORM_SCALE = 3; |
9 | 9 |
10 static final int SVG_TRANSFORM_SKEWX = 5; | 10 static final int SVG_TRANSFORM_SKEWX = 5; |
11 | 11 |
12 static final int SVG_TRANSFORM_SKEWY = 6; | 12 static final int SVG_TRANSFORM_SKEWY = 6; |
13 | 13 |
14 static final int SVG_TRANSFORM_TRANSLATE = 2; | 14 static final int SVG_TRANSFORM_TRANSLATE = 2; |
15 | 15 |
16 static final int SVG_TRANSFORM_UNKNOWN = 0; | 16 static final int SVG_TRANSFORM_UNKNOWN = 0; |
17 | 17 |
18 num get angle() native "return this.angle;"; | 18 final num angle; |
19 | 19 |
20 _SVGMatrixJs get matrix() native "return this.matrix;"; | 20 final _SVGMatrixJs matrix; |
21 | 21 |
22 int get type() native "return this.type;"; | 22 final int type; |
23 | 23 |
24 void setMatrix(_SVGMatrixJs matrix) native; | 24 void setMatrix(_SVGMatrixJs matrix) native; |
25 | 25 |
26 void setRotate(num angle, num cx, num cy) native; | 26 void setRotate(num angle, num cx, num cy) native; |
27 | 27 |
28 void setScale(num sx, num sy) native; | 28 void setScale(num sx, num sy) native; |
29 | 29 |
30 void setSkewX(num angle) native; | 30 void setSkewX(num angle) native; |
31 | 31 |
32 void setSkewY(num angle) native; | 32 void setSkewY(num angle) native; |
33 | 33 |
34 void setTranslate(num tx, num ty) native; | 34 void setTranslate(num tx, num ty) native; |
35 } | 35 } |
OLD | NEW |