Contents

path(in:)

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

Declaration

nonisolated func path(in rect: CGRect) -> Path

Parameters

  • rect:

    The frame of reference for describing this shape.

Return Value

A path that describes this shape.

See Also

Defining a shape’s size and path