Is it possible to rotate images (like jpg,.gif formats) a sertain amount of degrees? A useful example needed?
ofcourse it is :o
have a look at AffineTranform and Graphics2D.
heres a little example - though it doesn’t do anything
also, you should note. angle is in radians not degrees.
2*PI radians == 360 degrees
Image img = *yourImage*;
Graphics2D g2d = *someGraphicsContext*;
g2d.setTransform(AffineTransform.getRotateInstance(theta));
g2d.drawImage(img,x,y,null);