Lucee Function Reference
Function IMAGESETBACKGROUNDCOLOR
Sets the background color for the image. The background color is used for clearing a region. Setting the background color only affects the subsequent ImageClearRect calls
Example
imagesetbackgroundcolor(any name,string color):void
Arguments
The arguments for this function are set. You can not use other arguments except the following ones.
Name | Type | Required | Description |
---|---|---|---|
name | any | Yes | The image on which this operation is performed. |
color | string | Yes |
Background color (The default value is "black"): |