Skip to content
This repository has been archived by the owner on Apr 8, 2020. It is now read-only.

How can my JavaScript know when the freeTransform shape(object) have chnaged #152

Open
SudarshanRaul opened this issue Aug 4, 2016 · 0 comments

Comments

@SudarshanRaul
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant