ImageGear Professional v18.2 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Gradient Functions > IG_vect_gradient_add_stop |
Adds a new stop, defined by its offset and color, to the gradient.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_gradient_add_stop( HIG_VECT_GRADIENT hGradient, VECT_REAL fStopOffset, IGVectColorEx StopColor ); |
Name | Type | Description |
hGradient | HIG_VECT_GRADIENT | Handle to a gradient object. |
fStopOffset | VECT_REAL | Offset of the new gradient stop. |
StopColor | IGVectColorEx | Color of the new gradient 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