ImageLine

(PHP 3, PHP 4 >= 4.0b1)

ImageLine -- Draw a line

Description

int imageline (int im, int x1, int y1, int x2, int y2, int col)

ImageLine() draws a line from x1, y1 to x2, y2 (top left is 0, 0) in image im of color col.

See also ImageCreate() and ImageColorAllocate().