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
-
Field Summary
FieldsFields inherited from class org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
LINE, POLY_HOLE, POLY_SHELL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
paint
(Point2D terminal, Point2D next, Viewport viewport, Graphics2D graphics) private void
paint
(Coordinate terminal, Coordinate next, Viewport viewport, Graphics2D graphics) protected void
paintLineString
(LineString lineString, int lineType, Viewport viewport, Graphics2D graphics) Methods inherited from class org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
paint, paint
-
Field Details
-
start
private boolean start
-
-
Constructor Details
-
LineStringEndpointStyle
public LineStringEndpointStyle(boolean start)
-
-
Method Details
-
paintLineString
protected void paintLineString(LineString lineString, int lineType, Viewport viewport, Graphics2D graphics) throws Exception - Specified by:
paintLineString
in classLineStringStyle
- Throws:
Exception
-
paint
private void paint(Coordinate terminal, Coordinate next, Viewport viewport, Graphics2D graphics) throws Exception - Throws:
Exception
-
paint
protected abstract void paint(Point2D terminal, Point2D next, Viewport viewport, Graphics2D graphics) throws Exception - Throws:
Exception
-