ImageClearRect

Clears the specified rectangle by filling it with the background color of the current drawing surface.

ImageClearRect( image, x, y, width, height )

Returns: void

Argument Description
image
image, required

The image on which this operation is performed.

x
number, required

The X coordinate of the rectangle to clear.

y
number, required

The Y coordinate of the rectangle to clear.

width
number, required

The width of the rectangle to clear.

height
number, required

The height of the rectangle to clear.

Examples

There are currently no examples for this function.

See also