Contents

init(_:)

Creates an empty path, then executes a closure to add its initial elements.

Declaration

init(_ callback: (inout Path) -> ())

Parameters

  • callback:

    The Swift function that will be called to initialize the new path.

See Also

Creating a path