Returns the intersection of two rectangles.
Declaration Syntax
Return Value
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.
Remarks
Original declaration is : CGRect CGRectIntersection ( CGRect rect1, CGRect rect2 );
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)