Skip to main content

paint_level_gauge

Function paint_level_gauge 

pub fn paint_level_gauge(
    scene: &mut Scene,
    transform: Affine,
    rect: Rect,
    level: f64,
    theme: &Theme,
)
Expand description

A charge gauge at rect: a rounded rim in the secondary ink, filled to level (0 to 1) in the primary ink.