UtilsLib REALbasic Support Plugin

Rect.Union Method

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

Union(
   r2 as Rect) as Rect

Parameters

r2
The rectangle to union with.

Returns

Rect

Remarks

See Also

Rect Class