Skip to main content

ring

Function ring 

Source
fn ring(
    img: &mut RgbaImage,
    (cx, cy): (f64, f64),
    radius: f64,
    width: f64,
    colour: Rgba<u8>,
)
Expand description

A ring of radius and width pixels round (cx, cy), in colour.