Continue drawing existing object
teetkalm opened this issue · 4 comments
teetkalm commented
Hello,
I'm struggling to find a way, how to edit existing object (like resizing/moving rectangle, circle etc), but found no coding examples. I tried someting like that, but it does not work:
//passing SVG node to function:
function editShape(el){
SVG.get(el.id).draw(); //nothing happens
}
Please help.
Fuzzyma commented
Dont open an issue when you already posted on stackoverflow. I even commented there.
teetkalm commented
OK, this re-edit feature seems to be not so simple. It should be implemented by possibility to move existing corners, center, points etc with mouse, but this add-on seem to focus on drawing new shapes.
Fuzzyma commented
as i stated in the comment on tsackoverflow: use svg.resize.js. To move shappes you have svg.draggable.js
teetkalm commented
thank you, I did not know, that those separate add-ons exist.