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 (or 0u8) is fully transparent and 1.0 (or 255u8) is fully opaque.