Function name:- CGRectMake
===========
Declaration
===========
CGRectMake ( CGFloat x, CGFloat y, CGFloat width, CGFloat height );
===========
iOS (2.0 and later)
============
Returns a rectangle with the specified coordinate and size values.
x: The x-coordinate of the rectangle’s origin point.
y: The y-coordinate of the rectangle’s origin point.
width: The width of the rectangle.
height:The height of the rectangle.
Return Value
A rectangle with the specified location and dimensions.
Declaration:- CGGeometry.h
Reference :- CGGeometry Reference
Related API:- CGPointMake , CGSize
Sample Code:-
No comments:
Post a Comment