Function

NSStringFromCGRect

Returns a string formatted to contain the data from a rectangle.

Declaration

NSString * NSStringFromCGRect(CGRect rect);

Parameters

rect

A Core Graphics structure representing a rectangle.

Return Value

A string that corresponds to rect. See CGRectFromString for a discussion of the string format.

See Also

Primitive Type Conversions

CGAffineTransformFromString

Returns a Core Graphics affine transform structure corresponding to the data in a given string.

CGPointFromString

Returns a Core Graphics point structure corresponding to the data in a given string.

CGRectFromString

Returns a Core Graphics rectangle structure corresponding to the data in a given string.

CGSizeFromString

Returns a Core Graphics size structure corresponding to the data in a given string.

CGVectorFromString

Returns a Core Graphics vector corresponding to the data in a given string.

NSStringFromCGAffineTransform

Returns a string formatted to contain the data from an affine transform.

NSStringFromCGPoint

Returns a string formatted to contain the data from a point.

NSStringFromCGSize

Returns a string formatted to contain the data from a size data structure.

NSStringFromCGVector

Returns a string formatted to contain the data from a vector data structure.