Contents

rect(cornerRadius:cornerCurve:maskedCorners:)

Creates a rectangular shape with rounded corners, using the provided corner radius, corner curve, and rectangle corners.

Declaration

static func rect(cornerRadius: CGFloat, cornerCurve: UICornerCurve = .automatic, maskedCorners: UIRectCorner = .allCorners) -> UIShape

See Also

Creating a hover shape