org.grinvin.render
Class AnnotatedRenderer
- Renderer
public class AnnotatedRenderer
An extension of DefaultRenderer that adds rendering of annotations.
static Renderer | getInstance() - Get the singleton instance of this renderer.
|
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, with annotations
(when available).
|
void | paint(Vertex vertex, double[] coordinates, boolean rollover, boolean selected, Graphics2D g2) - Paints the given vertex onto the given graphics context, with annotations
(when available).
|
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, with annotations
(when available).
- paint in interface Renderer
- paint in interface DefaultRenderer
paint
public void paint(Vertex vertex,
double[] coordinates,
boolean rollover,
boolean selected,
Graphics2D g2)
Paints the given vertex onto the given graphics context, with annotations
(when available).
- paint in interface Renderer
- paint in interface DefaultRenderer