August 2006
Intermediate to advanced
1018 pages
34h 13m
English
CanvasRenderingContext2D.lineTo( ): add a straight line to the current subpath
void lineTo(floatx, floaty)
x, y
The coordinates of the end point of the line.
lineTo( ) adds a straight
line to the current subpath. The line begins at the current point
and ends at (x,y). When this
method returns, the current position is (x,y).
CanvasRenderingContext2D.beginPath(
), CanvasRenderingContext2D.moveTo( )
Read now
Unlock full access