public setDash(values as IList<Double>) as Void
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.
| Parameter | Description |
|---|---|
values | Dash lengths to copy, or null to clear the pattern. |
pen.setDash([8.0, 4.0]) pen.setDash(pen.dash()) # Keeps the same dash lengths.