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.
Creates an empty path, then executes a closure to add its initial elements.
init(_ callback: (inout Path) -> ())The Swift function that will be called to initialize the new path.