Skip to main content

current_visuals

Function current_visuals 

Source
pub fn current_visuals() -> Visuals
Expand description

Clone and return the active Visuals.

Widget paint() methods call this (via [DrawCtx::visuals]) to look up colours at render time rather than at construction time.