public setLineDash(values as IList<Double>) as Void
Replaces the current dash pattern.
The source is captured before mutation; passing getLineDash() keeps its contents and the identity of the exposed list.
| Parameter | Description |
|---|---|
values | Dash lengths to copy, or null to clear the pattern. |
painter.setLineDash([6.0, 3.0]) painter.setLineDash(painter.getLineDash())