[]
Adds a new gradient stop in the color band.
public GradientStop Add(Color color, float position)
Public Function Add(color As Color, position As Single) As GradientStop
Type | Name | Description |
---|---|---|
Color | color | The gradient stop color. |
float | position | The gradient stop position in the color band. |
Type | Description |
---|---|
GradientStop | The added GradientStop. |
Adds a new gradient stop in the color band.
public GradientStop Add(ThemeColorId themeColor, float position)
Public Function Add(themeColor As ThemeColorId, position As Single) As GradientStop
Type | Name | Description |
---|---|---|
ThemeColorId | themeColor | The gradient stop theme color id. |
float | position | The gradient stop position in the color band. |
Type | Description |
---|---|
GradientStop | The added GradientStop. |