Home > PHP > Function > > ImagickDraw::pathCurveToQuadraticBezierRelative()

ImagickDraw::pathCurveToQuadraticBezierRelative()

ImagickDraw::pathCurveToQuadraticBezierRelative - Draws a quadratic Bezier curve

Syntax

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

Arguments

  • x1 - starting x coordinate
  • y1 - starting y coordinate
  • x - ending x coordinate
  • y - ending y coordinate

Description

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.

Version

PHP PECL imagick 2.0.0

Return value

No value is returned.