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

withSize

open fun withSize(size: Expression!): TextSettings.Builder!

Sets the base text size to use for all text sections, in pixels. Individual FormatExpressionSections can use the scale parameter to scale the size of the text relative to this setting.

Parameters

size - Expression!: The base text size to use for all text sections, in pixels. Currently supports Literal expression with double Value. Defaults to 15.

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

See Also
LiteralExpression