imagefilledpolygon
Description
bool imagefilledpolygon ( resource image, array points, int num_points, int color )
imagefilledpolygon() creates a filled polygon
in the given image.
Parameters
imageAn image resource, returned by one of the image creation functions, such as imagecreatetruecolor().
pointsAn array containing the x and y coordinates of the polygons vertices consecutively
num_pointsTotal number of vertices, which must be bigger than 3
colorA color identifier created with imagecolorallocate()
Examples

