略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ps_curveto

2024-05-02

ps_curveto

(PECL ps >= 1.1.0)

ps_curvetoDraws a curve

说明

ps_curveto(
    resource $psdoc,
    float $x1,
    float $y1,
    float $x2,
    float $y2,
    float $x3,
    float $y3
): bool

Add a section of a cubic Bézier curve described by the three given control points to the current path.

参数

psdoc

Resource identifier of the postscript file as returned by ps_new().

x1

x-coordinate of first control point.

y1

y-coordinate of first control point.

x2

x-coordinate of second control point.

y2

y-coordinate of second control point.

x3

x-coordinate of third control point.

y3

y-coordinate of third control point.

返回值

成功时返回 true, 或者在失败时返回 false

参见

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/function.ps-curveto.php

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