PKInk A structure that represents an ink that specifies its type, color, and width. Declarationstruct PKInk Mentioned inSupporting backward compatibility for ink types TopicsCreating an ink objectinit(_:color:)init(_:color:)PKInk.InkTypeGetting the ink attributescolorcolorinkTypeSupporting backward compatibilityrequiredContentVersionUsing reference typesPKInkReference RelationshipsConforms ToCopyableEscapableSendableSendableMetatype See AlsoCanvasDrawing with PencilKitCustomizing Scribble with InteractionsInspecting, Modifying, and Constructing PencilKit DrawingsImporting Bézier path data into PencilKitControlling stroke rendering for animation and editingPKCanvasViewPKDrawingPKStrokePKStrokePathPKStrokePoint