your example does not really make clear, what you're trying to achieve.
perhaps this may help: Reveal a svgpath with dash and gap
your example does not really make clear, what you're trying to achieve.
perhaps this may help: Reveal a svgpath with dash and gap