Type Alias Oklaba

Source
pub type Oklaba<T = f32> = Alpha<Oklab<T>, T>;
Expand description

Oklab with an alpha component.

Aliased Type§

#[repr(C)]
pub struct Oklaba<T = f32> { pub color: Oklab<T>, pub alpha: T, }

Fields§

§color: Oklab<T>

The color.

§alpha: T

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