Home > PHP > Function > > ImagickDraw::polyline()

ImagickDraw::polyline()

ImagickDraw::polyline - Draws a polyline

Syntax

bool ImagickDraw::polyline (array $coordinates)

Arguments

  • coordinates - array of x and y coordinates: array( array( \'x\' => 4, \'y\' => 6), array( \'x\' => 8, \'y\' => 10))

Description

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

Version

PHP PECL imagick 2.0.0

Return value

Returns TRUE on success.