public enum RotationAngle extends java.lang.Enum<RotationAngle>
| Enum Constant and Description |
|---|
DEGREES_180 |
DEGREES_270 |
DEGREES_90 |
| Modifier and Type | Method and Description |
|---|---|
int |
getTurnsCount() |
int |
getValue() |
static RotationAngle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RotationAngle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RotationAngle DEGREES_90
public static final RotationAngle DEGREES_180
public static final RotationAngle DEGREES_270
public static RotationAngle[] values()
for (RotationAngle c : RotationAngle.values()) System.out.println(c);
public static RotationAngle 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 int getValue()
public int getTurnsCount()