Hello.
I have some problems with elements that are rotated, since the x and y axes are affected by this rotation aswell.
For my use case I need the original x and y off the absoluteBoundingBox, and the rotation value.
Example of an ellipsis:
Pre rotation position:
X: 242, Y: 283
Post rotation position:
Rotation 25 degrees.
X: 142, Y: 330
Is there someone who’s math is smarter than mine, who can help me retrieve the original x and y values, and still have the rotation value? Also it mustn’t affect the figma element, i just need the values.
Thank you in advance.
Be the first to reply!
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.