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

Class description:

Methods:

  • connect
  • isLinked
  • setColor
  • setTransparency
    connect( self, start, end, theColor, theStyle )

    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.


    isLinked( self, worldObject )

    Returns 1 if this line is associated with worldObject.


    setColor( self, color )

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


    setTransparency( self, transparency )

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