rotating an image
Author |
Message |
Junaid2pac
|
Posted: Wed Jan 09, 2008 6:49 pm Post subject: rotating an image |
|
|
just wondering how u would rotate an image, i used this to get the picture
code: | g.drawImage(new ImageIcon("Name").getImage(), 0, 0, null); |
If i incorparated angles, say 0 degrees equals normal, and 45 degrees, rotate image 45 degrees counterclockwise, what would i do to rotate a picture |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Ultrahex
|
Posted: Wed Jan 09, 2008 7:32 pm Post subject: Re: rotating an image |
|
|
Look at AffineTransformation's (I Think That Is How You Spell It...) and there is stuff there ... else you can do it manually using a databuffer. |
|
|
|
|
 |
|
|