PHP - Manual: ps_shading_pattern
2024-12-22
(PECL ps >= 1.3.0)
ps_shading_pattern — Creates a pattern based on a shading
$psdoc
, int $shadingid
, string $optlist
): int|falseCreates a pattern based on a shading, which has to be created before with ps_shading(). Shading patterns can be used like regular patterns.
psdoc
Resource identifier of the postscript file as returned by ps_new().
shadingid
The identifier of a shading previously created with ps_shading().
optlist
This argument is not currently used.
The identifier of the pattern 或者在失败时返回 false
.
官方地址:https://www.php.net/manual/en/function.ps-shading-pattern.php