init(radius:)
Initializes and returns a region with a circular shape of the specified radius.
Declaration
init(radius: CGFloat)Parameters
- radius:
The radius of the circular area, specified in points.
Return Value
A circular region with the specified radius.
Discussion
The center of the circle is the origin of the region’s coordinate system.