The ImagickDraw class
PHP Manual

ImagickDraw::polygon

(PECL imagick 2.0.0)

ImagickDraw::polygonDraws a polygon

说明

bool ImagickDraw::polygon ( array $coordinates )
Warning

本函数还未编写文档,仅有参数列表。

Draws a polygon using the current stroke, stroke width, and fill color or texture, using the specified array of coordinates.

参数

coordinates

multidimensional array like array( array( 'x' => 3, 'y' => 4 ), array( 'x' => 2, 'y' => 6 ) );

返回值

Returns TRUE on success.


The ImagickDraw class
PHP Manual