Contents

fixedRect(_:cornerRadius:cornerCurve:maskedCorners:)

Creates a fixed rectangular shape that uses the provided rectangle as its shape, regardless of the frame that contains it.

Declaration

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

See Also

Creating a hover shape