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;