[−][src]Function graphics::rectangle::square
pub fn square(x: Scalar, y: Scalar, size: Scalar) -> Rectangle
Create types::Rectangle
for a square with a top-left corner in (x
, y
)
and side size
.
pub fn square(x: Scalar, y: Scalar, size: Scalar) -> Rectangle
Create types::Rectangle
for a square with a top-left corner in (x
, y
)
and side size
.