php8.5
Home/ Manual/ ps / functions/ ps_shading_pattern

ps_shading_pattern

PHP function Edit on GitHub ✎

(PECL ps >= 1.3.0)

Creates a pattern based on a shading

Description

ps_shading_pattern(resource $psdoc, int $shadingid, string $optlist): int|false

Creates a pattern based on a shading, which has to be created before with ps_shading(). Shading patterns can be used like regular patterns.

Parameters

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.

Return Values

The identifier of the pattern Falseforfailure.

See Also

Source: reference/ps/functions/ps-shading-pattern.xml · from the official PHP manual (php/doc-en)