MonobjcMonobjc Documented Class Library
CGRectUnion Method (r1, r2)
NamespacesMonobjc.ApplicationServicesCGRectCGRectUnion(CGRect, CGRect)
Returns the smallest rectangle that contains two other specified rectangles.
Declaration Syntax
C#Visual BasicVisual C++
public static CGRect CGRectUnion(
	CGRect r1,
	CGRect r2
)
Public Shared Function CGRectUnion ( _
	r1 As CGRect, _
	r2 As CGRect _
) As CGRect
public:
static CGRect CGRectUnion(
	CGRect r1, 
	CGRect r2
)
Parameters
r1 (CGRect)
The first source rectangle.
r2 (CGRect)
The second source rectangle.
Return Value
The smallest rectangle that completely contains both of the source rectangles.
Remarks
Original declaration is : CGRect CGRectUnion ( CGRect r1, CGRect r2 );
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)