Function ribir_geom::rect_corners
source ยท pub fn rect_corners<T, U>(rect: &Rect<T, U>) -> [Point2D<T, U>; 4]
Expand description
Return the four corners of a rectangle: [left-top, right-top, right-bottom, left-bottom]
pub fn rect_corners<T, U>(rect: &Rect<T, U>) -> [Point2D<T, U>; 4]
Return the four corners of a rectangle: [left-top, right-top, right-bottom, left-bottom]