img-mapper/react-img-mapper

Stroke dashed line inclusion

Opened this issue · 0 comments

Can you look at adding dashed lines? maybe with control of spaces and line length. It seems like a simple inclusion to add.

i.e.
image_2024-04-04_171544440

I need a way to differentiate visually between shapes for accessibility and a dashed stroke would help and not too hard to add.

https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash

Is it possible to add this functionality?