Beschreibung:
int
imagepolygon
( int im, array points, int num_points, int col)
ImagePolygon(
)
erzeugt
ein
Vieleck
innerhalb
von
im
.
Points
ist
ein
PHP-Array
,
das
die
Werte
für
die
Eckpunkte
des
Polygons
enthält
,
z.B
.
Points[
0
]
=
x0
,
Points[1
]
=
y0
,
Points[2
]
=
x1
,
Points[3
]
=
y1
usw
.
Num_points
enthält
die
Gesamtzahl
an
Points
(
Points[n]
)
.
Siehe
auch
imagecreate(
)
und
imagefilledpolygon(
)
.