imageline

Draw a line (PHP 3, PHP 4 )
int imageline ( resource image, int x1, int y1, int x2, int y2, int color )

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

See also imagecreate() and imagecolorallocate().

This HTML Help has been published using the chm2web software.