org.grinvin.graphs.render
Interface Renderer
- AnnotatedRenderer, DefaultRenderer
public interface Renderer
Renders graph elements.
void | paint(Edge edge, double[] coordinates_first, double[] coordinates_second, boolean rollover, boolean selected, Object annotation, Graphics2D g2) - Paints the given edge onto the given graphics context.
|
void | paint(Vertex vertex, double[] coordinates, boolean rollover, boolean selected, Object annotation, Graphics2D g2) - Paints the given vertex onto the given graphics context.
|
paint
public void paint(Edge edge,
double[] coordinates_first,
double[] coordinates_second,
boolean rollover,
boolean selected,
Object annotation,
Graphics2D g2)
Paints the given edge onto the given graphics context.
paint
public void paint(Vertex vertex,
double[] coordinates,
boolean rollover,
boolean selected,
Object annotation,
Graphics2D g2)
Paints the given vertex onto the given graphics context.