Enum LabelAngleRotationType
- java.lang.Object
-
- java.lang.Enum<LabelAngleRotationType>
-
- com.esri.arcgisruntime.mapping.labeling.LabelAngleRotationType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<LabelAngleRotationType>
public enum LabelAngleRotationType extends java.lang.Enum<LabelAngleRotationType>
How the placement angle should be interpreted.The type of rotation applied to the
LabelAngle.getAngleExpression()
should be interpreted asARITHMETIC
(counter-clockwise from East) orGEOGRAPHIC
(clockwise from North).- Since:
- 100.11.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ARITHMETIC
The angle is interpreted as arithmetic, i.e.AUTOMATIC
The angle uses the default interpretation (ARITHMETIC
).GEOGRAPHIC
The angle is interpreted as geographic, i.e.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static LabelAngleRotationType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LabelAngleRotationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
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 Detail
-
values
public static LabelAngleRotationType[] 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 (LabelAngleRotationType c : LabelAngleRotationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LabelAngleRotationType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-