Table of Contents

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.

Example

color white
rect 0,0,300,300
color black
line 50,50,200,200
line 100,200,200,200
line 100,200,50,50

draws
Line