The ImagickDraw class
PHP Manual

ImagickDraw::polygon

(No version information available, might be only in CVS)

ImagickDraw::polygonDraws a polygon

Описание

bool ImagickDraw::polygon ( array $coordinates )
Внимание

К настоящему времени эта функция еще не была документирована; для ознакомления доступен только список аргументов.

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