ImgDrawRectangle

Top  Previous  Next

Prototype

 

ImgDrawRectangle(intImageHandle,intX, intY, intWidth, intHeight, intColor, boolFilled)

 

Description

 

Draw a rectangle of specified size and color in specified position.

 

Parameters

 

intImageHandle: integer value corresponding to the image handle.

 

intX: integer value, the position from left side where to place the rectangle

 

intY: integer value, the position from top side where to place the rectangle

 

intWidth: integer value, the width of rectangle

 

intHeight: integer value, the height of rectangle

 

intColor: integer value, the rectangle color value

 

boolFilled: boolean value, flag allowing rectangle filling

 

Returned value

 

None.

 

Notes

 

None.

 

Example

 

// Draw an empty black rectangle

ImgDrawRectangle(_CurrentImage, 100, 200, 150, 75, 0, False);