Type Alias nannou::color::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§

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 is fully transparent and 1.0 is fully opaque.