public setLineDash(values as IList<Double>) as Void:
Replaces the current dash pattern.
painter.setLineDash([6.0, 3.0])