init(style:)
Creates a new capsule shape.
Declaration
init(style: RoundedCornerStyle = .continuous)Parameters
- style:
The style of corners drawn by the shape.
Creates a new capsule shape.
init(style: RoundedCornerStyle = .continuous)The style of corners drawn by the shape.