public enum Orientation extends java.lang.Enum<Orientation>
Orientation hints.
Enum Constant and Description |
---|
NoRotate
No rotation.
|
Rotate180
Rotate image by 180 degress clockwise.
|
Rotate270
Rotate image by 270 degress clockwise.
|
Rotate90
Rotate image by 90 degress clockwise.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static Orientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Orientation NoRotate
No rotation.
public static final Orientation Rotate180
Rotate image by 180 degress clockwise.
public static final Orientation Rotate270
Rotate image by 270 degress clockwise.
public static final Orientation Rotate90
Rotate image by 90 degress clockwise.
public int getValue()
public static Orientation valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Orientation[] values()
for (Orientation c : Orientation.values()) System.out.println(c);