init(size:)
Initializes a new region with a rectangular area.
Declaration
init(size: CGSize)Parameters
- size:
The size of the rectangle in points.
Return Value
A newly initialized region. The region is rectangular and centered on the origin.
Initializes a new region with a rectangular area.
init(size: CGSize)The size of the rectangle in points.
A newly initialized region. The region is rectangular and centered on the origin.