ImageDrawRect()
Draws a rectangle.
Requires Extension: Image extension
ImageDrawRect( image=any, x=number, y=number, width=number, height=number, filled=boolean );
Returns: void
Examples
img=imageNew("",200,200,"RGB","fa983a");
imageDrawRect(img,45,50,75,125);
cfimage(action="writeToBrowser",source=img);
See also
- Image manipulation
- image.drawRect()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)