Methods
dashedLineTo(from, to, dashopt, gapopt, offsetPercopt)
A drop in replacement for `Graphics.lineTo` that plots dashed lines.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
from |
Vector | Starting point. | ||
to |
Vector | End point. | ||
dash |
number |
<optional> |
16.0 | Dash distance, in points. |
gap |
number |
<optional> |
8.0 | Gap distance, in points. |
offsetPerc |
number |
<optional> |
0.0 | Optional offset percentage (0.0-1.0) of dash pattern. Percentage is applied to the sum of `dash` + `gap`. |
- Source: