MLKitDigitalInkRecognition 프레임워크 참조
컬렉션을 사용해 정리하기
내 환경설정을 기준으로 콘텐츠를 저장하고 분류하세요.
MLKStroke
@interface MLKStroke : NSObject
아래로 펜 (반응)과 위로 펜 (반응)을 잇는 터치 포인트의 시퀀스를 나타냅니다.
이벤트를 처리합니다.
-
선언
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;
달리 명시되지 않는 한 이 페이지의 콘텐츠에는 Creative Commons Attribution 4.0 라이선스에 따라 라이선스가 부여되며, 코드 샘플에는 Apache 2.0 라이선스에 따라 라이선스가 부여됩니다. 자세한 내용은 Google Developers 사이트 정책을 참조하세요. 자바는 Oracle 및/또는 Oracle 계열사의 등록 상표입니다.
최종 업데이트: 2025-07-25(UTC)
[null,null,["최종 업데이트: 2025-07-25(UTC)"],[[["\u003cp\u003e\u003ccode\u003eMLKStroke\u003c/code\u003e represents a sequence of touch points, from pen/touch down to pen/touch up.\u003c/p\u003e\n"],["\u003cp\u003eIt provides access to a list of touch points as \u003ccode\u003eStrokePoint\u003c/code\u003e objects through the \u003ccode\u003epoints\u003c/code\u003e property.\u003c/p\u003e\n"],["\u003cp\u003eYou should initialize a \u003ccode\u003eMLKStroke\u003c/code\u003e instance using the designated initializer \u003ccode\u003einitWithPoints:\u003c/code\u003e, providing an array of \u003ccode\u003eStrokePoint\u003c/code\u003e objects.\u003c/p\u003e\n"]]],[],null,["# MLKitDigitalInkRecognition Framework Reference\n\nMLKStroke\n=========\n\n\n @interface MLKStroke : NSObject\n\nRepresents a sequence of touch points between a pen (resp. touch) down and pen (resp. touch) up\nevent.\n- `\n ``\n ``\n `\n\n ### [points](#/c:objc(cs)MLKStroke(py)points)\n\n `\n ` \n List of touch points as `StrokePoint`. \n\n #### Declaration\n\n Objective-C \n\n @property (nonatomic, readonly) NSArray\u003c../Classes/MLKStrokePoint.html *\u003e *_Nonnull points;\n\n- `\n ``\n ``\n `\n\n ### [-init](#/c:objc(cs)MLKStroke(im)init)\n\n `\n ` \n Unavailable. Use `init(points:)` instead. \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)init;\n\n- `\n ``\n ``\n `\n\n ### [-initWithPoints:](#/c:objc(cs)MLKStroke(im)initWithPoints:)\n\n `\n ` \n Initializes and returns a `Stroke` object using the sequence of touch points provided. \n\n #### Declaration\n\n Objective-C \n\n - (nonnull instancetype)initWithPoints:\n (nonnull NSArray\u003c../Classes/MLKStrokePoint.html *\u003e *)points;"]]