Class MidArrowLineStyle
- java.lang.Object
-
- org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
-
- org.locationtech.jtstest.testbuilder.ui.style.SegmentStyle
-
- org.locationtech.jtstest.testbuilder.ui.style.MidArrowLineStyle
-
- All Implemented Interfaces:
Style
public class MidArrowLineStyle extends SegmentStyle
-
-
Field Summary
-
Fields inherited from class org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
LINE, POLY_HOLE, POLY_SHELL
-
-
Constructor Summary
Constructors Constructor Description MidArrowLineStyle(Color color)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidpaint(int index, Point2D p0, Point2D p1, int lineType, Viewport vp, Graphics2D gr)protected voidpaintMidpointArrow(Point2D p0, Point2D p1, Viewport viewport, Graphics2D graphics)-
Methods inherited from class org.locationtech.jtstest.testbuilder.ui.style.SegmentStyle
paint, paintLineString
-
Methods inherited from class org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
paint, paint
-
-
-
-
Constructor Detail
-
MidArrowLineStyle
public MidArrowLineStyle(Color color)
-
-
Method Detail
-
paint
protected void paint(int index, Point2D p0, Point2D p1, int lineType, Viewport vp, Graphics2D gr) throws Exception- Specified by:
paintin classSegmentStylep0- the origin of the line segment, in view spacep1- the termination of the line segment, in view space- Throws:
Exception
-
paintMidpointArrow
protected void paintMidpointArrow(Point2D p0, Point2D p1, Viewport viewport, Graphics2D graphics) throws NoninvertibleTransformException
- Throws:
NoninvertibleTransformException
-
-