public class MidArrowLineStyle extends SegmentStyle
LINE, POLY_HOLE, POLY_SHELL| Constructor and Description |
|---|
MidArrowLineStyle(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) |
paint, paintLineStringpaint, paintpublic MidArrowLineStyle(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
NoninvertibleTransformExceptionCopyright © 2025. All rights reserved.