Function zng_wgt_fill::node::linear_gradient
source ยท pub fn linear_gradient<A: IntoVar<LinearGradientAxis>, S: IntoVar<GradientStops>>(
axis: A,
stops: S,
) -> LinearGradient<S::Var, A::Var, LocalVar<ExtendMode>>
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.