Set StrokeDashArray, StrokeDashCap for Polyline