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

withOffset

open fun withOffset(offset: Expression!): TextSettings.Builder!

Sets the text offset in relation to the parent entity, in ems.

Parameters

offset - Expression!: The offset of text in relation to the parent entity, in ems. Currently supports Literal expression with a Value that is a vector of 2 doubles.

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