public abstract class LineStringEndpointStyle extends LineStringStyle implements ChoosableStyle
| Modifier and Type | Field and Description |
|---|---|
protected Icon |
icon |
protected String |
name |
enabled, fillColorWithAlpha, lineColorWithAlpha, stroke| Constructor and Description |
|---|
LineStringEndpointStyle(String name,
Icon icon,
boolean start) |
| Modifier and Type | Method and Description |
|---|---|
Icon |
getIcon()
For display. 20 x 20 pixels.
|
String |
getName()
For display.
|
protected abstract void |
paint(Point2D terminal,
Point2D next,
Viewport viewport,
Graphics2D graphics) |
protected void |
paintLineString(com.vividsolutions.jts.geom.LineString lineString,
Viewport viewport,
Graphics2D graphics) |
clone, initialize, isEnabled, paint, paintGeometry, setEnabledequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclone, initialize, isEnabled, paint, setEnabledprotected void paintLineString(com.vividsolutions.jts.geom.LineString lineString,
Viewport viewport,
Graphics2D graphics)
throws Exception
paintLineString in class LineStringStylelineString - has 2 or more pointsExceptionprotected abstract void paint(Point2D terminal, Point2D next, Viewport viewport, Graphics2D graphics) throws Exception
Exceptionpublic String getName()
ChoosableStylegetName in interface ChoosableStylepublic Icon getIcon()
ChoosableStylegetIcon in interface ChoosableStyleCopyright © 2015. All rights reserved.