Enum Class LabelAngleRotationType

java.lang.Object
java.lang.Enum<LabelAngleRotationType>
com.esri.arcgisruntime.mapping.labeling.LabelAngleRotationType
All Implemented Interfaces:
Serializable, Comparable<LabelAngleRotationType>, Constable

public enum LabelAngleRotationType extends Enum<LabelAngleRotationType>
How the placement angle should be interpreted.

The type of rotation applied to the LabelAngle.getAngleExpression() should be interpreted as ARITHMETIC (counter-clockwise from East) or GEOGRAPHIC (clockwise from North).

Since:
100.11.0
  • Enum Constant Details

    • AUTOMATIC

      public static final LabelAngleRotationType AUTOMATIC
      The angle uses the default interpretation (ARITHMETIC).
      Since:
      100.11.0
    • ARITHMETIC

      public static final LabelAngleRotationType ARITHMETIC
      The angle is interpreted as arithmetic, i.e. counterclockwise from East.
      Since:
      100.11.0
    • GEOGRAPHIC

      public static final LabelAngleRotationType GEOGRAPHIC
      The angle is interpreted as geographic, i.e. clockwise from North.
      Since:
      100.11.0
  • Method Details

    • values

      public static LabelAngleRotationType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static LabelAngleRotationType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null