luma

fun luma(builder: LumaGradientBuilder<C>.() -> Unit)(source)

Configures a luma gradient by applying the provided builder block.

Parameters

builder

A lambda function used to define the properties of the luma gradient. The builder block allows customization of attributes such as luminance-based transformations, including specifying minimum and maximum luminance levels.