[−][src]Function graphics::rectangle::rectangle_by_corners
pub fn rectangle_by_corners(
x0: Scalar,
y0: Scalar,
x1: Scalar,
y1: Scalar
) -> Rectangle
Create types::Rectangle
by the two opposite corners.
The corners are in (x0, y0) and (x1, y1).