Type Alias cosmic::cosmic_theme::palette::xyz::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 (or 0u8) is fully transparent and 1.0 (or 255u8) is fully opaque.