klyn.gui.windows.Pen.setDash
method
public setDash(values as IList<Double>) as Void
Description

Replaces the current dash pattern.

The source is captured before the current pattern is changed, including when it is the list returned by dash(). The current list is retained.

Parameters
ParameterDescription
valuesDash lengths to copy, or null to clear the pattern.
Example
pen.setDash([8.0, 4.0])
pen.setDash(pen.dash())  # Keeps the same dash lengths.