Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.batik.ext.awt.g2d
Class TransformType

    java.lang.Object
      org.apache.batik.ext.awt.g2d.TransformType

    public class TransformType

extends Object

Enumeration for transformation types.

Field Summary
`static TransformType` | `GENERAL`
`static String` | `GENERAL_STRING`
`static TransformType` | `ROTATE`
`static String` | `ROTATE_STRING`
`static TransformType` | `SCALE`
`static String` | `SCALE_STRING`
`static TransformType` | `SHEAR`
`static String` | `SHEAR_STRING`
`static int` | `TRANSFORM_GENERAL`
`static int` | `TRANSFORM_ROTATE`
`static int` | `TRANSFORM_SCALE`
`static int` | `TRANSFORM_SHEAR`
`static int` | `TRANSFORM_TRANSLATE`
`static TransformType` | `TRANSLATE` TransformType values
`static String` | `TRANSLATE_STRING` Strings describing the elementary transforms

Method Summary
`Object` | `readResolve()` This is called by the serialization code before it returns an unserialized object.
`int` | `toInt()` Convenience for enumeration switching.
`String` | `toString()`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### TRANSFORM_TRANSLATE

    public static final int TRANSFORM_TRANSLATE

See Also:
  Constant Field Values

### TRANSFORM_ROTATE

    public static final int TRANSFORM_ROTATE

See Also:
  Constant Field Values

### TRANSFORM_SCALE

    public static final int TRANSFORM_SCALE

See Also:
  Constant Field Values

### TRANSFORM_SHEAR

    public static final int TRANSFORM_SHEAR

See Also:
  Constant Field Values

### TRANSFORM_GENERAL

    public static final int TRANSFORM_GENERAL

See Also:
  Constant Field Values

### TRANSLATE_STRING

    public static final String TRANSLATE_STRING

  Strings describing the elementary transforms

  See Also:
    Constant Field Values

### ROTATE_STRING

    public static final String ROTATE_STRING

See Also:
  Constant Field Values

### SCALE_STRING

    public static final String SCALE_STRING

See Also:
  Constant Field Values

### SHEAR_STRING

    public static final String SHEAR_STRING

See Also:
  Constant Field Values

### GENERAL_STRING

    public static final String GENERAL_STRING

See Also:
  Constant Field Values

### TRANSLATE

    public static final TransformType TRANSLATE

  TransformType values

### ROTATE

    public static final TransformType ROTATE

### SCALE

    public static final TransformType SCALE

### SHEAR

    public static final TransformType SHEAR

### GENERAL

    public static final TransformType GENERAL

Method Detail

### toString

    public String toString()

  Overrides:
    `toString` in class `Object`
  Returns:
    description

### toInt

    public int toInt()

  Convenience for enumeration switching. That is,

         switch(transformType.toInt()){
             case TransformType.TRANSFORM_TRANSLATE:
              ....
             case TransformType.TRANSFORM_ROTATE:

### readResolve

    public Object readResolve()

  This is called by the serialization code before it returns an unserialized object. To provide for unicity of instances, the instance that was read is replaced by its static equivalent

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 Apache Software Foundation. All Rights Reserved.