pub fn square(x: f64, y: f64, size: f64) -> [f64; 4]
Expand description

Create types::Rectangle for a square with a top-left corner in (x, y) and side size.