Open stefanvd opened 1 year ago
I see that you can programmatically can draw a circle, rectangle, and triangle. That with a single click on a custom button. That with the http://nhn.github.io/tui.image-editor/latest/ImageEditor#setDrawingShape
instance.startDrawingMode('SHAPE'); instance.setDrawingShape('circle', { fill: 'transparent', stroke: '#D70339', strokeWidth: 12, rx: 10, ry: 100 });
However, how can I do this with a free drawing? Since I do not see this in the documentation. And how to get these point coordinates (x, y) to export later in a JSON object.
This issue has been automatically marked as inactive because there hasn’t been much going on it lately. It is going to be closed after 7 days. Thanks!
Friendly reminder to keep this bug open.
I see that you can programmatically can draw a circle, rectangle, and triangle. That with a single click on a custom button. That with the http://nhn.github.io/tui.image-editor/latest/ImageEditor#setDrawingShape
However, how can I do this with a free drawing? Since I do not see this in the documentation. And how to get these point coordinates (x, y) to export later in a JSON object.