Enum LabelOrientation

    • Enum Constant Detail

      • HORIZONTAL

        public static final LabelOrientation HORIZONTAL
        Default orientation of a label
      • VERTICAL

        public static final LabelOrientation VERTICAL
        Default orientation of a label
      • PARALLEL_TO_AXIS

        public static final LabelOrientation 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 if CameraMode.ORTHOGONAL is enabled (CameraMode.PERSPECTIVE makes Z axis not vertical on the screen) Setting Vertical for Z axis label is more efficient.
    • Method Detail

      • values

        public static LabelOrientation[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (LabelOrientation c : LabelOrientation.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LabelOrientation valueOf​(String name)
        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 name
        NullPointerException - if the argument is null