torero.gui
Class PolyLine

java.lang.Object
  |
  +--torero.gui.PolyLine

public class PolyLine
extends Object

Helper Objects used by NodeWrapper. It represents an unclosed polygon by encapsulating an array of points.

See Also:
NodeWrapper

Field Summary
protected  Color linecolor
          Array of x and y coordinates,
protected  int[] xcoords
           
protected  int[] ycoords
           
 
Constructor Summary
PolyLine(int[] xcoords, int[] ycoords, Color linecolor)
          Color of the line.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xcoords

protected int[] xcoords

ycoords

protected int[] ycoords

linecolor

protected Color linecolor
Array of x and y coordinates,
Constructor Detail

PolyLine

public PolyLine(int[] xcoords,
                int[] ycoords,
                Color linecolor)
Color of the line.