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.