| OLD | NEW |
| (Empty) | |
| 1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 // WARNING: Do not edit - generated code. |
| 6 |
| 7 /// @domName SVGTransform |
| 8 interface SVGTransform { |
| 9 |
| 10 static final int SVG_TRANSFORM_MATRIX = 1; |
| 11 |
| 12 static final int SVG_TRANSFORM_ROTATE = 4; |
| 13 |
| 14 static final int SVG_TRANSFORM_SCALE = 3; |
| 15 |
| 16 static final int SVG_TRANSFORM_SKEWX = 5; |
| 17 |
| 18 static final int SVG_TRANSFORM_SKEWY = 6; |
| 19 |
| 20 static final int SVG_TRANSFORM_TRANSLATE = 2; |
| 21 |
| 22 static final int SVG_TRANSFORM_UNKNOWN = 0; |
| 23 |
| 24 /** @domName SVGTransform.angle */ |
| 25 final num angle; |
| 26 |
| 27 /** @domName SVGTransform.matrix */ |
| 28 final SVGMatrix matrix; |
| 29 |
| 30 /** @domName SVGTransform.type */ |
| 31 final int type; |
| 32 |
| 33 /** @domName SVGTransform.setMatrix */ |
| 34 void setMatrix(SVGMatrix matrix); |
| 35 |
| 36 /** @domName SVGTransform.setRotate */ |
| 37 void setRotate(num angle, num cx, num cy); |
| 38 |
| 39 /** @domName SVGTransform.setScale */ |
| 40 void setScale(num sx, num sy); |
| 41 |
| 42 /** @domName SVGTransform.setSkewX */ |
| 43 void setSkewX(num angle); |
| 44 |
| 45 /** @domName SVGTransform.setSkewY */ |
| 46 void setSkewY(num angle); |
| 47 |
| 48 /** @domName SVGTransform.setTranslate */ |
| 49 void setTranslate(num tx, num ty); |
| 50 } |
| OLD | NEW |