$addColorStop
Adds a new color stop, defined by an offset and a color, to a given canvas gradient.
Parameters
Name | Description | Enforced | Default Value |
---|---|---|---|
Gradient Name | The name for this gradient. | Yes | None |
Offset | The X0 coordinate. | Yes | None |
Color | The stop color. | Yes | None |