pub fn centered_square(x: Scalar, y: Scalar, radius: Scalar) -> Rectangle
Expand description

Create types::Rectangle for a square with a center in (x, y) and side 2 * radius.