IG_vect_gradient_get_stopcolor
Gets the color of the specified stop.
Declaration:
|
Copy Code
|
AT_ERRCOUNT ACCUAPI IG_vect_gradient_get_stopcolor(
HIG_VECT_GRADIENT hGradient,
LONG nStopIndex,
IGVectColorEx* lpnStopColor
);
|
Arguments:
Name |
Type |
Description |
hGradient |
HIG_VECT_GRADIENT |
Handle to a gradient object. |
nStopIndex |
LONG |
Stop index. |
lpnStopColor |
IGVectColorEx* |
Returns the color of the specified stop. |
Return Value:
Returns 0 if successful. Otherwise, returns the number of ImageGear errors that occurred during this function call.
Supported Raster Image Formats:
This function does not process image pixels.
Sample:
None