cduck/drawsvg

Unable to draw dashed lines

Closed this issue · 0 comments

Hi, and thank you very much for this cool package which I frequently use in my research!

However, I am stuck with the simple thing: how do I draw a dashed line with the Path object? I did not find it in the documentation :(

This works cool:
p = drawsvg.Path(stroke_width = stroke_width, stroke = stroke, fill = fill, d = d, id = obj_id)

But now I would be happy to do something like this, which fails:
p = drawsvg.Path(stroke_width = stroke_width, stroke_dasharray = stroke_dasharray, stroke_dashoffset = stroke_dashoffset, stroke = stroke, fill = fill, d = d, id = obj_id)

Thank you very much for the responce.
Daria