Class LineStringStyle
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
-
- All Implemented Interfaces:
Style
- Direct Known Subclasses:
LineEndStyle,PolygonStructureStyle,SegmentStyle
public abstract class LineStringStyle extends Object implements Style
-
-
Field Summary
Fields Modifier and Type Field Description static intLINEstatic intPOLY_HOLEstatic intPOLY_SHELL
-
Constructor Summary
Constructors Constructor Description LineStringStyle()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidpaint(Geometry geom, Viewport viewport, Graphics2D g)voidpaint(LineString line, int lineType, Viewport viewport, Graphics2D g)protected abstract voidpaintLineString(LineString lineString, int lineType, Viewport viewport, 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, Graphics2D g) throws Exception
-
paint
public void paint(LineString line, int lineType, Viewport viewport, Graphics2D g) throws Exception
- Throws:
Exception
-
paintLineString
protected abstract void paintLineString(LineString lineString, int lineType, Viewport viewport, Graphics2D graphics) throws Exception
- Throws:
Exception
-
-