HTML5 Canvas Line Width Tutorial

To define the width of an HTML5 Canvas line, we can use the lineWidth property of the canvas context.  The lineWidth property must be set before calling stroke().

Open in new window

Code Editor

Modified on April 8th, 2013 by Eric Rowell
comments powered by Disqus