zng_wgt_fill::node

Function radial_gradient

source
pub fn radial_gradient<C, R, S>(
    center: C,
    radius: R,
    stops: S,
) -> RadialGradient<S::Var, C::Var, R::Var, LocalVar<ExtendMode>>
Expand description

Starts building a radial gradient with the radius and color stops.

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