Serializable
, Comparable<StructureRotation>
public enum StructureRotation extends 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(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(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 nullCopyright © 2020. All rights reserved.