org.grinvin.render

Interface Renderer

Known Implementing Classes:
AnnotatedRenderer, DefaultRenderer

public interface Renderer

Renders graph elements.

Method Summary

void
paint(Edge edge, double[] coordinates_first, double[] coordinates_second, boolean rollover, boolean selected, Graphics2D g2)
Paints the given edge onto the given graphics context.
void
paint(Vertex vertex, double[] coordinates, boolean rollover, boolean selected, Graphics2D g2)
Paints the given vertex onto the given graphics context.

Method Details

paint

public void paint(Edge edge,
                  double[] coordinates_first,
                  double[] coordinates_second,
                  boolean rollover,
                  boolean selected,
                  Graphics2D g2)
Paints the given edge onto the given graphics context.

paint

public void paint(Vertex vertex,
                  double[] coordinates,
                  boolean rollover,
                  boolean selected,
                  Graphics2D g2)
Paints the given vertex onto the given graphics context.