Module com.esri.arcgisruntime
Enum Class LabelDeconflictionStrategy
java.lang.Object
java.lang.Enum<LabelDeconflictionStrategy>
com.esri.arcgisruntime.mapping.labeling.LabelDeconflictionStrategy
- All Implemented Interfaces:
Serializable
,Comparable<LabelDeconflictionStrategy>
,Constable
The strategy for moving labels to avoid overlapping point symbols or higher priority labels.
- 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 will use the default deconfliction strategy (STATIC
).Place the label in the preferred location, but move to an alternative location to not overlap higher priority labels or feature/graphic symbols.Place the label in the preferred location, but move to an alternative location to minimize overlapping higher priority labels or feature/graphic symbols.Place the label in the preferred location, regardless of overlaps with other features, graphics or labels.Place the label in the preferred location, unless it would overlap a higher priority label or feature/graphic symbol. -
Method Summary
Modifier and TypeMethodDescriptionstatic LabelDeconflictionStrategy
Returns the enum constant of this class with the specified name.static LabelDeconflictionStrategy[]
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 deconfliction strategy (STATIC
).This value corresponds to no value being specified for a
LabelDefinition.getDeconflictionStrategy()
property.- Since:
- 100.11.0
-
DYNAMIC
Place the label in the preferred location, but move to an alternative location to not overlap higher priority labels or feature/graphic symbols.This label is placed only if it can be moved to a location that will not overlap a higher priority label.
- Since:
- 100.11.0
-
NONE
Place the label in the preferred location, regardless of overlaps with other features, graphics or labels.- Since:
- 100.11.0
-
STATIC
Place the label in the preferred location, unless it would overlap a higher priority label or feature/graphic symbol.If it overlaps a lower priority label, then the lower priority label may disappear or move (depending on its
LabelDefinition.getDeconflictionStrategy()
). If this label overlaps a higher priority label, then this label is not placed.- Since:
- 100.11.0
-
DYNAMIC_NEVER_REMOVE
Place the label in the preferred location, but move to an alternative location to minimize overlapping higher priority labels or feature/graphic symbols.This label is always placed, even if it overlaps a higher priority label.
- Since:
- 100.12.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
-