|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.ephemera.StretchFromPoint
public class StretchFromPoint
Rubber-banding ephemeron, draws a line stretching between some anchor point and the current mouse position. Useful when adding or moving vertices of a polyline.
Copyright 2007 Paul Reavis
| Constructor Summary | |
|---|---|
StretchFromPoint(XyPoint anchor)
Create a new StretchFromPoint object with the given anchor point. |
|
StretchFromPoint(XyPoint anchor,
java.lang.String lineStyleName)
Create a new StretchFromPoint object with the given anchor point. |
|
| 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 java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public StretchFromPoint(XyPoint anchor,
java.lang.String lineStyleName)
public StretchFromPoint(XyPoint anchor)
| Method Detail |
|---|
public void draw(DrawingSurface surface,
MapViewFrame frame,
XyPoint mousePosition)
Ephemeron
draw in interface Ephemeron
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||