Raphael.FreeTransform
Raphael.FreeTransform copied to clipboard
How can my JavaScript know when the freeTransform shape(object) have chnaged
I want to show the shape position and the size on the screen as soon as the user drags or scales the shapes.
Is there any event, using which I can know the updated positions and the size of the free transformed shapes.
I've below code-
ft = paper.freeTransform(this, { draw: 'bbox', boundary: false }, updateViewValues);
updateViewValues is function where I show the current position and the size of the shape. This works when the shape is moved, but when the shape is scaled or rotated it doesn't triggers.
Any suggestions on this.