Type Alias Cam16a

Source
pub type Cam16a<T> = Alpha<Cam16<T>, T>;
Expand description

CIE CAM16 with an alpha component.

See the Cam16a implementation in Alpha.

Aliased Type§

#[repr(C)]
pub struct Cam16a<T> { pub color: Cam16<T>, pub alpha: T, }

Fields§

§color: Cam16<T>

The color.

§alpha: T

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