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;