Railo 4.2 Reference
Choose a function:

Function IMAGECLEARRECT

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

Example

imageclearrect(image image,number x,number y,number width,number height):void

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
image image  Yes The image on which this operation is performed.  
x number  Yes The X coordinate of the rectangle to clear.  
y number  Yes The Y coordinate of the rectangle to clear.  
width number  Yes The width of the rectangle to clear.  
height number  Yes The height of the rectangle to clear.