java.io.Serializable
, java.lang.Comparable<StructureRotation>
public enum StructureRotation extends java.lang.Enum<StructureRotation>
Structure
can be rotated.Enum Constant | Description |
---|---|
CLOCKWISE_180 |
Rotated clockwise 180 degrees.
|
CLOCKWISE_90 |
Rotated clockwise 90 degrees.
|
COUNTERCLOCKWISE_90 |
Rotated counter clockwise 90 degrees.
|
NONE |
No rotation.
|
Modifier and Type | Method | Description |
---|---|---|
static StructureRotation |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static StructureRotation[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StructureRotation NONE
public static final StructureRotation CLOCKWISE_90
public static final StructureRotation CLOCKWISE_180
public static final StructureRotation COUNTERCLOCKWISE_90
public static StructureRotation[] values()
for (StructureRotation c : StructureRotation.values()) System.out.println(c);
public static StructureRotation 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 nullCopyright © 2018. All rights reserved.