PHP - Manual: ps_set_value
2024-12-22
(PECL ps >= 1.1.0)
ps_set_value — Sets certain values
$psdoc
, string $name
, float $value
): boolSets several values which are used by many functions. Parameters are by definition float values.
psdoc
Resource identifier of the postscript file as returned by ps_new().
name
The name
can be one of the following:
The way how text is shown.
The x coordinate for text output.
The y coordinate for text output.
The distance between words relative to the width of a space.
The distance between lines in pixels.
value
The value of the parameter.
成功时返回 true
, 或者在失败时返回 false
。
官方地址:https://www.php.net/manual/en/function.ps-set-value.php