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

ImagickDraw::pathCurveToAbsolute()

ImagickDraw::pathCurveToAbsolute - Draws a cubic Bezier curve

Syntax

bool ImagickDraw::pathCurveToAbsolute (float $x1, float $y1, float $x2, float $y2, float $x, float $y)

Arguments

  • x1 - x coordinate of the first control point
  • y1 - y coordinate of the first control point
  • x2 - x coordinate of the second control point
  • y2 - y coordinate of the first control point
  • x - x coordinate of the curve end
  • y - y coordinate of the curve end

Description

Draws a cubic Bezier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve using absolute 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.