This event is emitted whenever new in-flight points are captured during an active ink stroke.
Get the in-flight annotation while drawing.
instance.addEventListener("ink.drawing", (event: InkDrawingEvent) => { console.log(event.annotation.lines.last()?.size);}); Copy
instance.addEventListener("ink.drawing", (event: InkDrawingEvent) => { console.log(event.annotation.lines.last()?.size);});
NutrientViewer.EventName.INK_DRAWING
This event is emitted whenever new in-flight points are captured during an active ink stroke.
Example
Get the in-flight annotation while drawing.
See
NutrientViewer.EventName.INK_DRAWING