[whatwg] Canvas stroke alignment

Canvas would benefit from a way to set stroke alignment. With the only 
available alignment being center, which is not very useful, custom paths 
have to be drawn to mimic inside and outside stroke alignment. That 
workaround may give unwanted transparency on pixels between a path and 
its stroke path once a path goes diagonal or curves.

Having Canvas take care of stroke alignment (center, inside and outside) 
by adding something like strokeAlign can fix these transparency problems 
and makes adding strokes a lot easier and more useful.

--
Nick Stakenburg

Received on Monday, 19 July 2010 08:08:51 UTC