en:line [BASIC 256 - Language Documentation]

# BASIC 256 - Language Documentation

en:line

## Line (Statement)

### 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

### History

en/line.txt · Last modified: 2014/02/08 19:13 by admin