public static enum ImageData.RotateDirection extends java.lang.Enum<ImageData.RotateDirection>
| Modifier and Type | Method and Description |
|---|---|
static ImageData.RotateDirection |
fromAngle(int angle) |
boolean |
isDefault() |
int |
toAngle() |
static ImageData.RotateDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ImageData.RotateDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ImageData.RotateDirection NORTH
public static final ImageData.RotateDirection EAST
public static final ImageData.RotateDirection SOUTH
public static final ImageData.RotateDirection WEST
public static ImageData.RotateDirection[] values()
for (ImageData.RotateDirection c : ImageData.RotateDirection.values()) System.out.println(c);
public static ImageData.RotateDirection 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 boolean isDefault()
public static ImageData.RotateDirection fromAngle(int angle)
public int toAngle()