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.

Beispiel

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

Argumente

Die Argumente für diese Funktion sind fest vorgegeben. Ausser den nachfolgenden Argumenten dürfen keine weiteren verwendet werden.
Name Typ Required Beschreibung
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.