Imagick Image Library
PHP Manual

ImagickDraw::line

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

ImagickDraw::line — Draws a line

Description

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

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

Warning

This function is EXPERIMENTAL. The behaviour of this function, the name of this function, and anything else documented about this function may change without notice in a future release of PHP. Use this function at your own risk.

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.


Imagick Image Library
PHP Manual