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

withSymbolAnchor

open fun withSymbolAnchor(symbolAnchor: Expression!): TextSettings.Builder!

Anchor determines which part of the text should be aligned with the parent entity.

Parameters

symbolAnchor - Expression!: The part of the text that should be aligned with the parent entity. Currently supports Literal expression with string Value. Use asString() method of SymbolAnchor to get the string representation of SymbolAnchor.

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

See Also
LiteralExpressionSymbolAnchor