com.threerings.opengl.gui.icon
Class Icon

java.lang.Object
  extended by com.threerings.opengl.gui.icon.Icon
Direct Known Subclasses:
BlankIcon, ImageIcon, MergedIcon, RotatedIcon, ScaledImageIcon, SubimageIcon

public abstract class Icon
extends Object

Provides icon imagery for various components which make use of it.


Constructor Summary
Icon()
           
 
Method Summary
abstract  int getHeight()
          Returns the height of this icon.
abstract  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

Icon

public Icon()
Method Detail

getWidth

public abstract int getWidth()
Returns the width of this icon.


getHeight

public abstract int getHeight()
Returns the height of this icon.


render

public void render(Renderer renderer,
                   int x,
                   int y,
                   float alpha)
Renders this icon.



Copyright © 2011. All Rights Reserved.