Class ArrowLineEndStyle
java.lang.Object
org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
org.locationtech.jtstest.testbuilder.ui.style.LineEndStyle
org.locationtech.jtstest.testbuilder.ui.style.ArrowLineEndStyle
- All Implemented Interfaces:
Style
-
Field Summary
Fields inherited from class org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
LINE, POLY_HOLE, POLY_SHELL
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GeneralPath
arrowheadPath
(Point2D p0, Point2D tipPt, double finLength, double finAngle, double offsetSize) static GeneralPath
arrowheadPath
(Point2D p0, Point2D p1, Point2D tipPt, double finLength, double finAngle) static Point2D
protected void
paint
(Point2D terminal, Point2D next, Viewport viewport, Graphics2D g) void
Methods inherited from class org.locationtech.jtstest.testbuilder.ui.style.LineEndStyle
paintLineString
Methods inherited from class org.locationtech.jtstest.testbuilder.ui.style.LineStringStyle
paint, paint
-
Constructor Details
-
ArrowLineEndStyle
-
-
Method Details
-
setColor
-
paint
protected void paint(Point2D terminal, Point2D next, Viewport viewport, Graphics2D g) throws NoninvertibleTransformException - Specified by:
paint
in classLineEndStyle
- Throws:
NoninvertibleTransformException
-
arrowheadPath
public static GeneralPath arrowheadPath(Point2D p0, Point2D p1, Point2D tipPt, double finLength, double finAngle) - Parameters:
finLength
- required distance from the tip to each fin's tip
-
arrowheadPath
public static GeneralPath arrowheadPath(Point2D p0, Point2D tipPt, double finLength, double finAngle, double offsetSize) - Parameters:
finLength
- required distance from the tip to each fin's tip
-
fin
-