DrawImage()

Syntax

DrawImage(ImageID, x, y [, Width, Height])
Description
Draws an image to the current drawing output. The filling mode is determined by DrawingMode(). The current output is set with StartDrawing().

Parameters

ImageID The ID of the image to draw. This value can be obtained using the ImageID() function from the image library.
x, y The position of the top/left corner of the image in the drawing output.
Width, Height (optional) The size with which the image will be drawn. If these parameters are not specified then the image will be drawn in its original size.

Return value

None.

See Also

ImageID()

Supported OS

All

<- Circle() - 2DDrawing Index - DrawText() ->