📄 edgedrawinfo2d.java
字号:
package sim.portrayal.network;import sim.portrayal.*;import java.awt.geom.*;/** An extension of DrawInfo2D for dealing with edges in visualizing network fields.*/public class EdgeDrawInfo2D extends DrawInfo2D { /** A pre-scaled point to draw to. */ public Point2D.Double secondPoint; public EdgeDrawInfo2D(Rectangle2D.Double draw, Rectangle2D.Double clip, Point2D.Double secondPoint) { super(draw,clip); this.secondPoint = secondPoint; } public String toString() { return "EdgeDrawInfo2D[ Draw: " + draw + " Clip: " + clip + " 2nd: " + secondPoint + "]"; } }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -