init(CGRect:)
Creates a new value object containing the specified CoreGraphics rectangle structure.
Declaration
init(CGRect rect: CGRect)init(cgRect rect: CGRect)Parameters
- rect:
The value for the new object.
Return Value
A new value object that contains the rectangle information.