sdk-maps / com.tomtom.online.sdk.map.style.expression.value / ColorValue / create

create

@Beta(2020, 12) open static fun create(color: Int): ColorValue!

Creates ColorValue object wrapping color value.

Parameters

color - Int: Color value to be wrapped

Return
ColorValue!: ColorValue wrapping boolean value.

@Beta(2020, 12) open static fun create(red: Int, green: Int, blue: Int, alpha: Int): ColorValue!

Creates ColorValue object wrapping color value.

Parameters

red - Int: The red component of the color.

green - Int: The green component of the color.

blue - Int: The blue component of the color.

alpha - Int: The alpha component of the color.

Return
ColorValue!: ColorValue wrapping boolean value.