文字

ps_shfill

(PECL ps >= 1.3.0)

ps_shfillFills an area with a shading

说明

bool ps_shfill ( resource $psdoc , int $shadingid )

Fills an area with a shading, which has to be created before with ps_shading() . This is an alternative way to creating a pattern from a shading ps_shading_pattern() and using the pattern as the filling color.

参数

psdoc

Resource identifier of the postscript file as returned by ps_new() .

shadingid

The identifier of a shading previously created with ps_shading() .

返回值

成功时返回 TRUE , 或者在失败时返回 FALSE

参见

  • ps_shading() - Creates a shading for later use
  • ps_shading_pattern() - Creates a pattern based on a shading
上一篇: 下一篇: