MLKitDigitalInkRecognition Framework Reference

Ink

class Ink : NSObject

Represents the user input as a collection of Stroke and serves as input for the handwriting recognition task.

  • List of strokes composing the ink.

    Declaration

    Swift

    var strokes: [Stroke] { get }
  • Unavailable, use init(points:) or init(strokes:) instead.

  • Initializes and returns an Ink object using the sequence of strokes provided.

    Declaration

    Swift

    init(strokes: [Stroke])