Expand description
§Bindings to the PencilKit framework
See Apple’s docs and the general docs on framework crates for more information.
Structs§
- PKContent
Version PKContentVersion - A version specifying which PencilKit features are used/allowed.
- PKDrawing
PKDrawing - The data model object for storing drawing data created from PKCanvasView.
- PKEraser
Tool PKEraserToolandPKTool - An eraser tool for erasing parts of a drawing.
- PKEraser
Type PKEraserTool - Apple’s documentation
- PKFloat
Range PKFloatRange - Apple’s documentation
- PKInk
PKInk - PKInk provides a description of how marks on a PKCanvas render and are created.
- PKInking
Tool PKInkingToolandPKTool - A tool for drawing on a PKCanvasView.
- PKLasso
Tool PKLassoToolandPKTool - A lasso tool for selecting parts of a drawing.
- PKStroke
PKStroke - The data model value representing a stroke in a
PKDrawing. - PKStroke
Path PKStrokePath - A uniform cubic B-spline representing the point data of a
PKStroke. - PKStroke
Point PKStrokePoint - A point value stores all the attributes of a PKStroke at a specific point.
PKStrokePointstores its properties compressed, the value read for a property may not exactly equal the value set for a property. - PKTool
PKTool - An interaction behavior for a PKCanvasView. Should not be subclassed outside of the PencilKit framework.
- PKTool
Picker Eraser Item PKToolPickerEraserItemandPKToolPickerItem - A user interface for an eraser tool item in PKToolPicker.
- PKTool
Picker Inking Item PKToolPickerInkingItemandPKToolPickerItem - A user interface for an inking tool item in PKToolPicker.
- PKTool
Picker Item PKToolPickerItem - A user interface for a tool item in PKToolPicker.
Statics§
- PKApple
Drawing ⚠Type Identifier PKDrawingandobjc2-core-foundation - The UTType for storing drawing data.
- PKInk
Type ⚠Crayon PKInkType - Apple’s documentation
- PKInk
Type ⚠Fountain Pen PKInkType - Apple’s documentation
- PKInk
Type ⚠Marker PKInkType - Apple’s documentation
- PKInk
Type ⚠Monoline PKInkType - Apple’s documentation
- PKInk
Type ⚠Pen PKInkType - Apple’s documentation
- PKInk
Type ⚠Pencil PKInkType - Apple’s documentation
- PKInk
Type ⚠Reed PKInkType - Apple’s documentation
- PKInk
Type ⚠Watercolor PKInkType - Apple’s documentation
Type Aliases§
- PKInk
Type PKInkType - Apple’s documentation