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
The radius of each corner oval. A value of
0results in a rectangle without rounded corners. 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.