These pages are auto-generated from self-documenting comments embedded in class files.
For more information on breve and steve, refer to the breve homepage.

## Object : Line

This class is included as part of the file Line.tz.
To use this class in a simulation, include the line "@use Line."

### Class methods:

> - connect
> - is-linked
> - set-color
> - set-transparency

`connect from start (Real object) to end (Real object) with-color theColor = (0, 0, 0) (vector) with-style theStyle = "----------------" (string)`

> Adds a line to be drawn between Real objects start and end.

> The optional argument theColor specifies the color of the line. The default color is the vector (0, 0, 0), black.

> The optional argument theStyle specifies a pattern for the line. theStyle is a string of 16 spaces and/or dashes which specify the line pattern to be drawn. A dotted line, for example, would use the pattern "- - - - - - - - ". A thickly dashed line would use the pattern "-------- ". If no style is given, a solid line is drawn.

`is-linked to worldObject (object)`

> Returns 1 if this line is associated with worldObject.

`set-color to color (vector)`

> If the line is connected, sets the color of the line.

`set-transparency to transparency (float)`

> If the line is connected, sets the transparency of the line.

Documentation created Thu Jul 3 18:18:12 2008