# NodeBox

Create visual output with Python programming code
Home Download Reference Tutorial Library Gallery About

# Reference | lineto()

Syntax |
    lineto(x, y)
Description | The lineto() command must be called between beginpath() and endpath(). Draws a line between the current point in the path and a new destination point. The two parameters set the location of the new destination point.
Example |
    beginpath(10,10)
    lineto(40, 40)
    lineto(80, 40)
    endpath()