Constructs the canonical empty rectangle.
Use isEmpty() to test for empty rectangles, since they have more than one representation.
new Interval(0, 0) is not the same as the empty Rect.
Expands the rectangle to include the given rectangle.
This is the same as replacing the rectangle by the union of the two rectangles, but is more efficient.
Returns a rectangle that has been expanded in the x-direction by margin.X, and in y-direction by margin.Y.
If either margin is empty, then shrink the interval on the corresponding sides instead.
The resulting rectangle may be empty.
Any expansion of an empty rectangle remains empty.
Rect represents a closed axis-aligned rectangle in the (x,y) plane.