eraserTool
TypeScriptget eraserTool(): PKEraserToolSwift declarationvar eraserTool: PKEraserTool { get }An eraser tool for erasing parts of a drawing.
class · iOS 18.0+ · SDK 27.1
class PKToolPickerEraserItemget eraserTool(): PKEraserToolSwift declarationvar eraserTool: PKEraserTool { get }An eraser tool for erasing parts of a drawing.
static initTypeWidth(type: PKEraserTool_EraserType, width: number): PKToolPickerEraserItemSwift declarationconvenience init(type: PKEraserTool.EraserType, width: CGFloat)Create a new eraser tool item. - Parameters: - type: The eraser type for the tool. - width: The width for the tool.
static initType(type: PKEraserTool_EraserType): PKToolPickerEraserItemSwift declarationconvenience init(type: PKEraserTool.EraserType)Create a new eraser tool item. - Parameter type: The eraser type for the tool.
1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
PKToolPickerEraserItem.init()
inherited init: cannot prove legal (class declares 2 custom initializers)