Type Alias nannou::draw::properties::color::DefaultSrgba
source · pub type DefaultSrgba = Srgba<DefaultScalar>;
Expand description
A Srgba type with the default Scalar.
Aliased Type§
struct DefaultSrgba {
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.