init(ovalIn:)
Creates and returns a new Bézier path object initialized with an oval path inscribed in the specified rectangle.
Declaration
init(ovalIn rect: NSRect)Parameters
- rect:
The rectangle in which to inscribe an oval.
Return Value
An NSBezierPath new path object with the oval path.
Discussion
If the aRect parameter specifies a square, the inscribed path is a circle. The path is constructed by starting in the lower-right quadrant of the rectangle and adding arc segments counterclockwise to complete the oval.