zng::color::gradient

Function gradient

Source
pub fn gradient<S>(
    stops: S,
) -> GradientBuilder<<S as IntoVar<GradientStops>>::Var>
Expand description

Starts building a gradient with the color stops.