sim.portrayal
Class HexaDrawInfo2D

java.lang.Object
  extended by sim.portrayal.DrawInfo2D
      extended by 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).


Field Summary
 int[] xPoints
           
 int[] yPoints
           
 
Fields inherited from class sim.portrayal.DrawInfo2D
clip, draw
 
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
 

Field Detail

xPoints

public int[] xPoints

yPoints

public int[] yPoints
Constructor Detail

HexaDrawInfo2D

public HexaDrawInfo2D(java.awt.geom.Rectangle2D.Double draw,
                      java.awt.geom.Rectangle2D.Double clip,
                      int[] xPoints,
                      int[] yPoints)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class DrawInfo2D