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

20th Feb 2022, 6:13 AM
Rain Maligaya
Rain Maligaya - avatar
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
20th Feb 2022, 6:27 AM
Raul Ramirez
Raul Ramirez - avatar