Class LineStringEndpointStyle
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
-
- org.locationtech.jtstest.testbuilder.ui.style.LineStringEndpointStyle
-
- All Implemented Interfaces:
Style
- Direct Known Subclasses:
ArrowEndpointStyle
,CircleEndpointStyle
public abstract class LineStringEndpointStyle extends LineStringStyle
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
start
-
Fields inherited from class org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
LINE, POLY_HOLE, POLY_SHELL
-
-
Constructor Summary
Constructors Constructor Description LineStringEndpointStyle(boolean start)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
paint(java.awt.geom.Point2D terminal, java.awt.geom.Point2D next, Viewport viewport, java.awt.Graphics2D graphics)
private void
paint(Coordinate terminal, Coordinate next, Viewport viewport, java.awt.Graphics2D graphics)
protected void
paintLineString(LineString lineString, int lineType, Viewport viewport, java.awt.Graphics2D graphics)
-
Methods inherited from class org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
paint, paint
-
-
-
-
Method Detail
-
paintLineString
protected void paintLineString(LineString lineString, int lineType, Viewport viewport, java.awt.Graphics2D graphics) throws java.lang.Exception
- Specified by:
paintLineString
in classLineStringStyle
- Throws:
java.lang.Exception
-
paint
private void paint(Coordinate terminal, Coordinate next, Viewport viewport, java.awt.Graphics2D graphics) throws java.lang.Exception
- Throws:
java.lang.Exception
-
paint
protected abstract void paint(java.awt.geom.Point2D terminal, java.awt.geom.Point2D next, Viewport viewport, java.awt.Graphics2D graphics) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-