pub fn paint(id: &str) -> Option<Paint>
Resolve a paint slot (solid or gradient) in the active mode. A plain Slot::Color is promoted to Paint::Solid. None for missing or non-paintable slots (e.g. a text-style).
Slot::Color
Paint::Solid
None