ImageClearRect()
Clears the specified rectangle by filling it with the background color of the current drawing surface.
Requires Extension: Image extension
ImageClearRect( image=object, x=number, y=number, width=number, height=number );
Returns: void
Examples
img=imageRead("https://avatars1.githubusercontent.com/u/10973141?s=280&v=4")
ImageClearRect(img,180,50,20,30);
cfimage(action="writeToBrowser", source=img);
See also
- Image manipulation
- image.clearRect()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)