MLKitDigitalInkRecognition Framework Reference
Ink
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 }
-
-
Initializes and returns an Ink
object using the sequence of strokes provided.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[null,null,["Last updated 2024-07-10 UTC."],[[["`MLKInk` represents user input as a collection of strokes for handwriting recognition."],["It is initialized using an array of `MLKStroke` objects representing individual strokes."],["The `strokes` property provides access to the list of strokes composing the ink."],["Direct initialization with `init()` is unavailable; use `init(strokes:)` instead."]]],[]]