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, paintLineString
paint, paint
public 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 SegmentStyle
p0
- the origin of the line segment, in view spacep1
- the termination of the line segment, in view spaceException
protected void paintMidpointArrow(Point2D p0, Point2D p1, Viewport viewport, Graphics2D graphics) throws NoninvertibleTransformException
NoninvertibleTransformException
protected void paintOffsetArrow(Point2D p0, Point2D p1, Viewport viewport, Graphics2D graphics) throws NoninvertibleTransformException
NoninvertibleTransformException
Copyright © 2023. All rights reserved.