Contents

rect(corners:isUniform:)

A rectangle shape that is aligned inside the frame of the view containing it. The same corner style will be set on four corners to be square, rounded, or concentric to the container shape.

Declaration

static func rect(corners: Edge.Corner.Style, isUniform: Bool = false) -> Self

Parameters

  • corners:

    The corner style for all four corners.

  • isUniform:

    Should the corner style on each corner be applied individually or uniformly.