Type Alias nannou::draw::properties::LinSrgba
source · pub type LinSrgba = DefaultLinSrgba;
Expand description
The RGBA type used by the Common
params.
Aliased Type§
struct LinSrgba {
pub color: Rgb<Linear<Srgb>>,
pub alpha: f32,
}
Fields§
§color: Rgb<Linear<Srgb>>
The color.
alpha: f32
The transparency component. 0.0 is fully transparent and 1.0 is fully opaque.