Line()

Displays a line on the graphics device

LINE/DRAW xstart=Real ystart=Real xend=Real yend=Real [colour=Colour] [line_type=LineStyle] [line_thickness=Real] Draws a line on a graphics device.
LINE/ALTER [xstart=Real] [ystart=Real] [xend=Real] [yend=Real] [colour=Colour] [line_type=LineStyle] [line_thickness=Real] object=Gobject Alters a previously drawn line.

example:

	#Draw a line
	>> aline = line:draw(0.0, 0.0, 1.0, 1.0, line_type=$dash)
	# Want the line type to be dot-dash
	>> line/alter line_type=$dot-dash object=aline

Line/Draw

Draws a line in a graphics device.

Parameters:

Xstart (Real)

x co-ordinate of the starting point.

Xend (Real)

x co-ordinate of the ending point.

Ystart (Real)

y co-ordinate of the starting point.

Yend (Real)

y co-ordinate of the ending point.

Colour (Colour)

Sets the colour of the line

Line_thickness (Real)

Sets the width of the line.

RESULT = (Polyline)

Returns the properties of the newly created line.

Labels/Alter

Alters a line in a graphics device.

Parameters:

Xstart (Real)

x co-ordinate of the starting point.

Xend (Real)

x co-ordinate of the ending point.

Ystart (Real)

y co-ordinate of the starting point.

Yend (Real)

y co-ordinate of the ending point.

Colour (Colour)

Sets the colour of the line

Line_thickness (Real)

Sets the width of the line.

Object (Gobject)

Shows which line is to be altered, in any one window.

RESULT = (Polyline)

Returns the properties of the altered line.