linear_gradient

Function linear_gradient 

Source
pub fn linear_gradient(
    axis: impl IntoVar<LinearGradientAxis>,
    stops: impl IntoVar<GradientStops>,
) -> LinearGradient
Expand description

Starts building a linear gradient with the axis and color stops.

Returns a node that is also a builder that can be used to refine the gradient definition.