MonobjcMonobjc Documented Class Library
CGRectIntersectsRect Method (rect1, rect2)
NamespacesMonobjc.ApplicationServicesCGGeometryCGRectIntersectsRect(CGRect, CGRect)

Returns whether two rectangles intersect.

Original signature is 'bool CGRectIntersectsRect ( CGRect rect1, CGRect rect2 );'

Available in Mac OS X v10.0 and later.

Declaration Syntax
C#Visual BasicVisual C++
public static bool CGRectIntersectsRect(
	CGRect rect1,
	CGRect rect2
)
Public Shared Function CGRectIntersectsRect ( _
	rect1 As CGRect, _
	rect2 As CGRect _
) As Boolean
public:
static bool CGRectIntersectsRect(
	CGRect rect1, 
	CGRect rect2
)
Parameters
rect1 (CGRect)
MISSING
rect2 (CGRect)
MISSING
Return Value
true if the two specified rectangles intersect; otherwise, false. The first rectangle intersects the second if the intersection of the rectangles is not equal to the null rectangle.
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.AppKit (Module: Monobjc.AppKit)