What issues do you have with the canvas documentation? We literally just (within the last week or two) finished a massive overhaul, updating the content, writing docs for everything in the canvas rendering context, and so forth.
The reason you can’t find anything about how to draw a stroked line in a canvas is because there isn’t support for that at this time. You have to create an appropriate canvas pattern object and use that. For instance: http://stackoverflow.com/questions/4576724/dotted-stroke-in-canvas
I hope they update the strokeStyle property to support “dashed” and so forth, though.
Developer Documentation Lead
On January 20, 2015 at 5:37:19 AM, Jeremy (email@example.com) wrote:
The canvas element is pretty poorly documented.