ImageDrawLine()
Draws a single line defined by two sets of x and y coordinates on an image.
Requires Extension: Image extension
ImageDrawLine( image=any, x1=number, y1=number, x2=number, y2=number );
Returns: void
Examples
img=imageNew("",200,200,"RGB","38ada9");
imageDrawLine(img,10,10,100,180);
cfimage(action="writeToBrowser", source=img);
See also
- Image manipulation
- image.drawLine()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)