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