ImagickDraw
PHP Manual

ImagickDraw::pathCurveToQuadraticBezierSmoothRelative

(PECL imagick 2.0.0)

ImagickDraw::pathCurveToQuadraticBezierSmoothRelativeDraws a quadratic Bezier curve

Descrierea

bool ImagickDraw::pathCurveToQuadraticBezierSmoothRelative ( float $x , float $y )
Avertizare

Această funcție nu este documentată în prezent; este disponibilă numai lista sa de argumente.

Draws a quadratic Bezier curve (using relative coordinates) from the current point to (x, y). The control point is assumed to be the reflection of the control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not a DrawPathCurveToQuadraticBezierAbsolute, DrawPathCurveToQuadraticBezierRelative, DrawPathCurveToQuadraticBezierSmoothAbsolut or DrawPathCurveToQuadraticBezierSmoothRelative, assume the control point is coincident with the current point). At the end of the command, the new current point becomes the final (x, y) coordinate pair used in the polybezier.

Parametri

x

ending x coordinate

y

ending y coordinate

Valorile întoarse

Nu este întoarsă nici o valoare.


ImagickDraw
PHP Manual