path(_:)

Creates a shape with a custom Bézier path.

Declaration

static func path(_ path: UIBezierPath) -> UIShape