pub fn linear_color_stop(
color: impl Into<Hsla>,
percentage: f32,
) -> LinearColorStopExpand description
Creates a new linear color stop.
The percentage of the gradient, in the range 0.0 to 1.0.
pub fn linear_color_stop(
color: impl Into<Hsla>,
percentage: f32,
) -> LinearColorStopCreates a new linear color stop.
The percentage of the gradient, in the range 0.0 to 1.0.