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