requiredContentVersion
TypeScriptget requiredContentVersion(): PKContentVersionSwift declarationvar requiredContentVersion: PKContentVersion { get }The PencilKit version required to use this ink.
struct · iOS 14.0+ · SDK 27.1
struct PKInkPKInk provides a description of how marks on a PKCanvas render and are created.
get requiredContentVersion(): PKContentVersionSwift declarationvar requiredContentVersion: PKContentVersion { get }The PencilKit version required to use this ink.
get color(): _UIKit_UIColorSwift declarationvar color: UIColor { get set }set color(value: _UIKit_UIColor)Swift declarationvar color: UIColor { get set }get inkType(): PKInkingTool_InkTypeSwift declarationvar inkType: PKInk.InkType { get set }The type of ink.
set inkType(value: PKInkingTool_InkType)Swift declarationvar inkType: PKInk.InkType { get set }The type of ink.
static init(inkType: PKInkingTool_InkType, color?: _UIKit_UIColor): PKInkSwift declarationinit(_ inkType: PKInk.InkType, color: UIColor = UIColor.black)No declarations were skipped in this snapshot.