*
The moose likes Swing / AWT / SWT and the fly likes Easy rotation of simple shapes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Swing / AWT / SWT
Bookmark "Easy rotation of simple shapes" Watch "Easy rotation of simple shapes" New topic
Author

Easy rotation of simple shapes

yue feng
Greenhorn

Joined: Mar 12, 2002
Posts: 5
Can anyone tell me that, in java, is there any way to rotate the simple shapes such as triangles, squares, circles?
Dirk Schreckmann
Sheriff

Joined: Dec 10, 2001
Posts: 7023
Perhaps this part of Sun's Java Tutorial would help you do what you are trying to do:
Transforming Shapes, Text, and Images


[How To Ask Good Questions] [JavaRanch FAQ Wiki] [JavaRanch Radio]
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Easy rotation of simple shapes
 
Similar Threads
Java 2D
MDA or DSM
Problem linking button to mouse event - Please help!
Help please!
one last try