MonobjcMonobjc Documented Class Library
CGRectMake Method (x, y, width, height)
NamespacesMonobjc.ApplicationServicesCGRectCGRectMake(Single, Single, Single, Single)
Returns a rectangle structure constructed from coordinate and dimension values you provide.
Declaration Syntax
C#Visual BasicVisual C++
public static CGRect CGRectMake(
	float x,
	float y,
	float width,
	float height
)
Public Shared Function CGRectMake ( _
	x As Single, _
	y As Single, _
	width As Single, _
	height As Single _
) As CGRect
public:
static CGRect CGRectMake(
	float x, 
	float y, 
	float width, 
	float height
)
Parameters
x (Single)
The x-coordinate of the rectangle�s origin point.
y (Single)
The y-coordinate of the rectangle�s origin point.
width (Single)
The width of the rectangle.
height (Single)
The height of the rectangle.
Return Value
Returns a rectangle with the specified location and dimensions.
Remarks
Original declaration is : CGRect CGRectMake ( float x, float y, float width, float height );
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)