public class ArrowLineStyle extends SegmentStyle
| Modifier and Type | Field and Description |
|---|---|
static double |
MIN_VISIBLE_LEN |
LINE, POLY_HOLE, POLY_SHELL| Constructor and Description |
|---|
ArrowLineStyle(Color color) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
paint(int index,
Point2D p0,
Point2D p1,
int lineType,
Viewport vp,
Graphics2D gr) |
protected void |
paintMidpointArrow(Point2D p0,
Point2D p1,
Viewport viewport,
Graphics2D graphics) |
protected void |
paintOffsetArrow(Point2D p0,
Point2D p1,
Viewport viewport,
Graphics2D graphics) |
paint, paintLineStringpaint, paintpublic static final double MIN_VISIBLE_LEN
public ArrowLineStyle(Color color)
protected void paint(int index,
Point2D p0,
Point2D p1,
int lineType,
Viewport vp,
Graphics2D gr)
throws Exception
paint in class SegmentStylep0 - the origin of the line segment, in view spacep1 - the termination of the line segment, in view spaceExceptionprotected void paintMidpointArrow(Point2D p0, Point2D p1, Viewport viewport, Graphics2D graphics) throws NoninvertibleTransformException
NoninvertibleTransformExceptionprotected void paintOffsetArrow(Point2D p0, Point2D p1, Viewport viewport, Graphics2D graphics) throws NoninvertibleTransformException
NoninvertibleTransformExceptionCopyright © 2025. All rights reserved.