TextRotationAlignment enum

In combination with symbol-placement, determines the rotation behavior of the individual glyphs forming the text.

Inheritance
Implemented types
Available extensions

Values

map → const TextRotationAlignment

When symbol-placement is set to point, aligns text east-west. When symbol-placement is set to line or line-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-placement is set to point, aligns text to the x-axis of the viewport. When symbol-placement is set to line or line-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-placement is set to point, this is equivalent to viewport. When symbol-placement is set to line or line-center, this is equivalent to map.

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.