略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: ps_setmiterlimit

2024-11-14

ps_setmiterlimit

(PECL ps >= 1.1.0)

ps_setmiterlimitSets the miter limit

说明

ps_setmiterlimit(resource $psdoc, float $value): bool

If two lines join in a small angle and the line join is set to PS_LINEJOIN_MITER, then the resulting spike will be very long. The miter limit is the maximum ratio of the miter length (the length of the spike) and the line width.

参数

psdoc

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

value

The maximum ratio between the miter length and the line width. Larger values (> 10) will result in very long spikes when two lines meet in a small angle. Keep the default unless you know what you are doing.

返回值

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

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