Type Alias zng_color::gradient::RenderGradientStop
source · pub type RenderGradientStop = GradientStop;
Expand description
Computed GradientStop
.
The color offset is in the 0..=1 range.
Aliased Type§
struct RenderGradientStop {
pub offset: f32,
pub color: Rgba,
}
Fields§
§offset: f32
Offset in pixels.
color: Rgba
Color at the offset.