|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
An extension to the CanvasComponent interface that provides methods for rotation.
| Method Summary | |
void |
rotate(double degrees)
Rotates this component around its center by the given amount |
void |
rotateAbout(double degrees,
double x,
double y)
Rotates this component about a given set of coordinates by the given amount |
void |
smoothRotate(double degrees,
int milliseconds)
Smoothly rotates this component around its center by the given amount over the given time period. |
void |
smoothRotateAbout(double degrees,
double x,
double y,
int milliseconds)
Smoothly rotates this component around the given coordinates by the given amount over the given time period. |
| Methods inherited from interface canvas.CanvasComponent |
getHeight, getWidth, moveTo, redraw, resizeTo, setFeedbackText, smoothMove, smoothResize |
| Method Detail |
public void rotate(double degrees)
public void smoothRotate(double degrees,
int milliseconds)
public void rotateAbout(double degrees,
double x,
double y)
public void smoothRotateAbout(double degrees,
double x,
double y,
int milliseconds)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||