One Logo Pool Ball
PencilKit · IOS API REFERENCE

PKEraserToolReference

class · iOS 13.0+ · SDK 27.1

class PKEraserToolReference

Members (7)

static · iOS 16.4+

defaultWidth

TypeScript
static defaultWidth(eraserType: SDKHandle): number
Swift declaration
class func defaultWidth(for eraserType: __PKEraserType) -> CGFloat
static · iOS 16.4+

maximumWidth

TypeScript
static maximumWidth(eraserType: SDKHandle): number
Swift declaration
class func maximumWidth(for eraserType: __PKEraserType) -> CGFloat
static · iOS 16.4+

minimumWidth

TypeScript
static minimumWidth(eraserType: SDKHandle): number
Swift declaration
class func minimumWidth(for eraserType: __PKEraserType) -> CGFloat
init · iOS 13.0+

init

TypeScript
static initEraserType(eraserType: SDKHandle): PKEraserToolReference
Swift declaration
init(eraserType: __PKEraserType)
init · iOS 16.4+

init

TypeScript
static initEraserTypeWidth(eraserType: SDKHandle, width: number): PKEraserToolReference
Swift declaration
init(eraserType: __PKEraserType, width: CGFloat)
get · iOS 13.0+

eraserType

TypeScript
get eraserType(): SDKHandle
Swift declaration
var eraserType: __PKEraserType { get }
get · iOS 16.4+

width

TypeScript
get width(): number
Swift declaration
var width: CGFloat { get }

Skipped declarations

No declarations were skipped in this snapshot.

All PencilKit types →