To create a path with HTML5 Canvas, we can connect multiple subpaths. The ending point of each new subpath becomes the new context point. We can use the lineTo(), arcTo(), quadraticCurveTo(), and bezierCurveTo() methods to construct each subpath which makes up our path. We can use the beginPath() method each time we want to start drawing a new path.
1.1 HTML5 Canvas
1.2 Lines
1.3 Curves
1.4 Paths
1.5 Shapes
1.6 Fill Styles
1.7 Images
1.8 Text
1.4.1 HTML5 Canvas Path Tutorial
Posted on November 4th, 2010
by Eric Rowell
