Rotation center point
I am trying to rotate selected circle of objects by 30 degrees using the API. My code looks like this -
var ids = api('getSelectedIds').split(',');
api('rotate', {ids:ids, degree:30});
The problem is that each object rotates around its own center. But I really need to rotate all of the selected objects around a common center.
At the moment all the objects have 0,0 as the origin, so but it doesn't really help - rotating a circle by 30deg moves its center away from where it previously was.
Feature Requests
Sign In Or Register Comment after
No comments yet. Be the first to comment!