Indicates whether the first rectangle contains the second rectangle.
Declaration Syntax
Return Value
Returns 1 if the rectangle specified by rect2 is contained in the rectangle passed in rect1; otherwise, 0. The first rectangle contains the second if the union of the two rectangles is equal to the first rectangle.
Remarks
Original declaration is : int CGRectContainsRect ( 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)