Contents

init(eraserType:)

Creates an eraser tool object that removes objects wholly or partially from a canvas view.

Declaration

init(eraserType: __PKEraserType)

Parameters

  • eraserType:

    A constant that determines how the eraser affects drawn content. For a list of possible values, see Pkerasertype.

Return Value

A new eraser tool object.

See Also

Creating an eraser tool