imageline() draws a line between the two given points.
imageAn image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
x1x-coordinate for first point
y1y-coordinate for first point
x2x-coordinate for second point
y2y-coordinate for second point
colorThe line color. A color identifier created with imagecolorallocate()
Возвращает TRUE в случае успешного завершения или FALSE в случае возникновения ошибки.
| Пред. | Начало | След. |
| imagelayereffect | Уровень выше | imageloadfont |