# BASIC 256 - Language Documentation

en:line

## Line

### Format

line x0, y0, x1, y1
line(x0, y0, x1, y1)

### Description

Draws a line from the point x0,y0 to the point x1, y1 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

### See Also

Arc, Chord, Circle, GetPenWidth, Line, PenWidth, Pie, Plot, Poly, Rect, Stamp

en/line.txt · Last modified: 2013/01/02 14:43 by admin