[whatwg] Canvas stroke alignment
Nick
nickstakenburg at home.nl
Mon Jul 19 08:08:51 PDT 2010
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
More information about the whatwg
mailing list