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

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