Returns the x-axis coordinate that establishes the center of a rectangle.
Declaration Syntax
Parameters
- rect (CGRect)
- The rectangle to examine.
Return Value
The x-coordinate of the center of the specified rectangle.
Remarks
Original declaration is : float CGRectGetMidX ( CGRect rect );
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)