Class SegmentStyle
java.lang.Object
org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
org.locationtech.jtstest.testbuilder.ui.style.SegmentStyle
- All Implemented Interfaces:
Style
- Direct Known Subclasses:
ArrowSegmentStyle, MidArrowLineStyle, SegmentIndexStyle
-
Field Summary
Fields inherited from class LineStringStyle
LINE, POLY_HOLE, POLY_SHELL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidpaint(int index, Point2D p0, Point2D p1, int lineType, Viewport viewport, Graphics2D graphics) protected voidpaint(int index, Coordinate p0, Coordinate p1, int lineType, Viewport viewport, Graphics2D g) protected voidpaintLineString(LineString lineString, int lineType, Viewport viewport, Graphics2D graphics) Methods inherited from class LineStringStyle
paint, paint
-
Constructor Details
-
SegmentStyle
public SegmentStyle()
-
-
Method Details
-
paintLineString
protected void paintLineString(LineString lineString, int lineType, Viewport viewport, Graphics2D graphics) throws Exception - Specified by:
paintLineStringin classLineStringStyle- Throws:
Exception
-
paint
protected void paint(int index, Coordinate p0, Coordinate p1, int lineType, Viewport viewport, Graphics2D g) throws Exception - Throws:
Exception
-
paint
-