public class VisualVertexPainterImpl extends Object implements VisualVertexPainter
| Constructor and Description |
|---|
VisualVertexPainterImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
paint(VisualGraphComponent vg,
Graphics2D g2d)
Draw the VisualVertex with the specified 2D graphics context.
|
void |
paintFill(VisualGraphComponent component,
Graphics2D g2d)
Paints the VisualVertex's fill color.
|
void |
paintOutline(VisualGraphComponent component,
Graphics2D g2d)
Paints the outline of the VisualVertex
|
void |
paintText(VisualGraphComponent component,
Graphics2D g2d)
Paints the text of the VisualVertex.
|
void |
rescale(VisualVertex vv)
Rescales the VisualVertex.
|
public void paint(VisualGraphComponent vg, Graphics2D g2d)
The contract is that calling this paint method will call the other methods in this interface.
public void paintOutline(VisualGraphComponent component, Graphics2D g2d)
paintOutline in interface VisualVertexPainterpublic void paintFill(VisualGraphComponent component, Graphics2D g2d)
paintFill in interface VisualVertexPainterpublic void paintText(VisualGraphComponent component, Graphics2D g2d)
paintText in interface VisualVertexPainterpublic void rescale(VisualVertex vv)
rescale in interface VisualVertexPainterCopyright © 2019 JULIE Lab, Germany. All rights reserved.