PHP - Manual: ImagickDraw::pathCurveToAbsolute
2025-10-24
(PECL imagick 2, PECL imagick 3)
ImagickDraw::pathCurveToAbsolute — Draws a cubic Bezier curve
$x1,$y1,$x2,$y2,$x,$y本函数还未编写文档,仅有参数列表。
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.
x1x coordinate of the first control point
y1y coordinate of the first control point
x2x coordinate of the second control point
y2y coordinate of the first control point
xx coordinate of the curve end
yy coordinate of the curve end
没有返回值。
官方地址:https://www.php.net/manual/en/imagickdraw.pathcurvetoabsolute.php