Tuesday, September 25, 2012

HTML5 Canvas

HTML5 Canvas: "Canvas - Paths

To draw straight lines on a canvas, we will use the following two methods:

moveTo(x,y) defines the starting point of the line
lineTo(x,y) defines the ending point of the line
"

'via Blog this'