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