Type Alias Yxya

Source
pub type Yxya<Wp = D65, T = f32> = Alpha<Yxy<Wp, T>, T>;
Expand description

CIE 1931 Yxy (xyY) with an alpha component. See the Yxya implementation in Alpha.

Aliased Type§

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

Fields§

§color: Yxy<Wp, T>

The color.

§alpha: T

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