public class MetricsLineStringSegmentStyle extends LineStringSegmentStyle
Modifier and Type | Class and Description |
---|---|
static class |
MetricsLineStringSegmentStyle.LengthAngle |
Modifier and Type | Field and Description |
---|---|
static int |
FONT_BASE_SIZE |
icon, name
enabled, fillColorWithAlpha, lineColorWithAlpha, stroke
Constructor and Description |
---|
MetricsLineStringSegmentStyle(java.lang.String name,
java.lang.String iconFile) |
Modifier and Type | Method and Description |
---|---|
protected void |
paint(com.vividsolutions.jts.geom.Coordinate p0,
com.vividsolutions.jts.geom.Coordinate p1,
Viewport viewport,
java.awt.Graphics2D graphics) |
protected void |
paint(java.awt.geom.Point2D p0,
java.awt.geom.Point2D p1,
Viewport viewport,
java.awt.Graphics2D g) |
getIcon, getName, paintLineString
clone, initialize, isEnabled, paint, paintGeometry, setEnabled
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, initialize, isEnabled, paint, setEnabled
public static final int FONT_BASE_SIZE
public MetricsLineStringSegmentStyle(java.lang.String name, java.lang.String iconFile)
name
- style nameiconFile
- style iconprotected void paint(com.vividsolutions.jts.geom.Coordinate p0, com.vividsolutions.jts.geom.Coordinate p1, Viewport viewport, java.awt.Graphics2D graphics) throws java.lang.Exception
paint
in class LineStringSegmentStyle
java.lang.Exception
protected void paint(java.awt.geom.Point2D p0, java.awt.geom.Point2D p1, Viewport viewport, java.awt.Graphics2D g) throws java.awt.geom.NoninvertibleTransformException
paint
in class LineStringSegmentStyle
java.awt.geom.NoninvertibleTransformException