ImgDrawLine

Top  Previous  Next

Prototype

 

ImgDrawLine(intImageHandle,intX1, intY1, intX2, intY2, intColor)

 

Description

 

Draw a line of specified color between two points.

 

Parameters

 

intImageHandle: integer value corresponding to the image handle.

 

intX1: integer value, the position from left side where the line starts

 

intY1: integer value, the position from top side where the line starts

 

intX2: integer value, the position from left side where the line ends

 

intY2: integer value, the position from top side where the line ends

 

intColor: integer value, the rectangle color value

 

Returned value

 

None.

 

Notes

 

None.

 

Example

 

// Draw a line

ImgDrawLine(_CurrentImage, 0, 0, 100, 200, 0);