|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.threerings.opengl.gui.icon.Icon
com.threerings.opengl.gui.icon.RotatedIcon
public class RotatedIcon
Rotates a sub-icon.
| Constructor Summary | |
|---|---|
RotatedIcon(Icon icon,
float rotation)
Creates a new rotated icon. |
|
| Method Summary | |
|---|---|
int |
getHeight()
Returns the height of this icon. |
int |
getWidth()
Returns the width of this icon. |
void |
render(Renderer renderer,
int x,
int y,
float alpha)
Renders this icon. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RotatedIcon(Icon icon,
float rotation)
rotation - the rotation amount in degrees.| Method Detail |
|---|
public int getWidth()
getWidth in class Iconpublic int getHeight()
getHeight in class Icon
public void render(Renderer renderer,
int x,
int y,
float alpha)
render in class Icon
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||