Module com.esri.arcgisruntime
Enum Class LabelOverrunStrategy
- All Implemented Interfaces:
Serializable
,Comparable<LabelOverrunStrategy>
,Constable
The strategy for whether a label should be visible at viewing scales where the feature is too small for the label to
fit.
- Since:
- 100.11.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe label can run past the ends of its line geometry or edges or its polygon geometry.The label will use the default overrun behavior which depends on the object being overrun.The label cannot run past the ends of its line geometry or edges of its polygon geometry. -
Method Summary
Modifier and TypeMethodDescriptionstatic LabelOverrunStrategy
Returns the enum constant of this class with the specified name.static LabelOverrunStrategy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTOMATIC
The label will use the default overrun behavior which depends on the object being overrun. This value corresponds to no value being specified for theLabelDefinition.getOverrunStrategy()
property.- Since:
- 100.11.0
-
NONE
The label cannot run past the ends of its line geometry or edges of its polygon geometry.- Since:
- 100.11.0
-
ALLOW
The label can run past the ends of its line geometry or edges or its polygon geometry.- Since:
- 100.11.0
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-