Type Alias nannou::color::Hsva

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

Linear HSV with an alpha component. See the Hsva implementation in Alpha.

Aliased Type§

struct Hsva<S = Srgb, T = f32> {
    pub color: Hsv<S, T>,
    pub alpha: T,
}

Fields§

§color: Hsv<S, T>

The color.

§alpha: T

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