(PECL imagick 2.0.0)
Draws a line
bool ImagickDraw::line ( float $sx, float $sy, float $ex, float $ey )
Draws a line on the image using the current stroke color, stroke opacity, and stroke width.
Parameters:
sx
starting x coordinate
sy
starting y coordinate
ex
ending x coordinate