|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.maps.ephemera.StretchFromPoints
public class StretchFromPoints
Rubber-banding ephemeron, draws lines stretching between one or more anchor points and the current mouse position. Useful when moving a vertex inside a polyline or within a tree or mesh.
Copyright 2007 Paul Reavis
| Constructor Summary | |
|---|---|
StretchFromPoints(java.util.Collection<XyPoint> anchors)
Create a new StretchFromPoint object with the given anchor points. |
|
StretchFromPoints(XyPoint... anchors)
Create a new StretchFromPoint object with the given anchor points. |
|
| 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 StretchFromPoints(XyPoint... anchors)
public StretchFromPoints(java.util.Collection<XyPoint> anchors)
| 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 | ||||||||