0
How to draw a line canvausing the moveTo() function
i tried what it told me to and figured something wrong but then the context.stroke(): line was undefined any idea why this is wrong
1 Answer
+ 3
âDraw a Line
moveTo(x,y): Defines the starting point of the line.
lineTo(x,y): Defines the ending point of the line.â Html5 canvas lesson