Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to rotate a line?

799403Apr 27 2011 — edited Apr 28 2011
Hello,
I draw a line using Graphics.drawLine() method.

How can I rotate the line since rotate() method is member of Graphics2D class?
This post has been answered by DrClap on Apr 27 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 26 2011
Added on Apr 27 2011
10 comments
655 views