Returns the intersection of two rectangles.


A rectangle that is the intersection of the two specified rectangles. If the two rectangles do not intersect, returns the null rectangle. To check for this condition, use CGRectIsNull.

Original declaration is : CGRect CGRectIntersection ( CGRect rect1, CGRect rect2 );

- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)