com.fluendo.jtiger
Class Renderer
public
class
Renderer
extends Object
Method Summary |
void | add(Event ev)
Add a new event to the renderer. |
void | flush()
Flushes all events. |
boolean | isDirty() |
Image | render(Component c, Image img)
Renders onto the given image. |
int | update(Component c, Dimension d, double t)
Update the renderer, and all the events it tracks.
|
public void add(
Event ev)
Add a new event to the renderer.
public void flush()
Flushes all events.
public boolean isDirty()
public Image render(Component c, Image img)
Renders onto the given image.
public int update(Component c, Dimension d, double t)
Update the renderer, and all the events it tracks.
Returns 1 if there is nothing to draw, as an optimization