Enum Constant and Description |
---|
ROTATE_0
Rotates the image 0 degrees clockwise.
|
ROTATE_180
Rotates the image 180 degrees clockwise.
|
ROTATE_270
Rotates the image 270 degrees clockwise.
|
ROTATE_90
Rotates the image 90 degrees clockwise.
|
Modifier and Type | Method and Description |
---|---|
static Rotation |
fromInteger(int id)
Returns the associated Rotation from the specified integer value.
|
int |
getValue()
Returns the integer representation of the enumeration member.
|
static Rotation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Rotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Rotation ROTATE_0
public static final Rotation ROTATE_90
public static final Rotation ROTATE_180
public static final Rotation ROTATE_270
public static Rotation[] values()
for (Rotation c : Rotation.values()) System.out.println(c);
public static Rotation 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 int getValue()
public static Rotation fromInteger(int id)
id
- rotation enumeration integer representation.
© 2016 ZIH Corp. All Rights Reserved.