Type Alias nannou::color::Hwba

source ·
pub type Hwba<S = Srgb, T = f32> = Alpha<Hwb<S, T>, T>;
Expand description

Linear HWB with an alpha component. See the Hwba implementation in Alpha.

Aliased Type§

struct Hwba<S = Srgb, T = f32> {
    pub color: Hwb<S, T>,
    pub alpha: T,
}

Fields§

§color: Hwb<S, T>

The color.

§alpha: T

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