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

withMaxWidth

open fun withMaxWidth(maxWidth: Expression!): TextSettings.Builder!

Sets the maximum width of the text, in ems. Line breaking is done between words.

Parameters

maxWidth - Expression!: The maximum width of the text in ems. Currently supports Literal expression with double Value.

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