Enum LabelOrientation
- All Implemented Interfaces:
Serializable, Comparable<LabelOrientation>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefault orientation of a labelProcess the labelled axis orientation in order to let the text be drawn along the axis.Default orientation of a label -
Method Summary
Modifier and TypeMethodDescriptionstatic LabelOrientationReturns the enum constant of this type with the specified name.static LabelOrientation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
HORIZONTAL
Default orientation of a label -
VERTICAL
Default orientation of a label -
PARALLEL_TO_AXIS
Process the labelled axis orientation in order to let the text be drawn along the axis. Do not use for Z axis as it is always vertical ifCameraMode.ORTHOGONALis enabled (CameraMode.PERSPECTIVEmakes Z axis not vertical on the screen) Setting Vertical for Z axis label is more efficient.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-