Skip to main content

Module color

Module color 

Source
Expand description

A plain RGB color value, shared by anything in this crate that needs one — compositor backgrounds, layer/text colors, and so on. Kept in core rather than under a specific element’s module because nothing about it is pipeline- or backend-specific.

Structs§

Color
An opaque RGB color (no alpha — compositor output is always opaque; per-layer translucency is a separate opacity field, not per-pixel alpha here).