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

withFont

open fun withFont(font: Expression!): TextSettings.Builder!

Sets the font to use for all text sections. This setting might be overridden by individual FormatExpressionSection's parameters.

Parameters

font - Expression!: The font to use for all text sections. Currently supports Literal expression with string Value. Defaults to "Noto-Regular".

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

See Also
LiteralExpression