Name
imagefilledpolygon
Synopsis
imagefilledpolygon($image, $points_array, $num_points, $color);
Creates a polygon in image
filled with the color
color
. The second argument is an array of the
points of the polygon. The first two elements of the array are the x
and y values of the first point. The next two elements are the value
of the next point, and so on. The third argument is the number of
points in the polygon.
Get MySQL and mSQL now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.