Skip to main content

line

Function line 

Source
fn line(
    img: &mut RgbaImage,
    a: (f64, f64),
    b: (f64, f64),
    width: f64,
    colour: Rgba<u8>,
)
Expand description

A line from a to b, in colour, width pixels thick.