Class VertexStyle
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.ui.style.VertexStyle
-
-
Field Summary
Fields Modifier and Type Field Description protected Rectangleshapestatic intSYM_CIRCLE_HOLLOWstatic intSYM_CIRCLE_SOLIDstatic intSYM_SQUARE_HOLLOWstatic intSYM_SQUARE_SOLID
-
Constructor Summary
Constructors Constructor Description VertexStyle(Color color)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ColorgetColor()intgetSize()intgetSymbol()voidpaint(Geometry geom, Viewport viewport, Graphics2D g)voidsetColor(Color color)voidsetSize(int size)voidsetSymbol(int sym)
-
-
-
Field Detail
-
SYM_SQUARE_SOLID
public static final int SYM_SQUARE_SOLID
- See Also:
- Constant Field Values
-
SYM_SQUARE_HOLLOW
public static final int SYM_SQUARE_HOLLOW
- See Also:
- Constant Field Values
-
SYM_CIRCLE_SOLID
public static final int SYM_CIRCLE_SOLID
- See Also:
- Constant Field Values
-
SYM_CIRCLE_HOLLOW
public static final int SYM_CIRCLE_HOLLOW
- See Also:
- Constant Field Values
-
shape
protected Rectangle shape
-
-
Constructor Detail
-
VertexStyle
public VertexStyle(Color color)
-
-
Method Detail
-
getColor
public Color getColor()
-
setColor
public void setColor(Color color)
-
getSize
public int getSize()
-
setSize
public void setSize(int size)
-
getSymbol
public int getSymbol()
-
setSymbol
public void setSymbol(int sym)
-
paint
public void paint(Geometry geom, Viewport viewport, Graphics2D g)
-
-