Be able to get the untransformed bounds of an element.
If an object that is sized to 100 width by 100 height is positioned at 100 x and 100 y and then the user rotates it 45° the left and top values are 79.29 x 79.29.
Before:
After:
Is it possible to get the original untransformed bounds through an API (the original x and y)? Using the example above, if original x and y is 100 x 100 and the rotated x and y is 79.29 x 79.29 I would like to get the 100 x 100.
And if or if not, would it be possible to store the original untransformed element bounds parent right before a rotation is first applied? For example, if the original position is 100 x 100 simply store that and the parent object bounds. Maybe store the transform origin if that’s not always the center.
Use Case
A plugin author wants to export from XD to other formats and needs to know the bounds of the unrotated object.