A tool for selecting stroked lines in a canvas view.
Mac Catalyst 13.0+
A PKLassoToolReference object supports the selection of content on a PKCanvasView. When this tool is active, the canvas uses incoming touch events to determine what content to add to the selection.
Create a lasso tool programmatically or display a PKToolPicker object and let the user pick it. Assign the resulting object to the tool property of your PKCanvasView object. The canvas uses any subsequent touch sequences to select content on the canvas.