One Logo Pool Ball
PencilKit · IOS API REFERENCE

PKInkReference

class · iOS 14.0+ · SDK 27.1

class PKInkReference

Members (4)

init · iOS 14.0+

init

TypeScript
static init(type: SDKHandle, color: _UIKit_UIColor): PKInkReference
Swift declaration
init(inkType type: __PKInkType, color: UIColor)
get · iOS 14.0+

color

TypeScript
get color(): _UIKit_UIColor
Swift declaration
var color: UIColor { get }
get · iOS 14.0+

inkType

TypeScript
get inkType(): SDKHandle
Swift declaration
var inkType: __PKInkType { get }
get · iOS 17.0+

requiredContentVersion

TypeScript
get requiredContentVersion(): PKContentVersion
Swift declaration
var requiredContentVersion: PKContentVersion { get }

Skipped declarations

1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

PKInkReference.init()

inherited init: cannot prove legal (class declares 1 custom initializer)

All PencilKit types →