MLKStroke
@interface MLKStroke : NSObject
表示触控笔按下(响应)事件与向上触控笔事件之间的一系列接触点。
-
接触点列表,采用
StrokePoint
格式。声明
Objective-C
@property (nonatomic, readonly) NSArray<MLKStrokePoint *> *_Nonnull points;
-
不可用。请改用
init(points:)
。声明
Objective-C
- (nonnull instancetype)init;
-
使用提供的接触点序列初始化并返回
Stroke
对象。声明
Objective-C
- (nonnull instancetype)initWithPoints: (nonnull NSArray<MLKStrokePoint *> *)points;