public class RelativePointStyleEphemeron extends PointStyleEphemeron
ie. Point (150,150) with passed point ( 2000,2000 ) would be drawn at (2150,2150);
isPixels, mapset, offsetX, offsetY, pointStyle, rotation, snapGridSize| Constructor and Description |
|---|
RelativePointStyleEphemeron(MapSet mapset,
XyPoint relative,
java.lang.String pointStyle,
int rotation)
Creates a new RelativePointStyleEphmeron for the passed style.
|
RelativePointStyleEphemeron(MapSet mapset,
XyPoint relative,
java.lang.String pointStyle,
int rotation,
int offsetX,
int offsetY)
Creates a new RelativePointStyleEphmeron for the passed style.
|
RelativePointStyleEphemeron(MapSet mapset,
XyPoint relative,
java.lang.String pointStyle,
int rotation,
int offsetX,
int offsetY,
boolean isPixels)
Creates a new RelativePointStyleEphmeron for the passed style.
|
| 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.
|
setSnapGridSizepublic RelativePointStyleEphemeron(MapSet mapset, XyPoint relative, java.lang.String pointStyle, int rotation, int offsetX, int offsetY)
mapset - pointStyle - rotation - offsetX - offsetY - public RelativePointStyleEphemeron(MapSet mapset, XyPoint relative, java.lang.String pointStyle, int rotation, int offsetX, int offsetY, boolean isPixels)
mapset - pointStyle - rotation - offsetX - offsetY - isPixels - public void draw(DrawingSurface surface, MapViewFrame frame, XyPoint mousePosition)
Ephemerondraw in interface Ephemerondraw in class PointStyleEphemeron