public class CollectionScaleEphemeron extends AbstractCollectionEphemeron
Copyright 2008 Partner Software, Inc.
| Constructor and Description |
|---|
CollectionScaleEphemeron(MapApp app,
MapSet mapset,
XyPoint origCentroid,
XyPoint origMouse,
double pixelBuffer)
Creates a new empty CollectionScaleEphemeron.
|
| 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.
|
addLine, addPoint, addTextpublic CollectionScaleEphemeron(MapApp app, MapSet mapset, XyPoint origCentroid, XyPoint origMouse, double pixelBuffer)
app - - Valid app.mapset - - Mapset containing styles to be drawn.origCentroid - - Point to use to find scale.origMouse - - Other point used to find scale.pixelBuffer - - Distance in pixels that will be added to the origCentroid, Allows decreasing scales when origMouse and origCentroid are the same point.public void draw(DrawingSurface surface, MapViewFrame frame, XyPoint mousePosition)
Ephemerondraw in interface Ephemerondraw in class AbstractCollectionEphemeron