Package org.apache.xmlgraphics.java2d
Class TransformType
java.lang.Object
org.apache.xmlgraphics.java2d.TransformType
Enumeration for transformation types.
- Version:
- $Id$ Originally authored by Vincent Hardy.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TransformType
static final String
static final TransformType
static final String
static final TransformType
static final String
static final TransformType
static final String
static final int
static final int
static final int
static final int
static final int
static final TransformType
TransformType valuesstatic final String
Strings describing the elementary transforms -
Method Summary
-
Field Details
-
TRANSFORM_TRANSLATE
public static final int TRANSFORM_TRANSLATE- See Also:
-
TRANSFORM_ROTATE
public static final int TRANSFORM_ROTATE- See Also:
-
TRANSFORM_SCALE
public static final int TRANSFORM_SCALE- See Also:
-
TRANSFORM_SHEAR
public static final int TRANSFORM_SHEAR- See Also:
-
TRANSFORM_GENERAL
public static final int TRANSFORM_GENERAL- See Also:
-
TRANSLATE_STRING
Strings describing the elementary transforms- See Also:
-
ROTATE_STRING
- See Also:
-
SCALE_STRING
- See Also:
-
SHEAR_STRING
- See Also:
-
GENERAL_STRING
- See Also:
-
TRANSLATE
TransformType values -
ROTATE
-
SCALE
-
SHEAR
-
GENERAL
-
-
Method Details
-
toString
-
toInt
public int toInt()Convenience for enumeration switching. That is,switch(transformType.toInt()){ case TransformType.TRANSFORM_TRANSLATE: .... case TransformType.TRANSFORM_ROTATE:
-
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
-