I've been reading a lot of tutorials on the canvas tag and seen a lot of people using JavaScript that looks something like:

ctx.beginPath();
ctx.moveTo(25,25);
ctx.lineTo(105,25);
ctx.fill();

I understand that ctx is just the variable name and I can replace that with any variable I define, however, I'm looking for a list of all of the methods such as (moveTo, lineTo, fill etc...), as well as what they do.


I hope I'm explaining this or asking this correctly.

Thanks!

-Mike