Skip to main content
gamedev.net
🔒 Locked

[java] Rotation

Started by eddy78 Mar 13, 2003 at 11:23 AM 1 replies 250+ views
Original Post
eddy78
eddy78
How can i rotate images in java?
stustill
stustill
Call the ''rotate'' method on the Graphics2D object you are drawing the image to. This translates all of the co-ordinates through the angle that you specify, thereby rotating the image! See Graphics2D in the Java API for more information

Stu

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.