Enum Class LabelMultipartStrategy
- All Implemented Interfaces:
Serializable
,Comparable<LabelMultipartStrategy>
,Constable
- 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 ConstantDescriptionLabeling will use the default distribution of labels across multipart features.If a feature consists of multiple parts, only the largest one will be assigned a label.One label per feature, but not supported yet in this API.If a feature consists of multiple geometries, each geometry will be assigned a label.One label per segment, but not supported yet in this API. -
Method Summary
Modifier and TypeMethodDescriptionstatic LabelMultipartStrategy
Returns the enum constant of this class with the specified name.static LabelMultipartStrategy[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AUTOMATIC
Labeling will use the default distribution of labels across multipart features.This depends on Feature type:
- Polygon labels will use
LABEL_LARGEST
- Point and Line labels will use
LABEL_PER_PART
.
- Since:
- 100.11.0
- Polygon labels will use
-
LABEL_LARGEST
If a feature consists of multiple parts, only the largest one will be assigned a label.If a line feature consists of multiple part geometries, or a polygon feature consists of multiple ring geometries, only the largest one will be assigned a label.
If the largest part of the feature is not currently visible on the
MapView
, then the label will not be visible. It will not automatically move to the largest visible part.- Since:
- 100.11.0
-
LABEL_PER_FEATURE
One label per feature, but not supported yet in this API.The intended use is to place one label to represent each feature, even if the feature is made up of multiple parts, for example placing a single label at the center of a group of point parts, not necessarily at the position of any individual part.
Warning: This value can be set when labeling is authored in ArcGIS Pro, but is not supported yet in runtime. If used, the placement will be as for
LABEL_PER_PART
.- Since:
- 100.11.0
-
LABEL_PER_PART
If a feature consists of multiple geometries, each geometry will be assigned a label.If a line feature consists of multiple line geometries, or a polygon feature consists of multiple ring geometries, each geometry will be assigned a label.
- Since:
- 100.11.0
-
LABEL_PER_SEGMENT
One label per segment, but not supported yet in this API.The intended use is to place a label on each segment of each line geometry.
Warning: This value can be set when labeling is authored in ArcGIS Pro, but is not supported yet in runtime. If used, the placement will be as for
LABEL_PER_PART
.- 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
-