Realbasic.Rect.Intersection

From Xojo Documentation

Method

Realbasic.Rect.Intersection(Other As Realbasic.Rect) As Realbasic.Rect

New in 2011r2

Supported for all project types and targets.

Returns a new Rect representing the area the two Rects overlap.