Produces a dashed stroke.
the stroke cap.
the dash length.
the gap length.
The stroke thickness.
Applies the stroke style to paint.