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 RectangularShapeshapeprotected intsize
-
Constructor Summary
Constructors Modifier Constructor Description protectedVertexStyle(RectangularShape shape)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()intgetSize()voidinitialize(Layer layer)Called before #paint is applied to each Feature.booleanisEnabled()voidpaint(Graphics2D g, Point2D p)voidpaint(Feature f, Graphics2D g, Viewport viewport)protected voidrender(Graphics2D g)voidsetEnabled(boolean enabled)voidsetSize(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:
setEnabledin interfaceStyle
-
setSize
public void setSize(int size)
-
getSize
public int getSize()
-
initialize
public void initialize(Layer layer)
Description copied from interface:StyleCalled before #paint is applied to each Feature.- Specified by:
initializein 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)
-
-