Type Alias cosmic::cosmic_theme::palette::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 (or 0u8) is fully transparent and 1.0 (or 255u8) is fully opaque.