public setDash(values as IList<Double>) as Void:
Replaces the current dash pattern.
pen.setDash([8.0, 4.0])