linear

fun linear(builder: LinearGradientBuilder<C>.() -> Unit)(source)

Configures a linear gradient by applying the provided builder block.

Parameters

builder

A lambda function used to define the properties of the linear gradient. The builder block allows customization of attributes such as start and end positions.