public class RelativePolylineEphemeron extends PolylineEphemeron
ie. XyPolyline { (0,0), (10,10), (100,100) } with a mouse position of 10000, 10000 would be drawn at { (10000,10000), (10010,10010), (10100,10100) }.
app, lineStyle, mapset, polyline| Constructor and Description |
|---|
RelativePolylineEphemeron(MapApp app,
MapSet mapset,
XyPolyline polyline,
java.lang.String lineStyle)
Creates a new RelativePolylineEphemeron with relative XyPolyline arguement.
|
| Modifier and Type | Method and Description |
|---|---|
void |
draw(DrawingSurface surface,
MapViewFrame frame,
XyPoint mousePosition)
Draw appropriate graphics on the given surface with the given frame,
mouse position, and any implementation-specific internal state.
|
getPolyline, setPolylinepublic RelativePolylineEphemeron(MapApp app, MapSet mapset, XyPolyline polyline, java.lang.String lineStyle)
app - - Valid MapApp.mapset - - MapSet containing style to draw.polyline - - Relative XyPolyline to be drawn.lineStyle - - LineStyle name to use.public void draw(DrawingSurface surface, MapViewFrame frame, XyPoint mousePosition)
Ephemerondraw in interface Ephemerondraw in class PolylineEphemeron