Contents

init(uniformTrailingCorners:topLeadingCorner:bottomLeadingCorner:)

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

Declaration

init(uniformTrailingCorners: Edge.Corner.Style = .concentric, topLeadingCorner: Edge.Corner.Style = .concentric, bottomLeadingCorner: Edge.Corner.Style = .concentric)

Parameters

  • uniformTrailingCorners:

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

  • topLeadingCorner:

    The corner style for the top leading corner.

  • bottomLeadingCorner:

    The corner style for the bottom leading corner.