Contents

init(topLeading:bottomLeading:bottomTrailing:topTrailing:)

Creates a new set of corner radii for a rounded rectangle with uneven corners.

Declaration

init(topLeading: CGFloat = 0, bottomLeading: CGFloat = 0, bottomTrailing: CGFloat = 0, topTrailing: CGFloat = 0)

Parameters

  • topLeading:

    The radius of the top-leading corner.

  • bottomLeading:

    The radius of the bottom-leading corner.

  • bottomTrailing:

    The radius of the bottom-trailing corner.

  • topTrailing:

    The radius of the top-trailing corner.