PKStrokeRenderState
An object that captures the render-time state of a stroke, such as grain texture position.
Declaration
@interface PKStrokeRenderState : NSObjectOverview
PKStrokeRenderState is the Objective-C representation of a stroke’s rendering context. It conforms to NSCopying and NSSecureCoding for archiving. In Swift, use the equivalent value type PKStroke.RenderState instead.
Topics
Getting the render state
Using Swift types
See Also
Canvas
Drawing with PencilKitCustomizing Scribble with InteractionsInspecting, Modifying, and Constructing PencilKit DrawingsImporting Bézier path data into PencilKitControlling stroke rendering for animation and editingPKCanvasViewPKDrawingReferencePKStrokeReferencePKStrokePathReferencePKStrokePointReferencePKInkReferencePKConvertedBezierPointReferencePKFloatRangePKInkTypeReed