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

LiteralExpression

@Beta(2020, 12) class LiteralExpression : Expression

Literal expression wrapping given value.

Functions

color

static fun color(red: Int, green: Int, blue: Int, alpha: Int): LiteralExpression!
static fun color(color: Int): LiteralExpression!

Creates literal expression wrapping given color.

dispose

fun dispose(): Unit

finalize

fun finalize(): Unit

getNativeHandle

fun getNativeHandle(): Long

number

static fun number(value: Double): LiteralExpression!

Creates literal expression wrapping given double value.

string

static fun string(value: String!): LiteralExpression!

Creates literal expression wrapping given text.

value

static fun value(value: Value!): LiteralExpression!

Creates literal expression wrapping given Value.