org.apache.batik.ext.awt.g2d
public class TransformType extends Object
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() |
switch(transformType.toInt()){ case TransformType.TRANSFORM_TRANSLATE: .... case TransformType.TRANSFORM_ROTATE:
Returns: description