|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.ephemera.PointStyleEphemeron
com.partnersoft.maps.ephemera.RelativePointStyleEphemeron
public class RelativePointStyleEphemeron
Draws a Point Style at a relative XyPoint to the XyPoint passed to the draw method.
ie. Point (150,150) with passed point ( 2000,2000 ) would be drawn at (2150,2150);
| Field Summary |
|---|
| Fields inherited from class com.partnersoft.maps.ephemera.PointStyleEphemeron |
|---|
isPixels, mapset, offsetX, offsetY, pointStyle, rotation, snapGridSize |
| Constructor Summary | |
|---|---|
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. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.partnersoft.maps.ephemera.PointStyleEphemeron |
|---|
setSnapGridSize |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public 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 RelativePointStyleEphemeron(MapSet mapset,
XyPoint relative,
java.lang.String pointStyle,
int rotation)
mapset - pointStyle - rotation - | Method Detail |
|---|
public void draw(DrawingSurface surface,
MapViewFrame frame,
XyPoint mousePosition)
Ephemeron
draw in interface Ephemerondraw in class PointStyleEphemeron
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||