Type Alias nannou::color::GammaLumaa

source ·
pub type GammaLumaa<T = f32> = Alpha<Luma<Gamma<D65>, T>, T>;
Expand description

Gamma 2.2 encoded luminance with an alpha component.

Aliased Type§

struct GammaLumaa<T = f32> {
    pub color: Luma<Gamma<D65>, T>,
    pub alpha: T,
}

Fields§

§color: Luma<Gamma<D65>, T>

The color.

§alpha: T

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