Class SegmentIndexStyle
- java.lang.Object
-
- com.vividsolutions.jtstest.testbuilder.ui.style.LineStringStyle
-
- com.vividsolutions.jtstest.testbuilder.ui.style.SegmentStyle
-
- com.vividsolutions.jtstest.testbuilder.ui.style.SegmentIndexStyle
-
- All Implemented Interfaces:
Style
public class SegmentIndexStyle extends SegmentStyle
-
-
Field Summary
-
Fields inherited from class com.vividsolutions.jtstest.testbuilder.ui.style.LineStringStyle
LINE, POLY_HOLE, POLY_SHELL
-
-
Constructor Summary
Constructors Constructor Description SegmentIndexStyle(java.awt.Color color)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidpaint(int index, java.awt.geom.Point2D p0, java.awt.geom.Point2D p1, int lineType, Viewport vp, java.awt.Graphics2D gr)-
Methods inherited from class com.vividsolutions.jtstest.testbuilder.ui.style.SegmentStyle
paint, paintLineString
-
Methods inherited from class com.vividsolutions.jtstest.testbuilder.ui.style.LineStringStyle
paint, paint
-
-
-
-
Method Detail
-
paint
protected void paint(int index, java.awt.geom.Point2D p0, java.awt.geom.Point2D p1, int lineType, Viewport vp, java.awt.Graphics2D gr) throws java.lang.Exception- Specified by:
paintin classSegmentStylep0- the origin of the line segment, in view spacep1- the termination of the line segment, in view space- Throws:
java.lang.Exception
-
-