Type Alias nannou::color::Lcha

source ·
pub type Lcha<Wp, T = f32> = Alpha<Lch<Wp, T>, T>;
Expand description

CIE L*C*h° with an alpha component. See the Lcha implementation in Alpha.

Aliased Type§

struct Lcha<Wp, T = f32> {
    pub color: Lch<Wp, T>,
    pub alpha: T,
}

Fields§

§color: Lch<Wp, T>

The color.

§alpha: T

The transparency component. 0.0 is fully transparent and 1.0 is fully opaque.