Type Alias cosmic::cosmic_theme::palette::okhsv::Okhsva

source ·
pub type Okhsva<T = f32> = Alpha<Okhsv<T>, T>;
Expand description

Okhsv with an alpha component. See the Okhsva implementation in Alpha.

Aliased Type§

struct Okhsva<T = f32> {
    pub color: Okhsv<T>,
    pub alpha: T,
}

Fields§

§color: Okhsv<T>

The color.

§alpha: T

The transparency component. 0.0 (or 0u8) is fully transparent and 1.0 (or 255u8) is fully opaque.