Search this API

y.view
Interface Graph2DRenderer

All Known Subinterfaces:
OrderRenderer
All Known Implementing Classes:
DefaultGraph2DRenderer, DefaultOrderRenderer

public interface Graph2DRenderer

Implementations of this interface render a Graph2D object.

 

Method Summary
 void paint(java.awt.Graphics2D gfx, Graph2D graph)
          Renders the given graph2D on the given Graphics2D context.
 void paintSloppy(java.awt.Graphics2D gfx, Graph2D graph)
          Renders the given graph2D on the given Graphics2D context.
 

Method Detail

paint

void paint(java.awt.Graphics2D gfx,
           Graph2D graph)
Renders the given graph2D on the given Graphics2D context.


paintSloppy

void paintSloppy(java.awt.Graphics2D gfx,
                 Graph2D graph)
Renders the given graph2D on the given Graphics2D context. the rendering process should be quick and can be sloppy.


© Copyright 2000-2022,
yWorks GmbH.
All rights reserved.