public enum RotationAngle extends Enum<RotationAngle>
Enum Constant and Description |
---|
AntiClockwise180
180 degrees in the counter-clockwise direction.
|
AntiClockwise270
270 degrees in the counter-clockwise direction.
|
AntiClockwise90
90 degrees in the counter-clockwise direction.
|
Clockwise180
180 degrees.
|
Clockwise270
270 degrees.
|
Clockwise90
90 degrees.
|
Zero
Zero degrees.
|
Modifier and Type | Method and Description |
---|---|
int |
getAngle() |
static RotationAngle |
valueOf(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 Clockwise270
public static final RotationAngle Clockwise180
public static final RotationAngle Clockwise90
public static final RotationAngle Zero
public static final RotationAngle AntiClockwise90
public static final RotationAngle AntiClockwise180
public static final RotationAngle AntiClockwise270
public static RotationAngle[] values()
for (RotationAngle c : RotationAngle.values()) System.out.println(c);
public static RotationAngle 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 getAngle()