Skip to main content

RGBA

Type Alias RGBA 

Source
pub type RGBA = LinSrgba<f64>;

Aliased Type§

#[repr(C)]
pub struct RGBA { pub color: Rgb<Linear<Srgb>, f64>, pub alpha: f64, }

Fields§

§color: Rgb<Linear<Srgb>, f64>

The color.

§alpha: f64

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