LabelStackAlignment enum

The strategy for how multi-row (stacked) text should be horizontally aligned.

Multi-row text labels can each be horizontally aligned on the left, right or at their center. By using the LabelStackAlignment, the user can choose to use the TextSymbol.horizontalAlignment property for all labels, or can choose to have the most aesthetic alignment calculated case-by-case for each label depending on its placement position around its feature. This is particularly useful for labels of dense point features, where labels may move above, below, left or right of their point symbol, in order to fit on the display.

Inheritance
Available extensions

Values

automatic → const LabelStackAlignment

The default behavior is to use LabelStackAlignment.textSymbol.

This value corresponds to no value being specified for a LabelDefinition.stackAlignment property.

dynamic → const LabelStackAlignment

Set the alignment depending upon the label's position with respect to its feature.

Have the alignment decided case-by-case for each label depending on its placement position around its feature. This is particularly useful for labels of dense point features, where labels may move above, below, left or right of their point symbol, in order to fit on the display. For example, a stack to the right of a point symbol will be left-aligned.

textSymbol → const LabelStackAlignment

Follow the alignment specified by the TextSymbol.horizontalAlignment.

Properties

coreValue → RT_LabelStackAlignment
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<LabelStackAlignment>
A constant List of the values in this enum, in order of their declaration.