略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ps_moveto

2024-04-26

ps_moveto

(PECL ps >= 1.1.0)

ps_movetoSets current point

说明

ps_moveto(resource $psdoc, float $x, float $y): bool

Sets the current point to new coordinates. If this is the first call of ps_moveto() after a previous path has been ended then it will start a new path. If this function is called in the middle of a path it will just set the current point and start a subpath.

参数

psdoc

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

x

x-coordinate of the point to move to.

y

y-coordinate of the point to move to.

返回值

成功时返回 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-moveto.php

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