RasterColorMix

When raster-color is active, specifies the combination of source RGB channels used to compute the raster value. Computed using the equation mix.r * src.r + mix.g * src.g + mix.b * src.b + mix.a. The first three components specify the mix of source red, green, and blue channels, respectively. The fourth component serves as a constant offset and is not multipled by source alpha. Source alpha is instead carried through and applied as opacity to the colorized result. Default value corresponds to RGB luminosity.

Parameters

value

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

Constructors

Link copied to clipboard

Construct the RasterColorMix with List.

Link copied to clipboard
fun RasterColorMix(expression: Expression)

Construct the RasterColorMix with Mapbox Expression.

Link copied to clipboard
fun RasterColorMix(value: Value)

Types

Link copied to clipboard
object Companion

Public companion object.

Properties

Link copied to clipboard