com.partnersoft.staker.ephemera
Class StretchFromPointsWithDistance
java.lang.Object
com.partnersoft.staker.ephemera.StretchFromPointsWithDistance
public class StretchFromPointsWithDistance
- extends java.lang.Object
Rubber-banding ephemeron, draws lines stretching between one or more anchor
points and the current mouse position. The distance of each line is drawn on
the opposite side of each anchor point from the mouse. Useful when moving a
vertex inside a polyline or within a tree or mesh.
Copyright 2007 Paul Reavis
|
Method Summary |
void |
draw(DrawingSurface surface,
MapViewFrame frame,
XyPoint mousePosition)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StretchFromPointsWithDistance
public StretchFromPointsWithDistance(java.lang.String lineStyle,
java.lang.String textStyle,
XyPoint... anchors)
StretchFromPointsWithDistance
public StretchFromPointsWithDistance(java.lang.String lineStyle,
java.lang.String textStyle,
java.util.Collection<XyPoint> anchors)
draw
public void draw(DrawingSurface surface,
MapViewFrame frame,
XyPoint mousePosition)