UtilitiesFunctionsgetRectCornersVersion: NextgetRectCorners CallablegetRectCorners(rect: Rect2D): Point2D[]Returns the four corners of an axis-aligned rectangle in clockwise order.Parametersrect: Rect2DRectangle to convert.Returns Point2D[]Top-left, top-right, bottom-right, and bottom-left points.
Returns the four corners of an axis-aligned rectangle in clockwise order.