Manual do PHP
Anterior |  | Próxima

# ps_shading_pattern

(PECL)

ps_shading_pattern -- Creates a pattern based on a shading

## Descrição

int ps_shading_pattern ( resource psdoc, int shadingid, string optlist )

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

## Parâmetros

`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.

## Valores de retornado

The identifier of the pattern or `FALSE` in case of an error.

## Veja também

ps_shading()
ps_shfill()

Anterior | Principal | Próxima
ps_setpolydash | Acima | ps_shading