This function can be used to get the position, scale and rotation of an item, providing that the item has a simple transformation matrix (e.
g. set with set_simple_transform, or using a combination of simple translate, scale and rotate operations). If the item has a complex transformation matrix the results will be incorrect.
this |
an item. |
x |
returns the x coordinate of the origin of the item's coordinate space. |
y |
returns the y coordinate of the origin of the item's coordinate space. |
scale |
returns the scale of the item. |
rotation |
returns the clockwise rotation of the item, in degrees (0-360). |
true if a transform is set. |