ImagickDraw
PHP Manual

ImagickDraw::polygon

(PECL imagick 2.0.0)

ImagickDraw::polygonDraws a polygon

Opis

bool ImagickDraw::polygon ( array $coordinates )
Ostrzeżenie

Ta funkcja jest obecnie nieudokumentowana, dostępna jest jedynie lista jej argumentów.

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

Parametry

coordinates

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

Zwracane wartości

Zwraca TRUE w przypadku sukcesu.


ImagickDraw
PHP Manual