Class MetricsLineStringSegmentStyle
java.lang.Object
com.vividsolutions.jump.workbench.ui.renderer.style.LineStringStyle
com.vividsolutions.jump.workbench.ui.renderer.style.LineStringSegmentStyle
com.vividsolutions.jump.workbench.ui.renderer.style.MetricsLineStringSegmentStyle
- All Implemented Interfaces:
ChoosableStyle, Style, Cloneable
- Direct Known Subclasses:
MetricsLineStringSegmentStyle.LengthAngle
Displays line segment length and absolute angle.
- Version:
- 1.0
- Author:
- Martin Davis
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsFields inherited from class LineStringSegmentStyle
icon, nameFields inherited from class LineStringStyle
enabled, fillColorWithAlpha, lineColorWithAlpha, stroke -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidpaint(Point2D p0, Point2D p1, Viewport viewport, Graphics2D g) protected voidpaint(org.locationtech.jts.geom.Coordinate p0, org.locationtech.jts.geom.Coordinate p1, Viewport viewport, Graphics2D graphics) Methods inherited from class LineStringSegmentStyle
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
-
MetricsLineStringSegmentStyle
-
-
Method Details
-
paint
protected void paint(org.locationtech.jts.geom.Coordinate p0, org.locationtech.jts.geom.Coordinate p1, Viewport viewport, Graphics2D graphics) throws Exception - Overrides:
paintin classLineStringSegmentStyle- Throws:
Exception
-
paint
protected void paint(Point2D p0, Point2D p1, Viewport viewport, Graphics2D g) throws NoninvertibleTransformException - Specified by:
paintin classLineStringSegmentStyle- Throws:
NoninvertibleTransformException
-