public abstract class SegmentStyle extends LineStringStyle
LINE, POLY_HOLE, POLY_SHELL| Constructor and Description |
|---|
SegmentStyle() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
paint(int index,
Coordinate p0,
Coordinate p1,
int lineType,
Viewport viewport,
Graphics2D g) |
protected abstract void |
paint(int index,
Point2D p0,
Point2D p1,
int lineType,
Viewport viewport,
Graphics2D graphics) |
protected void |
paintLineString(LineString lineString,
int lineType,
Viewport viewport,
Graphics2D graphics) |
paint, paintprotected void paintLineString(LineString lineString, int lineType, Viewport viewport, Graphics2D graphics) throws Exception
paintLineString in class LineStringStyleExceptionprotected void paint(int index,
Coordinate p0,
Coordinate p1,
int lineType,
Viewport viewport,
Graphics2D g)
throws Exception
Exceptionprotected abstract void paint(int index,
Point2D p0,
Point2D p1,
int lineType,
Viewport viewport,
Graphics2D graphics)
throws Exception
p0 - the origin of the line segment, in view spacep1 - the termination of the line segment, in view spaceviewport - graphics - ExceptionCopyright © 2025. All rights reserved.