pub fn sample_stops(stops: &[ColorStop], t: f32, space: GradientSpace) -> ColorExpand description
Sample the stops at position t using the requested interpolation
space. Stops need not be sorted. t may fall outside [0, 1].
pub fn sample_stops(stops: &[ColorStop], t: f32, space: GradientSpace) -> ColorSample the stops at position t using the requested interpolation
space. Stops need not be sorted. t may fall outside [0, 1].