public class ScaleSnapshotEphemeron extends AbstractSnapshotEphemeron
Copyright 2007 Partner Software, Inc.
snapshot| Constructor and Description |
|---|
ScaleSnapshotEphemeron(MapViewFrame snapshot,
java.lang.String cornerName)
Creates a new ScaleSnapshotEphemeron for a snapshot represented by the
passed MapViewFrame
|
| 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.
|
protected void |
mangleSnapshot(DrawingSurface surface,
MapViewFrame frame,
XyPoint mousePosition)
Changes internal snapshot before each draw.
|
public ScaleSnapshotEphemeron(MapViewFrame snapshot, java.lang.String cornerName)
snapshot - -
MapViewFrame representing snapshotprotected void mangleSnapshot(DrawingSurface surface, MapViewFrame frame, XyPoint mousePosition)
AbstractSnapshotEphemeronHandles specific ephemera changes. Allows rotating,scaling, and moving ephemera to share draw code. Does not need to reset the MapViewFrame's transform.
mangleSnapshot in class AbstractSnapshotEphemeronpublic void draw(DrawingSurface surface, MapViewFrame frame, XyPoint mousePosition)
Ephemerondraw in interface Ephemerondraw in class AbstractSnapshotEphemeron