MLKitDigitalInkRecognition 프레임워크 참조

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;