gestalt.candidates
Class JoglGLUTBitmapFont
java.lang.Object
gestalt.shape.AbstractDrawable
gestalt.candidates.JoglGLUTBitmapFont
- All Implemented Interfaces:
- Drawable
public class JoglGLUTBitmapFont
- extends AbstractDrawable
|
Method Summary |
void |
draw(GLContext theRenderContext)
this method is used to draw the drawable, when the context is ready. |
boolean |
isActive()
returns whether the drawable is active. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
position
public Vector3f position
text
public java.lang.String text
font
public int font
color
public Color color
align
public int align
active
public boolean active
LEFT
public static final int LEFT
- See Also:
- Constant Field Values
CENTERED
public static final int CENTERED
- See Also:
- Constant Field Values
RIGHT
public static final int RIGHT
- See Also:
- Constant Field Values
JoglGLUTBitmapFont
public JoglGLUTBitmapFont()
draw
public void draw(GLContext theRenderContext)
- Description copied from interface:
Drawable
- this method is used to draw the drawable, when the context is ready.
although the behavior sometimes varies and doesn t always need to
have a visual representation depending on the implementation.
- Parameters:
theRenderContext - GLContext
isActive
public boolean isActive()
- Description copied from interface:
Drawable
- returns whether the drawable is active. it is commonly implemented
so that the drawables 'draw' method will be ommitted if 'isActive'
return false, although this behavior can vary depending on the
implementation.
- Specified by:
isActive in interface Drawable- Overrides:
isActive in class AbstractDrawable
- Returns:
- boolean
processing library gestalt_p5 by Patrick Kochlik + Dennis Paul. (c) 2009