Contents

rect(topLeadingCorner:topTrailingCorner:bottomLeadingCorner:bottomTrailingCorner:)

Creates a rectangle with individual styles for each corner.

Declaration

static func rect(topLeadingCorner: Edge.Corner.Style, topTrailingCorner: Edge.Corner.Style, bottomLeadingCorner: Edge.Corner.Style, bottomTrailingCorner: Edge.Corner.Style) -> Self

Parameters

  • topLeadingCorner:

    The top leading corner style.

  • topTrailingCorner:

    The top trailing corner style.

  • bottomLeadingCorner:

    The bottom leading corner style.

  • bottomTrailingCorner:

    The bottom trailing corner style.

See Also

Creating a rectangle with individual corner styles