$addColorStop
Adds a color stop to a gradent.
Usage
$addColorStop[canvas;gradient;offset;color]Parameters
| Field | Description | Type | Required |
|---|---|---|---|
| canvas | The canvas name. | string | true |
| gradient | The gradient name. | string | true |
| offset | The color stop offset. | number | true |
| color | The color of the stop. | number | true |