pivot behaves differently in built-in Path objects vs paths based on data

Skip to first unread message

Samuel Yoran

Mar 10, 2021, 5:42:00 AMMar 10
to Paper.js

If I first set the pivot and then the position, the Shape.Rectangle object is positioned differently than the one based on data.

If I first set the position and then the pivot, the pivots are positioned differently in the item's coordinates.

I noticed that as I  tried to rotate and scale 2 different same-sized objects around set pivots. No matter what I tried I could not synchronize the objects.

What am I missing?
Reply all
Reply to author
0 new messages