style::values::computed::color

Type Alias ColorPropertyValue

source
pub type ColorPropertyValue = AbsoluteColor;
Expand description

The computed value of the color property.

Aliased Type§

struct ColorPropertyValue {
    pub components: ColorComponents,
    pub alpha: f32,
    pub color_space: ColorSpace,
    pub flags: ColorFlags,
}

Fields§

§components: ColorComponents

The 3 components that make up colors in any color space.

§alpha: f32

The alpha component of the color.

§color_space: ColorSpace

The current color space that the components represent.

§flags: ColorFlags

Extra flags used durring serialization of this color.