Hi.
Added 4 parameters for pathlineCap
lineJoin
dashArray
dashOffset
Read about this parameters in leaflet docs https://leafletjs.com/reference-1.6.0.html#path-linecap
For dashArray you can enter numbers separated by space
For example: 20 10 20
or: 20 20
In leaflet docs (in my just a little later) there are links to mozilla docs