sim.portrayal
Class HexaDrawInfo2D
java.lang.Object
sim.portrayal.DrawInfo2D
sim.portrayal.HexaDrawInfo2D
public class HexaDrawInfo2D
- extends DrawInfo2D
An extension of DrawInfo2D that contains 6 (x,y) points that indicate
the exact coordinates of the vertexes of the hexagon (after rounding to int values).
Constructor Summary |
HexaDrawInfo2D(java.awt.geom.Rectangle2D.Double draw,
java.awt.geom.Rectangle2D.Double clip,
int[] xPoints,
int[] yPoints)
|
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
xPoints
public int[] xPoints
yPoints
public int[] yPoints
HexaDrawInfo2D
public HexaDrawInfo2D(java.awt.geom.Rectangle2D.Double draw,
java.awt.geom.Rectangle2D.Double clip,
int[] xPoints,
int[] yPoints)
toString
public java.lang.String toString()
- Overrides:
toString
in class DrawInfo2D