public abstract class VertexStyle extends Object implements Style
| Modifier and Type | Field and Description |
|---|---|
protected RectangularShape |
shape |
protected int |
size |
| Modifier | Constructor and Description |
|---|---|
protected |
VertexStyle(RectangularShape shape) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
int |
getSize() |
void |
initialize(Layer layer)
Called before #paint is applied to each Feature.
|
boolean |
isEnabled() |
void |
paint(Feature f,
Graphics2D g,
Viewport viewport) |
void |
paint(Graphics2D g,
Point2D p) |
protected void |
render(Graphics2D g) |
void |
setEnabled(boolean enabled) |
void |
setSize(int size) |
protected RectangularShape shape
protected int size
protected VertexStyle(RectangularShape shape)
public void setEnabled(boolean enabled)
setEnabled in interface Stylepublic void setSize(int size)
public int getSize()
public void initialize(Layer layer)
Styleinitialize in interface Stylepublic void paint(Feature f, Graphics2D g, Viewport viewport) throws Exception
public void paint(Graphics2D g, Point2D p)
protected void render(Graphics2D g)
Copyright © 2015. All rights reserved.