Page Summary
-
MLKInkrepresents user input as a collection of strokes for handwriting recognition. -
It provides access to the strokes through the
strokesproperty. -
MLKInkcan be initialized using an array ofMLKStrokeobjects. -
The default
initmethod is unavailable; useinit(points:)orinit(strokes:)instead.
MLKInk
@interface MLKInk : NSObjectRepresents 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
Inkobject using the sequence of strokes provided.Declaration
Objective-C
- (nonnull instancetype)initWithStrokes:(nonnull NSArray<MLKStroke *> *)strokes;