string(for:)
Returns a string formatted to contain the data from a rectangle.
Declaration
class func string(for rect: CGRect) -> StringParameters
- rect:
A Core Graphics structure representing a rectangle.
Return Value
A string that corresponds to rect. See cgRect(for:) for a discussion of the string format.