API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Gradient Functions > IG_vect_gradient_set_stopcolor |
Sets new color for the specified stop.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_gradient_set_stopcolor( HIG_VECT_GRADIENT hGradient, LONG nStopIndex, IGVectColorEx StopColor ); |
Name | Type | Description |
---|---|---|
hGradient | HIG_VECT_GRADIENT | Handle to a gradient object. |
nStopIndex | LONG | Stop index. |
StopColor | IGVectColorEx | New color for the stop. |
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
This function does not process image pixels.
None