Class VertexStyle
- java.lang.Object
-
- org.locationtech.jts.jump.workbench.ui.renderer.style.VertexStyle
-
- Direct Known Subclasses:
DelineationVertexStyle
,RingVertexStyle
,SquareVertexStyle
public abstract class VertexStyle extends Object implements Style
-
-
Field Summary
Fields Modifier and Type Field Description protected RectangularShape
shape
protected int
size
-
Constructor Summary
Constructors Modifier Constructor Description protected
VertexStyle(RectangularShape shape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
clone()
int
getSize()
void
initialize(Layer layer)
Called before #paint is applied to each Feature.boolean
isEnabled()
void
paint(Graphics2D g, Point2D p)
void
paint(Feature f, Graphics2D g, Viewport viewport)
protected void
render(Graphics2D g)
void
setEnabled(boolean enabled)
void
setSize(int size)
-
-
-
Field Detail
-
shape
protected RectangularShape shape
-
size
protected int size
-
-
Constructor Detail
-
VertexStyle
protected VertexStyle(RectangularShape shape)
-
-
Method Detail
-
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled
in interfaceStyle
-
setSize
public void setSize(int size)
-
getSize
public int getSize()
-
initialize
public void initialize(Layer layer)
Description copied from interface:Style
Called before #paint is applied to each Feature.- Specified by:
initialize
in interfaceStyle
-
paint
public void paint(Feature f, Graphics2D g, Viewport viewport) throws Exception
-
paint
public void paint(Graphics2D g, Point2D p)
-
render
protected void render(Graphics2D g)
-
-