support stroke-linecap and stroke-dasharray