php8.5
Home/ Manual/ imagick / imagickdraw/ ImagickDraw::pathLineToRelative

ImagickDraw::pathLineToRelative

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Draws a line path

Description

ImagickDraw::pathLineToRelative(float $x, float $y): bool

Func

Draws a line path from the current point to the given coordinate using relative coordinates. The coordinate then becomes the new current point.

Parameters

x

starting x coordinate

y

starting y coordinate

Return Values

Void

Source: reference/imagick/imagickdraw/pathlinetorelative.xml · from the official PHP manual (php/doc-en)