Contents

init(uniformLeadingCorners:topTrailingCorner:bottomTrailingCorner:)

Create a rectangle with a corner style set on the leading two corners uniformly, and two other styles for the trailing two corners respectively.

Declaration

init(uniformLeadingCorners: Edge.Corner.Style = .concentric, topTrailingCorner: Edge.Corner.Style = .concentric, bottomTrailingCorner: Edge.Corner.Style = .concentric)

Parameters

  • uniformLeadingCorners:

    The corner style to be applied to the leading two corners uniformly.

  • topTrailingCorner:

    The corner style for the top trailing corner.

  • bottomTrailingCorner:

    The corner style for the bottom trailing corner.