Function piston_window::rectangle::rectangle_by_corners
source · Expand description
Create types::Rectangle
by the two opposite corners.
The corners are in (x0, y0) and (x1, y1).
Create types::Rectangle
by the two opposite corners.
The corners are in (x0, y0) and (x1, y1).