undoTransform

.undoTransform()

This will undo the last transform applied to this Image (rotate, scale or translate). If no transform has occurred, then this will silently do nothing.

Note that unlike the screen, transformations are not automatically reset on each frame.

See also

clearTransforms