| 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: | |
| 6 // This file contains documentation that is merged into the real source. | |
| 7 // Do not make code changes here. | |
| 8 | |
| 9 /// @domName SVGTransform | |
| 10 interface SVGTransform { | |
| 11 | |
| 12 static final int SVG_TRANSFORM_MATRIX = 1; | |
| 13 | |
| 14 static final int SVG_TRANSFORM_ROTATE = 4; | |
| 15 | |
| 16 static final int SVG_TRANSFORM_SCALE = 3; | |
| 17 | |
| 18 static final int SVG_TRANSFORM_SKEWX = 5; | |
| 19 | |
| 20 static final int SVG_TRANSFORM_SKEWY = 6; | |
| 21 | |
| 22 static final int SVG_TRANSFORM_TRANSLATE = 2; | |
| 23 | |
| 24 static final int SVG_TRANSFORM_UNKNOWN = 0; | |
| 25 | |
| 26 /** @domName SVGTransform.angle */ | |
| 27 final num angle; | |
| 28 | |
| 29 /** @domName SVGTransform.matrix */ | |
| 30 final SVGMatrix matrix; | |
| 31 | |
| 32 /** @domName SVGTransform.type */ | |
| 33 final int type; | |
| 34 | |
| 35 /** @domName SVGTransform.setMatrix */ | |
| 36 void setMatrix(SVGMatrix matrix); | |
| 37 | |
| 38 /** @domName SVGTransform.setRotate */ | |
| 39 void setRotate(num angle, num cx, num cy); | |
| 40 | |
| 41 /** @domName SVGTransform.setScale */ | |
| 42 void setScale(num sx, num sy); | |
| 43 | |
| 44 /** @domName SVGTransform.setSkewX */ | |
| 45 void setSkewX(num angle); | |
| 46 | |
| 47 /** @domName SVGTransform.setSkewY */ | |
| 48 void setSkewY(num angle); | |
| 49 | |
| 50 /** @domName SVGTransform.setTranslate */ | |
| 51 void setTranslate(num tx, num ty); | |
| 52 } | |
| OLD | NEW |