line()


Returns a line

line(x1, y1, x2, y2)
x1 x-coordinate of the first endpoint
y1 y-coordinate of the first endpoint
x2 x-coordinate of the second endpoint
y2 y-coordinate of the second endpoint

Example:

shape: Object = line(30, 20, 85, 75)
shape.draw(1, 1000)