Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to rotate Image using java2D API's

 
Kedar Nirokhekar
Greenhorn
Posts: 11
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi all,
I know the image can be rotated using java2d api's.I could able to rotate the image using AffineTransform class. But it
clips the image at corneres on rotation with multiples
of 45 degrees angle. I want to know how should I go about it.If any body can help me out.please..
Thanking in advance
Regards,
Kedar

 
Michael Szul
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know exactly what you're looking for, because I don't deal much with Java 2D, but have you tried looking at the source code for the Molecule applet that Sun includes with the demo files in the SDK?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic