Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.
This repository was 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

Description

@SudarshanRaul

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions