Contents

init(style:)

Creates a new capsule shape.

Declaration

init(style: RoundedCornerStyle = .continuous)

Parameters

  • style:

    The style of corners drawn by the shape.