sdk-maps / com.tomtom.online.sdk.map.style.expression.textsettings / TextSettings / Builder / withTextAlignment

withTextAlignment

@Beta(2020, 12) open fun withTextAlignment(textAlignment: Expression!): TextSettings.Builder!

Sets the text alignment.

Parameters

textAlignment - Expression!: The text alignment. Currently supports Literal expression with string Value. Use asString() method of TextAlignment to get the string representation of TextAlignment.

Return
TextSettings.Builder!: A reference to this object.

See Also
LiteralExpressionTextAlignment