|
|||||||||
| 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.MergedIcon
public class MergedIcon
An icon which is combination of multiple icons.
| Field Summary | |
|---|---|
protected Icon[] |
_icons
The merged icons. |
protected int |
_maxHeight
The max height of the icons. |
protected int |
_maxWidth
The max width of the icons. |
| Constructor Summary | |
|---|---|
MergedIcon(Icon... icons)
Create a merged 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int _maxWidth
protected int _maxHeight
protected Icon[] _icons
| Constructor Detail |
|---|
public MergedIcon(Icon... icons)
| Method Detail |
|---|
public int getWidth()
Icon
getWidth in class Iconpublic int getHeight()
Icon
getHeight in class Icon
public void render(Renderer renderer,
int x,
int y,
float alpha)
Icon
render in class Icon
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||