pub type DefaultLinSrgba = LinSrgba<DefaultScalar>;
Expand description

A LinSrgba type with the default Scalar.

Aliased Type§

struct DefaultLinSrgba {
    pub color: Rgb<Linear<Srgb>>,
    pub alpha: f32,
}

Fields§

§color: Rgb<Linear<Srgb>>

The color.

§alpha: f32

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