TextRotationAlignment

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

enum TextRotationAlignment : Enum<TextRotationAlignment> , LayerProperty

Parameters

value

String value of this property

Entries

MAP
Link copied to clipboard

When {@link SYMBOL_PLACEMENT} is set to {@link Property#SYMBOL_PLACEMENT_POINT}, aligns text east-west. When {@link SYMBOL_PLACEMENT} is set to {@link Property#SYMBOL_PLACEMENT_LINE} or {@link Property#SYMBOL_PLACEMENT_LINE_CENTER}, aligns text x-axes with the line.

MAP("map")
VIEWPORT
Link copied to clipboard

Produces glyphs whose x-axes are aligned with the x-axis of the viewport, regardless of the value of {@link SYMBOL_PLACEMENT}.

VIEWPORT("viewport")
AUTO
Link copied to clipboard

When {@link SYMBOL_PLACEMENT} is set to {@link Property#SYMBOL_PLACEMENT_POINT}, this is equivalent to {@link Property#TEXT_ROTATION_ALIGNMENT_VIEWPORT}. When {@link SYMBOL_PLACEMENT} is set to {@link Property#SYMBOL_PLACEMENT_LINE} or {@link Property#SYMBOL_PLACEMENT_LINE_CENTER}, this is equivalent to {@link Property#TEXT_ROTATION_ALIGNMENT_MAP}.

AUTO("auto")

Functions

compareTo
Link copied to clipboard
operator override fun compareTo(other: TextRotationAlignment): Int
equals
Link copied to clipboard
operator override fun equals(other: Any?): Boolean
finalize
Link copied to clipboard
override fun finalize()
getDeclaringClass
Link copied to clipboard
override fun getDeclaringClass(): Class<TextRotationAlignment>
hashCode
Link copied to clipboard
override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

name
Link copied to clipboard
override val name: String
ordinal
Link copied to clipboard
override val ordinal: Int
value
Link copied to clipboard

String value of this property

open override val value: String