Realbasic.Rect.Union

From Xojo Documentation

Method

Realbasic.Rect.Union(Other As Realbasic.Rect) As Realbasic.Rect

New in 2011r2

Supported for all project types and targets.

Creates a new Rect containing both rects.