Type Alias cosmic::cosmic_theme::palette::SrgbLumaa
source · pub type SrgbLumaa<T = f32> = Alpha<Luma<Srgb, T>, T>;
Expand description
sRGB encoded luminance with an alpha component.
Aliased Type§
struct SrgbLumaa<T = f32> {
pub color: Luma<Srgb, T>,
pub alpha: T,
}
Fields§
§color: Luma<Srgb, T>
The color.
alpha: T
The transparency component. 0.0 (or 0u8) is fully transparent and 1.0 (or 255u8) is fully opaque.