MonobjcMonobjc Documented Class Library
CGRectIntersectsRect Method (rect1, rect2)
NamespacesMonobjc.ApplicationServicesCGRectCGRectIntersectsRect(CGRect, CGRect)
Indicates whether two rectangles intersect.
Declaration Syntax
C#Visual BasicVisual C++
public static int CGRectIntersectsRect(
	CGRect rect1,
	CGRect rect2
)
Public Shared Function CGRectIntersectsRect ( _
	rect1 As CGRect, _
	rect2 As CGRect _
) As Integer
public:
static int CGRectIntersectsRect(
	CGRect rect1, 
	CGRect rect2
)
Parameters
rect1 (CGRect)
The first rectangle to examine.
rect2 (CGRect)
The second rectangle to examine.
Return Value
Returns 1 if the two specified rectangles intersect; otherwise, 0. The first rectangle intersects the second if the intersection of the rectangles is not equal to the null rectangle.
Remarks
Original declaration is : int CGRectIntersectsRect ( 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)

Assembly: Monobjc.Foundation (Module: Monobjc.Foundation)