Contents

init(cornerRadius:style:)

Creates a new rounded rectangle shape.

Declaration

init(cornerRadius: CGFloat, style: RoundedCornerStyle = .continuous)

Parameters

  • cornerRadius:

    The radius of the rounded corners.

  • style:

    The style of corners drawn by the shape.

See Also

Creating a rounded rectangle