public static enum TransformPainter.Flip extends Enum<TransformPainter.Flip>
Enum Constant and Description |
---|
FLIP_180
Flips at 180 degrees.
|
FLIP_270
Flips anticlockwise at 270 degrees.
|
FLIP_90
Flips anticlockwise at 90 degrees.
|
FLIP_MIRROR
Applies a mirror.
|
FLIP_MIRROR_180
Applies a mirror and flip at 180 degrees.
|
FLIP_MIRROR_270
Applies a mirror and flip anticlockwise at 270 degrees.
|
FLIP_MIRROR_90
Applies a mirror and flip anticlockwise at 90 degrees.
|
FLIP_NONE
Resets the flip action (0 degrees).
This is the default action. |
Modifier and Type | Method and Description |
---|---|
static TransformPainter.Flip |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransformPainter.Flip[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransformPainter.Flip FLIP_180
public static final TransformPainter.Flip FLIP_270
public static final TransformPainter.Flip FLIP_90
public static final TransformPainter.Flip FLIP_MIRROR
public static final TransformPainter.Flip FLIP_MIRROR_180
public static final TransformPainter.Flip FLIP_MIRROR_270
public static final TransformPainter.Flip FLIP_MIRROR_90
public static final TransformPainter.Flip FLIP_NONE
public static TransformPainter.Flip valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TransformPainter.Flip[] values()
for (TransformPainter.Flip c : TransformPainter.Flip.values()) System.out.println(c);