Type Alias nannou::color::Laba

source ·
pub type Laba<Wp, T = f32> = Alpha<Lab<Wp, T>, T>;
Expand description

CIE L*a*b* (CIELAB) with an alpha component. See the Laba implementation in Alpha.

Aliased Type§

struct Laba<Wp, T = f32> {
    pub color: Lab<Wp, T>,
    pub alpha: T,
}

Fields§

§color: Lab<Wp, T>

The color.

§alpha: T

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