DrawImageRect Pivot
Monkey Forums/Monkey Programming/DrawImageRect Pivot
| ||
I'm using the DrawImageRect( image:Image, x#, y#, srcX, srcY, srcWidth, srcHeight, rotation#, scaleX#, scaleY#, frame=0 ) Is it possible to set the offset handle of the selected rect? If I rotate it, it rotate using (0,0) as offset handle. |
| ||
The image.SetHandle(x,y) should do you. Its in the docs under mojo.graphics/image. |