Contents

rect(cornerRadius:style:)

A rectangular shape with rounded corners, aligned inside the frame of the view containing it.

Declaration

static func rect(cornerRadius: CGFloat, style: RoundedCornerStyle = .continuous) -> Self

See Also

Getting standard shapes