public class SegmentIndexStyle extends SegmentStyle
LINE, POLY_HOLE, POLY_SHELL
Constructor and Description |
---|
SegmentIndexStyle(Color color) |
Modifier and Type | Method and Description |
---|---|
protected void |
paint(int index,
Point2D p0,
Point2D p1,
int lineType,
Viewport vp,
Graphics2D gr) |
paint, paintLineString
paint, paint
public SegmentIndexStyle(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
Copyright © 2021. All rights reserved.