Table of Contents

Line (Statement)

Format

line x1_position, y1_position, x2_position, y2_position
line ( x1_position, y1_position, y2_position, y2_position )

Description

Draws a line from the point (x1_position, y1_position) to the point (x2_position, y2_position) with the current pen color. The width of the line may be adjusted using the PenWidth statement.

Example

clg

color black

line 50,50,200,200

penwidth 5
line 100,200,200,200

penwidth 10
line 100,200,50,50

draws
Line

See Also

2016/01/01 22:42

History