Skip to main content

paint_ring

Function paint_ring 

Source
pub fn paint_ring(ui: &Ui, rect: Rect, fraction: Option<f32>, color: Color32)
Expand description

Paints a ring in rect: an arc from the top for fraction, a turning arc when none (still under reduced motion), the arc in color over progress-ring’s track. For a ring that is part of another widget; Ring is the widget.