Type Alias Xyza

Source
pub type Xyza<Wp = D65, T = f32> = Alpha<Xyz<Wp, T>, T>;
Expand description

CIE 1931 XYZ with an alpha component. See the Xyza implementation in Alpha.

Aliased Type§

#[repr(C)]
pub struct Xyza<Wp = D65, T = f32> { pub color: Xyz<Wp, T>, pub alpha: T, }

Fields§

§color: Xyz<Wp, T>

The color.

§alpha: T

The transparency component. 0.0 (or 0u8) is fully transparent and 1.0 (or 255u8) is fully opaque.