gestalt.candidates
Class JoglGLUTBitmapFont

java.lang.Object
  extended by gestalt.shape.AbstractDrawable
      extended by gestalt.candidates.JoglGLUTBitmapFont
All Implemented Interfaces:
Drawable

public class JoglGLUTBitmapFont
extends AbstractDrawable


Field Summary
 boolean active
           
 int align
           
static int CENTERED
           
 Color color
           
 int font
           
static int LEFT
           
 Vector3f position
           
static int RIGHT
           
 java.lang.String text
           
 
Constructor Summary
JoglGLUTBitmapFont()
           
 
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 gestalt.shape.AbstractDrawable
add, getSortData, getSortValue, isSortable, setSortValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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
Constructor Detail

JoglGLUTBitmapFont

public JoglGLUTBitmapFont()
Method Detail

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