Forum und email

imageline

(PHP 4, PHP 5)

imageline — Zeichnen einer Linie

Beschreibung:

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

ImageLine() zeichnet eine Linie von der x1 / y1 Koordinate bis zur Kordinate x2 / y2 (die Koordinate 0 / 0 ist die obere linke Ecke von im ). Die Linienfarbe wird durch col festgelegt.

Siehe auch imagecreate() und imagecolorallocate().