How we can rotate image in j2me but with any degree such as rotation by (10,70,30,120,187,122......................) ?
I searched the internet but i couldn't get acceptable result.
Can any one help in this?
Or, can any one give me guide points for achieving this?
Thanks a lot
By default, the J2ME API only allows you to rotate 90, 180 or 270 degrees and to mirror images. If you want to rotate an image or sprite by any other amount of degrees, then you're going to have to create different images for each rotation of write some nifty code that allows you to do it.
See [this link|http://download-llnw.oracle.com/javame/config/cldc/ref-impl/midp2.0/jsr118/javax/microedition/lcdui/game/Sprite.html#transforms] for more info:
Edited by: SEThorian on Aug 5, 2010 9:30 PM