com.google.mlkit.vision.digitalink.common

  • Interfaces like Point, Stroke, and Stroke.Properties define the structure of touch and stroke data for digital ink.

  • Point represents a single touch point with horizontal and vertical coordinates.

  • Stroke represents a sequence of touch points between pen-down and pen-up events.

  • Stroke.Properties holds optional characteristics of a Stroke, such as color and width.

  • Classes like RecognitionCandidate and RecognitionResult handle the output of the ink recognition process.

Interfaces

Point A single touch point (horizontal and vertical coordinates). 
Stroke Represents a sequence of touch points between a pen-/finger-down and a pen-/finger-up events. 
Stroke.Properties Represents optional properties of a Stroke, e.g., stroke color and width. 

Classes

RecognitionCandidate Individual recognition candidate. 
RecognitionResult Object representing the output of an ink recognition.