ImageGear Professional v18.2 > API Reference Guide > Vector Component API Reference > Vector Component Functions Reference > Hatch Line Functions > IG_vect_hatchline_set_lineangle |
This function sets an angle for the specified hatch line in radians.
Copy Code
|
|
---|---|
AT_ERRCOUNT ACCUAPI IG_vect_hatchline_set_lineangle(
HIG_VECT_HATCHLINE hHatchline,
float LineAngle
);
|
Name | Type | Description |
hHatchline | HIG_VECT_HATCHLINE | Handle of the hatch line. |
LineAngle | float | Hatch line angle to be set. |
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
Copy Code
|
|
---|---|
IG_vect_hatchline_set_lineangle(hHatchLine, IG_VECT_PI / 2); |