public class TextJ2DRenderer extends java.lang.Object implements IJ2DRenderer
Constructor and Description |
---|
TextJ2DRenderer() |
Modifier and Type | Method and Description |
---|---|
void |
draw(DrawableCombiner dc,
Primitive primitive,
java.lang.Object obj,
ViewportJ2D vp)
Draws the primitive.
|
void |
prepareAndExecuteDraw(DrawableCombiner dc,
Primitive primitive,
java.lang.Object obj,
ViewportJ2D vp)
Prepares the object for rendering to a Java2D viewport
|
public void prepareAndExecuteDraw(DrawableCombiner dc, Primitive primitive, java.lang.Object obj, ViewportJ2D vp)
prepareAndExecuteDraw
in interface IJ2DRenderer
dc
- the DrawableCombiner drawing the objectprimitive
- the primitive being drawnobj
- the object being drawnvp
- the viewportpublic void draw(DrawableCombiner dc, Primitive primitive, java.lang.Object obj, ViewportJ2D vp)
draw
in interface IJ2DRenderer
dc
- the DrawableCombiner drawing the objectprimitive
- the primitive being drawnobj
- the object being drawnvp
- the viewport