rect(topLeadingCorner:topTrailingCorner:bottomLeadingCorner:bottomTrailingCorner:)
A rectangle shape that is aligned inside the frame of the view containing it. Each of the corners can be customized in style to be square, rounded, or concentric to the container shape.
Declaration
static func rect(topLeadingCorner: Edge.Corner.Style, topTrailingCorner: Edge.Corner.Style, bottomLeadingCorner: Edge.Corner.Style, bottomTrailingCorner: Edge.Corner.Style) -> SelfParameters
- topLeadingCorner:
The top leading corner style.
- topTrailingCorner:
The top trailing corner style.
- bottomLeadingCorner:
The bottom leading corner style.
- bottomTrailingCorner:
The bottom trailing corner style.