init(_:)
Creates an eraser tool object that removes objects wholly or partially from a canvas view.
Declaration
init(_ eraserType: PKEraserTool.EraserType)Parameters
- eraserType:
A constant that determines how the eraser affects drawn content. For a list of possible values, see Erasertype Swift.enum.
Discussion
This initializer creates a new eraser tool object.