pencil-js/pencil.js

Should component have an origin option ?

Closed this issue · 0 comments

At the beginning, I wanted to change the "position" of rectangle. For example, the user could specify the bottom-right corner as origin.

Then, I wonder about allowing this behavior for all components. But it gets confusing really fast and moreover broke rotations.

Should Pencil.js have an origin option on Component to move the shape drawing relative to its position ?

How is it suppose to interact with rotations and rotation anchor ?