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

ImagickDraw::pathCurveToQuadraticBezierRelative

PHP function Edit on GitHub ✎

(PECL imagick 2, PECL imagick 3)

Draws a quadratic Bezier curve

Description

ImagickDraw::pathCurveToQuadraticBezierRelative(float $x1, float $y1, float $x_end, float $y): bool

Func

Draws a quadratic Bezier curve from the current point to (x,y) using (x1,y1) as the control point using relative coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

Parameters

x1

starting x coordinate

y1

starting y coordinate

x_end

ending x coordinate

y

ending y coordinate

Return Values

Void

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