Closed jwoLondon closed 3 years ago
If it doesn't do that on canvas, then it's definitely a bug. Let me take a look.
Here's a minimal reproducible example via Observable:
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
Ah, thanks. I didn't realise there was a V4. Sorry for wasting your time.
no problem at all!
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 setstroke: "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.