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 LineStringStyle
LINE, POLY_HOLE, POLY_SHELL -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GeneralPatharrowheadPath(Point2D p0, Point2D tipPt, double finLength, double finAngle, double offsetSize) static GeneralPatharrowheadPath(Point2D p0, Point2D p1, Point2D tipPt, double finLength, double finAngle) static Point2Dprotected voidpaint(Point2D terminal, Point2D next, Viewport viewport, Graphics2D g) voidMethods inherited from class LineEndStyle
paintLineStringMethods inherited from class 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:
paintin 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
-