AI-generated Key Takeaways
-
MLKStrokerepresents a sequence of touch points, from pen/touch down to pen/touch up. -
It provides access to a list of touch points as
StrokePointobjects through thepointsproperty. -
You should initialize a
MLKStrokeinstance using the designated initializerinitWithPoints:, providing an array ofStrokePointobjects.
MLKStroke
@interface MLKStroke : NSObjectRepresents a sequence of touch points between a pen (resp. touch) down and pen (resp. touch) up event.
-
List of touch points as
StrokePoint.Declaration
Objective-C
@property (nonatomic, readonly) NSArray<MLKStrokePoint *> *_Nonnull points; -
Unavailable. Use
init(points:)instead.Declaration
Objective-C
- (nonnull instancetype)init; -
Initializes and returns a
Strokeobject using the sequence of touch points provided.Declaration
Objective-C
- (nonnull instancetype)initWithPoints: (nonnull NSArray<MLKStrokePoint *> *)points;