Interface IJ2DRenderer
-
- All Known Implementing Classes:
AbstractJ2DRenderer
,EllipseJ2DRenderer
,RectangleJ2DRenderer
,RegularPolygonJ2DRenderer
,TextJ2DRenderer
,TexturedRectangleJ2DRenderer
,TriangleJ2DRenderer
public interface IJ2DRenderer
-
-
Method Summary
All Methods Instance Methods Abstract 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
void prepareAndExecuteDraw(DrawableCombiner dc, Primitive primitive, java.lang.Object obj, ViewportJ2D vp)
Prepares the object for rendering to a Java2D viewport- Parameters:
dc
- the DrawableCombiner drawing the objectprimitive
- the primitive being drawnobj
- the object being drawnvp
- the viewport
-
draw
void draw(DrawableCombiner dc, Primitive primitive, java.lang.Object obj, ViewportJ2D vp)
Draws the primitive.- Parameters:
dc
- the DrawableCombiner drawing the objectprimitive
- the primitive being drawnobj
- the object being drawnvp
- the viewport
-
-