public class BoundedVoronoiVertexSymbol extends Object implements IBoundedVoronoiVertexSymbol
| Constructor and Description |
|---|
BoundedVoronoiVertexSymbol() |
BoundedVoronoiVertexSymbol(double vertexSymbolSize) |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics g,
double x,
double y)
Draw the icon for a vertex positioned at the indicated coordinates
|
void |
setColor(Color color)
Set the color for this symbol.
|
void |
setFont(Font font)
Sets the font to be used for labeling.
|
void |
setLabel(String label)
Sets the label for this symbol
|
public BoundedVoronoiVertexSymbol()
public BoundedVoronoiVertexSymbol(double vertexSymbolSize)
public void setLabel(String label)
label - a valid, non-empty string; or a null if no label is required.public void setFont(Font font)
font - a valid font; or a nullpublic void setColor(Color color)
color - a valid color; or a null.public void draw(Graphics g, double x, double y)
draw in interface IBoundedVoronoiVertexSymbolg - a valid Graphics surfacex - the user (pixel) x coordinate of the vertexy - the user (pixel) y coordinate of the vertexCopyright © 2021. All rights reserved.