MLKitDigitalInkRecognition Framework Reference

  • A Stroke represents a sequence of touch points recorded between a pen or touch down and up event.

  • It is primarily characterized by a list of StrokePoint objects, which store individual touch point data.

  • Stroke initialization is done using an array of StrokePoint objects, directly defining the stroke's path.

Stroke

class Stroke : NSObject

Represents a sequence of touch points between a pen (resp. touch) down and pen (resp. touch) up event.