File: SVGTransform.java

package info (click to toggle)
xml-commons-external 1.4.01-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, stretch, wheezy
  • size: 3,468 kB
  • ctags: 4,950
  • sloc: java: 12,856; xml: 72; makefile: 30
file content (24 lines) | stat: -rw-r--r-- 880 bytes parent folder | download | duplicates (10)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

package org.w3c.dom.svg;

public interface SVGTransform {
  // Transform Types
  public static final short SVG_TRANSFORM_UNKNOWN   = 0;
  public static final short SVG_TRANSFORM_MATRIX    = 1;
  public static final short SVG_TRANSFORM_TRANSLATE = 2;
  public static final short SVG_TRANSFORM_SCALE     = 3;
  public static final short SVG_TRANSFORM_ROTATE    = 4;
  public static final short SVG_TRANSFORM_SKEWX     = 5;
  public static final short SVG_TRANSFORM_SKEWY     = 6;

  public short getType( );
  public SVGMatrix getMatrix( );
  public float getAngle( );

  public void setMatrix ( SVGMatrix matrix );
  public void setTranslate ( float tx, float ty );
  public void setScale ( float sx, float sy );
  public void setRotate ( float angle, float cx, float cy );
  public void setSkewX ( float angle );
  public void setSkewY ( float angle );
}