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

build

@Beta(2020, 12) open fun build(formattedText: FormattedText!): TextSettings!

Creates an instance of TextSettings with parameters set through withXXX methods.

Parameters

formattedText - FormattedText!: The text sections, their size (scale) and font. TextSettings do not support text color embedded in FormattedText. withColor method should be used instead.

Return
TextSettings!: TextSettings.