zng::color

Function hsla_linear_sampler

source
pub fn hsla_linear_sampler<T>(t: &Transition<T>, step: Factor) -> T
where T: Transitionable,
Expand description

Animation sampler that sets the lerp_space to LerpSpace::HslaLinear.

Samplers can be set in animations using the Var::easing_with method.