ImageGear Professional v18.4 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Gradient Functions > IG_vect_gradient_linear_set_vector |
Sets parameters of the linear gradient: start and end points and the flag specifying whether they are relative or absolute.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_gradient_linear_set_vector( HIG_VECT_GRADIENT hGradient, IGVectPoint3D Pt1, IGVectPoint3D Pt2, AT_BOOL bAbsolute ); |
Name | Type | Description |
hGradient | HIG_VECT_GRADIENT | Handle to a gradient object. |
Pt1 | IGVectPoint3D | Start point of the linear gradient. |
Pt2 | IGVectPoint3D | End point of the linear gradient. |
bAbsolute | AT_BOOL | Specifies whether the start and end points are relative or absolute. |
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