contents   index   previous   next



GD filledPolygon()

syntax:

gd.filledPolygon(point1[, x2, y2[, ...], color)

where:

pointN - Point specification for Nth point

 

xN - x coordinate of Nth point

 

yN - y coordinate of Nth point

 

color - color index or style to use for fill

 

return:

void.

 

description:

This method is exactly the same as GD polygon(), except that it fills in the polygon, managing intersections in the process.

 

see:

#link <gd>, GD polygon()

 

 


GD filledRectangle()