The ImagickDraw class
PHP 手册

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 手册