Type Alias nannou::color::rgb::LinSrgba

source ·
pub type LinSrgba<T = f32> = Alpha<Rgb<Linear<Srgb>, T>, T>;
Expand description

Linear sRGB with an alpha component.

Aliased Type§

struct LinSrgba<T = f32> {
    pub color: Rgb<Linear<Srgb>, T>,
    pub alpha: T,
}

Fields§

§color: Rgb<Linear<Srgb>, T>

The color.

§alpha: T

The transparency component. 0.0 is fully transparent and 1.0 is fully opaque.