1 2 package org.w3c.dom.svg; 3 4 public interface SVGTransform { 5 public static final short SVG_TRANSFORM_UNKNOWN = 0; 7 public static final short SVG_TRANSFORM_MATRIX = 1; 8 public static final short SVG_TRANSFORM_TRANSLATE = 2; 9 public static final short SVG_TRANSFORM_SCALE = 3; 10 public static final short SVG_TRANSFORM_ROTATE = 4; 11 public static final short SVG_TRANSFORM_SKEWX = 5; 12 public static final short SVG_TRANSFORM_SKEWY = 6; 13 14 public short getType( ); 15 public SVGMatrix getMatrix( ); 16 public float getAngle( ); 17 18 public void setMatrix ( SVGMatrix matrix ); 19 public void setTranslate ( float tx, float ty ); 20 public void setScale ( float sx, float sy ); 21 public void setRotate ( float angle, float cx, float cy ); 22 public void setSkewX ( float angle ); 23 public void setSkewY ( float angle ); 24 } 25 | Popular Tags |