Type Alias nannou::color::luma::Lumaa

source ·
pub type Lumaa<S = Srgb, T = f32> = Alpha<Luma<S, T>, T>;
Expand description

Luminance with an alpha component. See the Lumaa implementation in Alpha.

Aliased Type§

struct Lumaa<S = Srgb, T = f32> {
    pub color: Luma<S, T>,
    pub alpha: T,
}

Fields§

§color: Luma<S, T>

The color.

§alpha: T

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