pub fn fill(p: &mut dyn Painter, color: Color)Expand description
Fills the whole drawing surface with a color.
This is the background of most Widgets, and usually the first thing their paint draws.
ยงArguments
p- The painter, targeting theWidget.color- The fill color.