Module com.esri.arcgisruntime
Enum Class LabelStackBreakPosition
java.lang.Object
java.lang.Enum<LabelStackBreakPosition>
com.esri.arcgisruntime.mapping.labeling.LabelStackBreakPosition
- All Implemented Interfaces:
Serializable
,Comparable<LabelStackBreakPosition>
,Constable
The strategy for whether a row of text should be broken before or after it exceeds the ideal length.
If stacking is turned on, label placement can insert a line break before or after the word that overruns the maximum number of characters per row.
- 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
-
Method Summary
Modifier and TypeMethodDescriptionstatic LabelStackBreakPosition
Returns the enum constant of this class with the specified name.static LabelStackBreakPosition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTOMATIC
Use the default break position (AFTER
).- Since:
- 100.11.0
-
AFTER
Insert the line break after a word that has broken the stackRowLength limit.This means rows will generally be longer than the
LabelDefinition.getStackRowLength()
.- Since:
- 100.11.0
-
BEFORE
Insert the line break before a word that will break the stackRowLength limit.This means rows will generally be shorter than the
LabelDefinition.getStackRowLength()
(although they will overrun for individual words larger than this count).- 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
-