Instance Method

path(in:)

Describes this shape as a path within a rectangular frame of reference.

Required.

Declaration

func path(in rect: CGRect) -> Path

Parameters

rect

The frame of reference for describing this shape.

Return Value

A path that describes this shape.