HTML canvas moveTo() Method
The canvas moveTo() method is used to move the path to the specified point in the canvas, without creating a line. After calling the moveTo() method, we can use stroke() method to draw the path on the canvas. Syntax: context.moveTo( x, y ); Parameters: This function accepts two parameters as mention