PHP. Руководство по PHP. 2005
imagefilledpolygon
imagefilledpolygon
Description
bool imagefilledpolygon (resource image, array points, int num_points, int color)imagefilledpolygon() creates a filled polygon in image image.
points is an array containing the x and y co-ordinates of the polygons vertices consecutively.
The parameter num_points is the total number of vertices, which must be larger than 3.
imagefilledellipse
imagefilledrectangle