The ImagickDraw class
PHP Manual

ImagickDraw::line

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

ImagickDraw::lineDraws a line

Description

bool ImagickDraw::line ( float $sx , float $sy , float $ex , float $ey )
Warning

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

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

ey

ending y coordinate

Return Values

No value is returned.


The ImagickDraw class
PHP Manual