public enum ImageRotation extends Enum<ImageRotation>
Enum Constant and Description |
---|
Rotate180
180 degree rotation.
|
RotateNone
No rotation.
|
Modifier and Type | Method and Description |
---|---|
static ImageRotation |
fromInteger(int id)
Returns the associated RotationType from the specified integer value.
|
int |
getValue()
Returns the integer representation of the enumeration member.
|
static ImageRotation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ImageRotation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageRotation RotateNone
public static final ImageRotation Rotate180
public static ImageRotation[] values()
for (ImageRotation c : ImageRotation.values()) System.out.println(c);
public static ImageRotation 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 ImageRotation fromInteger(int id)
id
- RotationType enumeration integer representation.
© 2016 ZIH Corp. All Rights Reserved.