iink SDK on Device

get point array of strokes

Is possible to get point array of each stroke from IINKEditor object?

1 Comment

Dear Woongki Kim,


You can indeed get the detail of the stroke using 'editor.export_' function : https://developer.myscript.com/docs/interactive-ink/1.2/android/fundamentals/import-and-export/#exporting-content


Basically, you need to call the export function with JIIX as MimeType :


editor.export_(editor.getRootBlock(), MimeType.JIIX);


Let me know if this is usefull.


Regards,


Maël


1 person likes this