[]
Inserts a new gradient stop in the color band.
public GradientStop Insert(Color color, float position, int index)
Public Function Insert(color As Color, position As Single, index As Integer) As GradientStop
Type | Name | Description |
---|---|---|
Color | color | The gradient stop color. |
float | position | The gradient stop position in the color band. |
int | index | The gradient stop index. |
Type | Description |
---|---|
GradientStop | The inserted GradientStop. |
Inserts a new gradient stop in the color band.
public GradientStop Insert(ThemeColorId themeColor, float position, int index)
Public Function Insert(themeColor As ThemeColorId, position As Single, index As Integer) As GradientStop
Type | Name | Description |
---|---|---|
ThemeColorId | themeColor | The gradient stop theme color id. |
float | position | The gradient stop position in the color band. |
int | index | The gradient stop index. |
Type | Description |
---|---|
GradientStop | The inserted GradientStop. |