ps_setpolydash
ps_shading
PS Functions
PHP Manual

# ps_shading_pattern

(PECL ps >= 1.3.0)

ps_shading_pattern — Creates a pattern based on a shading

### Descripción

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.

### Lista de 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 retornados

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

### Ver también

- ps_shading() - Creates a shading for later use
- ps_shfill() - Fills an area with a shading

ps_setpolydash
ps_shading
PS Functions
PHP Manual