略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ImagickDraw::pathCurveToSmoothAbsolute

2024-11-15

ImagickDraw::pathCurveToSmoothAbsolute

(PECL imagick 2, PECL imagick 3)

ImagickDraw::pathCurveToSmoothAbsoluteDraws a cubic Bezier curve

说明

public ImagickDraw::pathCurveToSmoothAbsolute(
    float $x2,
    float $y2,
    float $x,
    float $y
): bool
警告

本函数还未编写文档,仅有参数列表。

Draws a cubic Bezier curve from the current point to (x,y) using absolute coordinates. The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point. (If there is no previous command or if the previous command was not an DrawPathCurveToAbsolute, DrawPathCurveToRelative, DrawPathCurveToSmoothAbsolute or DrawPathCurveToSmoothRelative, assume the first control point is coincident with the current point.) (x2,y2) is the second control point (i.e., the control point at the end of the curve). At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

参数

x2

x coordinate of the second control point

y2

y coordinate of the second control point

x

x coordinate of the ending point

y

y coordinate of the ending point

返回值

没有返回值。

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/imagickdraw.pathcurvetosmoothabsolute.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3