Package sim.portrayal.network
Class EdgeDrawInfo2D
java.lang.Object
sim.portrayal.DrawInfo2D
sim.portrayal.network.EdgeDrawInfo2D
- Direct Known Subclasses:
TrailedPortrayal2D.TrailDrawInfo2D
An extension of DrawInfo2D for dealing with edges in visualizing network fields.
-
Field Summary
Fields inherited from class sim.portrayal.DrawInfo2D
clip, draw, fieldPortrayal, gui, location, parent, precise, scale, selected
-
Constructor Summary
ConstructorDescriptionEdgeDrawInfo2D
(RectangularShape draw, RectangularShape clip, Point2D.Double secondPoint, DrawInfo2D parent) EdgeDrawInfo2D
(DrawInfo2D other, double translateX, double translateY, Point2D.Double secondPoint) EdgeDrawInfo2D
(DrawInfo2D other, Point2D.Double secondPoint) EdgeDrawInfo2D
(EdgeDrawInfo2D other) -
Method Summary
-
Field Details
-
secondPoint
A pre-scaled point to draw to.
-
-
Constructor Details
-
EdgeDrawInfo2D
public EdgeDrawInfo2D(RectangularShape draw, RectangularShape clip, Point2D.Double secondPoint, DrawInfo2D parent) -
EdgeDrawInfo2D
public EdgeDrawInfo2D(DrawInfo2D other, double translateX, double translateY, Point2D.Double secondPoint) -
EdgeDrawInfo2D
-
EdgeDrawInfo2D
-
-
Method Details
-
toString
- Overrides:
toString
in classDrawInfo2D
-