pub type Lumaa<S = Srgb, T = f32> = Alpha<Luma<S, T>, T>;
Expand description
Luminance with an alpha component. See the Lumaa
implementation
in Alpha
.
Aliased Type§
struct Lumaa<S = Srgb, T = f32> {
pub color: Luma<S, T>,
pub alpha: T,
}
Fields§
§color: Luma<S, T>
The color.
alpha: T
The transparency component. 0.0 (or 0u8) is fully transparent and 1.0 (or 255u8) is fully opaque.