Function

CGSizeMake

Returns a size with the specified dimension values.

Declaration

CGSize CGSizeMake(CGFloat width, CGFloat height);

Parameters

width

A width value.

height

A height value.

Return Value

Returns a CGSize structure with the specified width and height.

See Also

Creating a Geometric Primitive from Values

CGPointMake

Returns a point with the specified coordinates.

CGRectMake

Returns a rectangle with the specified coordinate and size values.

CGVectorMake

Returns a vector with the specified dimension values.