LabelBarrierWeight enum
The weight of features when considered as barriers to labeling.
An AnnotationLayer or a DimensionLayer, which has no LabelDefinition of its own, can be added to a map's operational layers. Their features will be automatically considered by the labeling process, to block labels being placed overlapping the features. This LabelBarrierWeight property controls how much labels must avoid the layer's features.
Note: Other layer types, which have their own LabelDefinition, can also have their features treated as barriers, but this is controlled by their LabelDefinition.featureBoundaryOverlapStrategy and LabelDefinition.featureInteriorOverlapStrategy properties.
Values
- none → const LabelBarrierWeight
-
The feature will not act as a barrier to labels.
- low → const LabelBarrierWeight
-
The feature will be avoided by labels unless that's the only way they can be placed.
Labels will still overlap this feature if that is the only way they can be placed.
- medium → const LabelBarrierWeight
-
The feature will be avoided by labels unless that's the only way they can be placed after trying some additional positions.
Labels will still overlap this feature if that is the only way they can be placed. This is similar to LabelBarrierWeight.low, but the labeling process can try additional intermediate alternative positions. Not all styles of labeling will have additional positions to try.
- high → const LabelBarrierWeight
-
The feature is an exclusion zone for labels.
Labels that overlap the feature will not be placed unless the label is using a deconfliction strategy of LabelDeconflictionStrategy.none or LabelDeconflictionStrategy.dynamicNeverRemove.
Properties
- coreValue → RT_LabelBarrierWeight
-
Convert to internal value.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
LabelBarrierWeight> - A constant List of the values in this enum, in order of their declaration.