WebIDLpedia

HandwritingDrawing interface

Definition

Handwriting Recognition API defines HandwritingDrawing



[Exposed=Window, SecureContext]
interface HandwritingDrawing {
  undefined addStroke(HandwritingStroke stroke);
  undefined removeStroke(HandwritingStroke stroke);
  undefined clear();
  sequence<HandwritingStroke> getStrokes();

  Promise<sequence<HandwritingPrediction>> getPrediction();
};

Methods and attributes that return objects implementing HandwritingDrawing

Referring IDL interfaces/dictionaries