sdk-maps / com.tomtom.online.sdk.map.style.expression / FormatExpressionSection

FormatExpressionSection

@Beta(2020, 12) class FormatExpressionSection : JniNativeHandleOwner

Represents text and its two format parameters - text size scale and font. Supports escape sequences such as '\n' for multiline strings.

Functions

dispose

fun dispose(): Unit

finalize

fun finalize(): Unit

formatSection

static fun formatSection(text: Expression, fontScale: Expression?, textFont: Expression?): FormatExpressionSection!

Creates a FormatExpressionSection containing provided text, formatted according to provided fontScale and textFont.

getNativeHandle

fun getNativeHandle(): Long