TextRotationAlignment enum
In combination with
symbol-placement,
determines the rotation behavior of the individual glyphs forming the text.
Values
- map → const TextRotationAlignment
-
When
symbol-placementis set topoint, aligns text east-west. Whensymbol-placementis set tolineorline-center, aligns text x-axes with the line.const TextRotationAlignment('map') - viewport → const TextRotationAlignment
-
Produces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value of
symbol-placement.const TextRotationAlignment('viewport') - viewportGlyph → const TextRotationAlignment
-
When
symbol-placementis set topoint, aligns text to the x-axis of the viewport. Whensymbol-placementis set tolineorline-center, aligns glyphs to the x-axis of the viewport and places them along the line.const TextRotationAlignment('viewport-glyph') - auto → const TextRotationAlignment
-
When
symbol-placementis set topoint, this is equivalent toviewport. Whensymbol-placementis set tolineorline-center, this is equivalent tomap.const TextRotationAlignment('auto')
Properties
- 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
- value → String
-
The string of this value in the style spec.
final
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<
TextRotationAlignment> - A constant List of the values in this enum, in order of their declaration.