MLKInk
@interface MLKInk : 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
Objective-C
@property (nonatomic, readonly) NSArray<MLKStroke *> *_Nonnull strokes;
-
Unavailable, use
init(points:)
orinit(strokes:)
instead.Declaration
Objective-C
- (nonnull instancetype)init;
-
Initializes and returns an
Ink
object using the sequence of strokes provided.Declaration
Objective-C
- (nonnull instancetype)initWithStrokes:(nonnull NSArray<MLKStroke *> *)strokes;