= 1.3.0)ps_shfill — Fills an area with a shading說明ps_shfill(resource $psdoc, int $shadingid): boolFills an area with a shading, whi">

ps_shfill

(PECL ps >= 1.3.0)

ps_shfillFills an area with a shading

說明

ps_shfill(resource $psdoc, int $shadingid): bool

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.

參數(shù)

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。

參見