Module com.esri.arcgisruntime
Enum Class LabelingPlacement
- All Implemented Interfaces:
Serializable
,Comparable<LabelingPlacement>
,Constable
Defines the labeling placement options. This is used to specify the preferred position of the text label, with
respect to its feature geometry.
- Since:
- 100.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDefault position for the label, dependent on the type of feature being labeled.Lower-left corner of label is at final geometry coord, label extrapolates the last geometry segment.Lower midpoint of label prefers the midpoint of the geometry, label follows the geometry segments.Lower right corner of label is at first geometry coord, label extrapolates the first geometry segment.Lower right corner of label is at final geometry coord, label follows the last geometry segments.Lower left corner of label is at first geometry coord, label follows the first geometry segments.Upper left corner of label is at final geometry coord, label extrapolates the last geometry segment.Upper midpoint of label prefers the midpoint of the geometry, label follows the geometry segments.Upper right corner of label is at first geometry coord, label extrapolates the first geometry segment.Upper right corner of label is at final geometry coord, label follows the last geometry segments.Upper left corner of label is at first geometry coord, label follows the first geometry segments.Left midpoint of label is at final geometry coord, label extrapolates the last geometry segment.Center of label prefers the midpoint of the geometry, label follows the geometry segments.Right midpoint of label is at first geometry coord, label extrapolates the first geometry segment.Right midpoint of label is at final geometry coord, label follows the last geometry segments.Left midpoint of label is at first geometry coord, label follows the first geometry segments.Lower midpoint of label is offset north of point symbol.Lower right corner of the label is offset northwest of point symbol.Lower left corner of the label is offset northeast of point symbol.Upper midpoint of label is offset south of point symbol.Upper right corner of the label is offset southwest of point symbol.Upper left corner of the label is offset South-east of point symbol.Center of label is placed on geometry point.Right midpoint of label is offset West of point symbol.Left midpoint of label is offset East of point symbol.Center of label is as far inside polygon as possible.Preferred placement position has not been specified. -
Method Summary
Modifier and TypeMethodDescriptionstatic LabelingPlacement
Returns the enum constant of this class with the specified name.static LabelingPlacement[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
Preferred placement position has not been specified.- Since:
- 100.0.0
-
AUTOMATIC
Default position for the label, dependent on the type of feature being labeled.- Since:
- 100.11.0
-
LINE_ABOVE_AFTER
Lower-left corner of label is at final geometry coord, label extrapolates the last geometry segment.- Since:
- 100.0.0
-
LINE_ABOVE_ALONG
Lower midpoint of label prefers the midpoint of the geometry, label follows the geometry segments.- Since:
- 100.0.0
-
LINE_ABOVE_BEFORE
Lower right corner of label is at first geometry coord, label extrapolates the first geometry segment.- Since:
- 100.0.0
-
LINE_ABOVE_END
Lower right corner of label is at final geometry coord, label follows the last geometry segments.- Since:
- 100.0.0
-
LINE_ABOVE_START
Lower left corner of label is at first geometry coord, label follows the first geometry segments.- Since:
- 100.0.0
-
LINE_BELOW_AFTER
Upper left corner of label is at final geometry coord, label extrapolates the last geometry segment.- Since:
- 100.0.0
-
LINE_BELOW_ALONG
Upper midpoint of label prefers the midpoint of the geometry, label follows the geometry segments.- Since:
- 100.0.0
-
LINE_BELOW_BEFORE
Upper right corner of label is at first geometry coord, label extrapolates the first geometry segment.- Since:
- 100.0.0
-
LINE_BELOW_END
Upper right corner of label is at final geometry coord, label follows the last geometry segments.- Since:
- 100.0.0
-
LINE_BELOW_START
Upper left corner of label is at first geometry coord, label follows the first geometry segments.- Since:
- 100.0.0
-
LINE_CENTER_AFTER
Left midpoint of label is at final geometry coord, label extrapolates the last geometry segment.- Since:
- 100.0.0
-
LINE_CENTER_ALONG
Center of label prefers the midpoint of the geometry, label follows the geometry segments.- Since:
- 100.0.0
-
LINE_CENTER_BEFORE
Right midpoint of label is at first geometry coord, label extrapolates the first geometry segment.- Since:
- 100.0.0
-
LINE_CENTER_END
Right midpoint of label is at final geometry coord, label follows the last geometry segments.- Since:
- 100.0.0
-
LINE_CENTER_START
Left midpoint of label is at first geometry coord, label follows the first geometry segments.- Since:
- 100.0.0
-
POINT_ABOVE_CENTER
Lower midpoint of label is offset north of point symbol.- Since:
- 100.0.0
-
POINT_ABOVE_LEFT
Lower right corner of the label is offset northwest of point symbol.- Since:
- 100.0.0
-
POINT_ABOVE_RIGHT
Lower left corner of the label is offset northeast of point symbol.- Since:
- 100.0.0
-
POINT_BELOW_CENTER
Upper midpoint of label is offset south of point symbol.- Since:
- 100.0.0
-
POINT_BELOW_LEFT
Upper right corner of the label is offset southwest of point symbol.- Since:
- 100.0.0
-
POINT_BELOW_RIGHT
Upper left corner of the label is offset South-east of point symbol.- Since:
- 100.0.0
-
POINT_CENTER_CENTER
Center of label is placed on geometry point.- Since:
- 100.0.0
-
POINT_CENTER_LEFT
Right midpoint of label is offset West of point symbol.- Since:
- 100.0.0
-
POINT_CENTER_RIGHT
Left midpoint of label is offset East of point symbol.- Since:
- 100.0.0
-
POLYGON_ALWAYS_HORIZONTAL
Center of label is as far inside polygon as possible.- Since:
- 100.0.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
-