Type Alias nannou::color::LinLumaa

source ·
pub type LinLumaa<Wp = D65, T = f32> = Alpha<Luma<Linear<Wp>, T>, T>;
Expand description

Linear luminance with an alpha component.

Aliased Type§

struct LinLumaa<Wp = D65, T = f32> {
    pub color: Luma<Linear<Wp>, T>,
    pub alpha: T,
}

Fields§

§color: Luma<Linear<Wp>, T>

The color.

§alpha: T

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