[]
Adds a stop to a gradient and specifies the brightness, as well as the transparency of the color.
void Insert(int rgb, double position, double transparency = 0, int index = -1, double brightness = 0)
Sub Insert(rgb As Integer, position As Double, Optional transparency As Double = 0, Optional index As Integer = -1, Optional brightness As Double = 0)
| Type | Name | Description |
|---|---|---|
| int | rgb | Specifies the color at the gradient stop. |
| double | position | Specifies the position of the stop within the gradient expressed as a percent. |
| double | transparency | Specifies the opacity of color at the gradient stop. |
| int | index | The index number of the stop. |
| double | brightness | Specifies the brightness of the color at the gradient stop. |