Class VertexIndexLineSegmentStyle
java.lang.Object
com.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
com.vividsolutions.jump.workbench.ui.renderer.style.LineStringVertexStyle
com.vividsolutions.jump.workbench.ui.renderer.style.VertexIndexLineSegmentStyle
- All Implemented Interfaces:
ChoosableStyle, Style, Cloneable
- Direct Known Subclasses:
VertexIndexLineSegmentStyle.VertexIndex
Displays the vertex index for each vertex of a line string.
FUTURE: display index of linestring component in parent geometry
- Version:
- 1.0
- Author:
- Martin Davis
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class LineStringVertexStyle
icon, nameFields inherited from class LineStringStyle
enabled, fillColorWithAlpha, lineColorWithAlpha, stroke -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidpaint(Point2D p, org.locationtech.jts.geom.LineString line, int index, Viewport viewport, Graphics2D g) Methods inherited from class LineStringVertexStyle
getIcon, getName, paintLineStringMethods inherited from class LineStringStyle
clone, initialize, isEnabled, paint, paintGeometry, setEnabledMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Style
clone, initialize, isEnabled, paint, setEnabled
-
Field Details
-
FONT_BASE_SIZE
public static final int FONT_BASE_SIZE- See Also:
-
-
Constructor Details
-
VertexIndexLineSegmentStyle
-
-
Method Details
-
paint
protected void paint(Point2D p, org.locationtech.jts.geom.LineString line, int index, Viewport viewport, Graphics2D g) throws Exception - Specified by:
paintin classLineStringVertexStyle- Throws:
Exception
-