Xojo.Core.Rect.Intersection
From Xojo Documentation
Method
Xojo.Core.Rect.Intersection(Other As Xojo.Core.Rect) As Xojo.Core.Rect
Supported for all project types and targets.
Supported for all project types and targets.
Calculates the area of intersection with the other rect.