## org.j3d.geom.overlay
Class LineDetails

class LineDetails

  Internal data holder class that holds a collection of lines of a given color.

Version:
  $Revision: 1.1 $
Author:
  Justin Couch

Field Detail

### color

    java.awt.Color color

  The color of the enclosed lines

### lines

    java.util.ArrayList lines

  An array of all lines held by this array. The array contains a list of LineData items.

Constructor Detail

### LineDetails

    LineDetails(java.awt.Color c)

  Construct a new set of line details for a line of the given color. A reference is taken to the color object, rather than a copy.

Parameters:
  `c` - The color to use

Method Detail

### addLine

    org.j3d.geom.overlay.LineData addLine()

  Create a new line instance and add it to the array. Returns an empty set of LineData for the new line data to be written to.

Returns:
  The data holder for the new line