RectX extension

on

Methods

containsRect(Rect child) → bool

Available on Rect, provided by the RectX extension

Returns whether the child is completely encapsulated by the Rect.
scale(double factor) → Rect

Available on Rect, provided by the RectX extension

Proportionally scales the Rect by the factor.