public enum AxisOrientation extends Enum<AxisOrientation>
| Enum Constant and Description |
|---|
RIGHT_HANDED_0 |
RIGHT_HANDED_180 |
RIGHT_HANDED_270 |
RIGHT_HANDED_90 |
| Modifier and Type | Method and Description |
|---|---|
static AxisOrientation |
getRightHandedAxisOrientationFor(int orientation)
Gets the right-handed axis orientation object for a given orientation in degrees.
|
static AxisOrientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AxisOrientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
void |
writeTo(byte[] out,
int offset) |
void |
writeTo(OutputStream stream)
Writes the axis orientation area bytes to the output stream.
|
public static final AxisOrientation RIGHT_HANDED_0
public static final AxisOrientation RIGHT_HANDED_90
public static final AxisOrientation RIGHT_HANDED_180
public static final AxisOrientation RIGHT_HANDED_270
public static AxisOrientation[] values()
for (AxisOrientation c : AxisOrientation.values()) System.out.println(c);
public static AxisOrientation 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 void writeTo(byte[] out,
int offset)
public void writeTo(OutputStream stream) throws IOException
stream - the output stream to write toIOException - if an I/O error occurspublic static AxisOrientation getRightHandedAxisOrientationFor(int orientation)
orientation - the orientation in degreesAxisOrientation objectCopyright © 2023 Apache Software Foundation. All rights reserved.