ImageDrawLines()
Draws a sequence of connected lines defined by arrays of x and y coordinates.
Requires Extension: Image extension
ImageDrawLines( image=any, xcoords=array, ycoords=array, isPolygon=boolean, filled=boolean );
Returns: void
Examples
img=imageNew("",200,200,"RGB","4a69bd");
imageDrawLines(img,[10,50,100,50],[100,10,100,152],"yes","no");
cfimage(action="writeToBrowser",source=img);
See also
- Image manipulation
- image.drawDrawLines()
- Search Issue Tracker
- Search Lucee Test Cases (good for further, detailed examples)