TypeLib Xojo support Plugin

Rectangle.Union Method

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

Union(
   r2 as EinhugurGeometry.Rectangle) as EinhugurGeometry.Rectangle

Parameters

r2
The rectangle to union with.

Returns

EinhugurGeometry.Rectangle

Remarks

See Also

Rectangle Class