GmagickDraw::polygon
PHP function
Edit on GitHub ✎
(PECL gmagick >= Unknown)
Draws a polygon
Description
GmagickDraw::polygon(array $coordinates): GmagickDraw
Draws a polygon using the current stroke, stroke width, and fill color or texture, using the specified array of coordinates.
Parameters
coordinatescoordinate array
Return Values
The GmagickDraw object.