Name
ccontext:LineTo -- add line to path
Synopsis
ccontext:LineTo(x, y)
Function
Adds a line to the path from the current point to position (x, y) in user-space coordinates. After this call the current point will be (x, y).

If there is no current point before the call to ccontext:LineTo() this function will behave as ccontext:MoveTo() with x and y as the parameters.

Inputs
x
the X coordinate of the end of the new line
y
the Y coordinate of the end of the new line

Show TOC