add
add(position, color)
Add a gradient stop.
| Parameter | Type | Description |
|---|---|---|
| position | DoubleValue | The position of the stop,in unit of percentage. |
| color | ColorValue | The color of the stop. |
| alpha | The alpha of the color. |
Add a gradient stop.
| Parameter | Type | Description |
|---|---|---|
| position | DoubleValue | The position of the stop,in unit of percentage. |
| color | ColorValue | The color of the stop. |
| alpha | The alpha of the color. |