Canvas

Canvas Tutorials

Canvas Methods and Properties

HTML canvas beginPath() Method

HTML canvas beginPath() Method

 

 

The beginPath() method begins a path, or resets the current path. It is used with lineTo(), arcTo(), moveTo(), quadricCurveTo(), bezierCurveTo(), arc() to create different styles of paths. After this, we use stroke() to actually draw that path on canvas.

 

Syntax:-

 

Its syntax is:- context.beginPath();

Code Explanation

All Tutorials related to Canvas Methods and Properties

All Sections related to Canvas