rectangle

Function rectangle 

Source
pub fn rectangle(
    canvas: &mut Canvas,
    corner_x: f64,
    corner_y: f64,
    width: f64,
    height: f64,
    brightness: f64,
)
Expand description

Draws a rectangle with specified top-left corner, width and height on a Canvas object.