Creates and returns a new
UIBezier object initialized with a rounded rectangular path.
- iOS 3.2+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The rectangle that defines the basic shape of the path.
A bitmask value that identifies the corners that you want rounded. You can use this parameter to round only a subset of the corners of the rectangle.
The radius of each corner oval. Values larger than half the rectangle’s width or height are clamped appropriately to half the width or height.
A new path object with the rounded rectangular path.
This method creates a closed subpath, proceeding in a clockwise direction (relative to the default coordinate system) as it creates the necessary line and curve segments.