sim.portrayal.network
Class EdgeDrawInfo2D
java.lang.Object
sim.portrayal.DrawInfo2D
sim.portrayal.network.EdgeDrawInfo2D
- Direct Known Subclasses:
- TrailedPortrayal2D.TrailDrawInfo2D
public class EdgeDrawInfo2D
- extends DrawInfo2D
An extension of DrawInfo2D for dealing with edges in visualizing network fields.
Field Summary |
java.awt.geom.Point2D.Double |
secondPoint
A pre-scaled point to draw to. |
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
secondPoint
public java.awt.geom.Point2D.Double secondPoint
- A pre-scaled point to draw to.
EdgeDrawInfo2D
public EdgeDrawInfo2D(GUIState state,
FieldPortrayal2D fieldPortrayal,
java.awt.geom.RectangularShape draw,
java.awt.geom.RectangularShape clip,
java.awt.geom.Point2D.Double secondPoint)
EdgeDrawInfo2D
public EdgeDrawInfo2D(DrawInfo2D other,
double translateX,
double translateY,
java.awt.geom.Point2D.Double secondPoint)
EdgeDrawInfo2D
public EdgeDrawInfo2D(DrawInfo2D other,
java.awt.geom.Point2D.Double secondPoint)
EdgeDrawInfo2D
public EdgeDrawInfo2D(EdgeDrawInfo2D other)
toString
public java.lang.String toString()
- Overrides:
toString
in class DrawInfo2D