Interface IJ2DRenderer

    • 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 object
        primitive - the primitive being drawn
        obj - the object being drawn
        vp - the viewport
      • draw

        void draw​(DrawableCombiner dc,
                  Primitive primitive,
                  java.lang.Object obj,
                  ViewportJ2D vp)
        Draws the primitive.
        Parameters:
        dc - the DrawableCombiner drawing the object
        primitive - the primitive being drawn
        obj - the object being drawn
        vp - the viewport