Calculates the smallest rectangle that encloses two rectangles and returns the result as new rectangle.
Rect Class