Type Alias palette::luma::GammaLumaa

source ·
pub type GammaLumaa<T = f32> = Lumaa<Gamma<D65>, 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.