PYTHON ImagickDraw::polygon

(1)
Python replacement for PHP's ImagickDraw::polygon [ edit ]



Do you know a Python replacement for PHP's ImagickDraw::polygon ? Write it!

PHP ImagickDraw::polygon

PHP original manual for ImagickDraw::polygon [ show | php.net ]

ImagickDraw::polygon

(PECL imagick 2.0.0)

ImagickDraw::polygonDraws a polygon

Description

bool ImagickDraw::polygon ( array $coordinates )
Warning

This function is currently not documented; only its argument list is available.

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

Parameters

coordinates

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

Return Values

Returns TRUE on success.