public class ScalePolylineEphemeron extends PolylineEphemeron
Copyright 2008 Partner Software, Inc.
app, lineStyle, mapset, polyline| Constructor and Description |
|---|
ScalePolylineEphemeron(MapApp app,
MapSet mapset,
XyPolyline polyline,
java.lang.String lineStyle,
XyPoint origCentroid,
XyPoint startingMouse)
Creates a new ScalePolylineEphemeron.
|
| 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 ScalePolylineEphemeron(MapApp app, MapSet mapset, XyPolyline polyline, java.lang.String lineStyle, XyPoint origCentroid, XyPoint startingMouse)
app - - Valid app, used for scale and setting styles.mapset - - Mapset containing the passed styles.polyline - - Line to scale.lineStyle - - Line Style name to use for ephemeron.origCentroid - - starting point to use for original ratio.startingMouse - - starting mouse (click) to use for original ratio.public void draw(DrawingSurface surface, MapViewFrame frame, XyPoint mousePosition)
Ephemerondraw in interface Ephemerondraw in class PolylineEphemeron