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, paint
protected void paintLineString(LineString lineString, int lineType, Viewport viewport, Graphics2D graphics) throws Exception
paintLineString
in class LineStringStyle
Exception
protected void paint(int index, Coordinate p0, Coordinate p1, int lineType, Viewport viewport, Graphics2D g) throws Exception
Exception
protected 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
- Exception
Copyright © 2022. All rights reserved.