Class LineStringStyle
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
-
- All Implemented Interfaces:
Style
- Direct Known Subclasses:
LineStringEndpointStyle
,PolygonStructureStyle
,SegmentStyle
public abstract class LineStringStyle extends java.lang.Object implements Style
-
-
Field Summary
Fields Modifier and Type Field Description static int
LINE
static int
POLY_HOLE
static int
POLY_SHELL
-
Constructor Summary
Constructors Constructor Description LineStringStyle()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
paint(Geometry geom, Viewport viewport, java.awt.Graphics2D g)
void
paint(LineString line, int lineType, Viewport viewport, java.awt.Graphics2D g)
protected abstract void
paintLineString(LineString lineString, int lineType, Viewport viewport, java.awt.Graphics2D graphics)
-
-
-
Field Detail
-
LINE
public static final int LINE
- See Also:
- Constant Field Values
-
POLY_SHELL
public static final int POLY_SHELL
- See Also:
- Constant Field Values
-
POLY_HOLE
public static final int POLY_HOLE
- See Also:
- Constant Field Values
-
-
Method Detail
-
paint
public void paint(Geometry geom, Viewport viewport, java.awt.Graphics2D g) throws java.lang.Exception
-
paint
public void paint(LineString line, int lineType, Viewport viewport, java.awt.Graphics2D g) throws java.lang.Exception
- Throws:
java.lang.Exception
-
paintLineString
protected abstract void paintLineString(LineString lineString, int lineType, Viewport viewport, java.awt.Graphics2D graphics) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-