RectX extension
- on
Methods
-
containsOffset(
Offset offset) → bool - Check if {offset} is inside the rectangle
-
divideRect(
) → (Rect, Rect, Rect, Rect) -
getFarthestPoint(
Offset offset) → Offset - Get the farthest corner from {offset}
-
randomOffset(
) → Offset - Get random offset inside the rectangle