Sets spread method for the gradient.
Declaration:
Copy Code | |
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_gradient_set_spreadmethod( HIG_VECT_GRADIENT hGradient, enumIGVectGradientSpreadMethod nSpreadMethod ); |
Arguments:
Name | Type | Description |
hGradient | HIG_VECT_GRADIENT | Handle to a gradient object. |
nSpreadMethod | enumIGVectGradientSpreadMethod | Spread method. See enumIGVectGradientSpreadMethod for the list of available spread methods. |
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