Skip to main content

sample_stops

Function sample_stops 

Source
pub fn sample_stops(stops: &[GradientStop], t: f32) -> Hsla
Expand description

Samples a multi-stop gradient at t in 0.0..=1.0.