roundedRectangle(radius:)
A rounded rectangle shape.
Declaration
static func roundedRectangle(radius: CGFloat) -> ButtonBorderShapeParameters
- radius:
The corner radius of the rectangle.
Discussion
Use the buttonBorderShape(_:) view modifier to apply the shape to bordered buttons within a view hierarchy.