CGRect
Undocumented
-
Creates a new rect with given center and size.
Declaration
Swift
@available(* 0.0.8, *) public init(center: CGPoint, size: CGSize)
Parameters
center
Center of the rectangle.
size
Size of the rectangle.
Return Value
Properly initialized instance.