Lucee Function Reference
imageclearrect()
Clears the specified rectangle by filling it with the background color of the current drawing surface.
Beispiel
imageclearrect(object image,number x,number y,number width,number height):void
Kategorie
image
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 | object | 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. |