Color

data class Color(val value: Value)

The color of the atmosphere region immediately below the horizon and within the range and above the horizon and within horizon-blend. Using opacity is recommended only for smoothly transitioning fog on/off as anything less than 100% opacity results in more tiles loaded and drawn.

Parameters

value

the property wrapped in Value to be used with native renderer.

Constructors

Link copied to clipboard
fun Color(value: Color)

Construct the Color with androidx.compose.ui.graphics.Color.

Link copied to clipboard
fun Color(expression: Expression)

Construct the Color with Mapbox Expression.

Link copied to clipboard
fun Color(value: Value)

Types

Link copied to clipboard
object Companion

Public companion object.

Properties

Link copied to clipboard