Setting stroke to "none" has no effect on canvas
jwoLondon opened this issue · 5 comments
jwoLondon commented
Is there a way to stop outer stroke drawing on canvas? Setting stroke:"none"
works for SVG but not for canvas. I realise one can set stroke: "rgba(0,0,0,0)"
, but would be good to have a more performant approach and one that is consistent between SVG and Canvas contexts.
pshihn commented
If it doesn't do that on canvas, then it's definitely a bug. Let me take a look.
jwoLondon commented
Here's a minimal reproducible example via Observable:
pshihn commented
Ahh it got fixed in v4.0 Your example uses 3.0
Here's a fork with the latest version: https://observablehq.com/@preetster/rough-strokes
jwoLondon commented
Ah, thanks. I didn't realise there was a V4. Sorry for wasting your time.
pshihn commented
no problem at all!