pub fn toggle( x: f32, y: f32, w: f32, h: f32, on: bool, on_col: Rgba, track: Rgba, ) -> Draw
Toggle switch; on slides the knob and recolours the rail.
on