imagefilledpolygon
(PHP 3, PHP 4 , PHP 5)
imagefilledpolygon -- Zeichnet ein gefülltes Vieleck (Polygon)
Beschreibung:
int
imagefilledpolygon ( int im, array points, int num_points, int col)
ImageFilledPolygon() erzeugt ein Vieleck
im Bild im, gefüllt mit der Farbe
col. Points
ist ein PHP-Array, das die Eckpunkte des Vielecks enthält.
Points[0] ist die X-Koordinate (x0), points[1] die Y-Koordinate
(y0) des ersten Eckunktes. Points[2] ist x1, points[3] = y1 usw.
Num_points enthält die Anzahl der Punkte.