Class TextJ2DRenderer
- java.lang.Object
-
- jadex.extension.envsupport.observer.graphics.java2d.TextJ2DRenderer
-
- All Implemented Interfaces:
IJ2DRenderer
public class TextJ2DRenderer extends java.lang.Object implements IJ2DRenderer
-
-
Constructor Summary
Constructors Constructor Description TextJ2DRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
-
-
-
Method Detail
-
prepareAndExecuteDraw
public void prepareAndExecuteDraw(DrawableCombiner dc, Primitive primitive, java.lang.Object obj, ViewportJ2D vp)
Prepares the object for rendering to a Java2D viewport- Specified by:
prepareAndExecuteDraw
in interfaceIJ2DRenderer
- Parameters:
dc
- the DrawableCombiner drawing the objectprimitive
- the primitive being drawnobj
- the object being drawnvp
- the viewport
-
draw
public void draw(DrawableCombiner dc, Primitive primitive, java.lang.Object obj, ViewportJ2D vp)
Draws the primitive.- Specified by:
draw
in interfaceIJ2DRenderer
- Parameters:
dc
- the DrawableCombiner drawing the objectprimitive
- the primitive being drawnobj
- the object being drawnvp
- the viewport
-
-