(PECL gmagick >= Unknown)
GmagickDraw::polygon — Draws a polygon
public 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.
coordinates
coordinate array
The GmagickDraw object on success
© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/gmagickdraw.polygon.php