|
PHP5中文手册
ps_begin_pattern(PECL ps:1.2.0-1.3.5) ps_begin_pattern — Start a new pattern 说明
int ps_begin_pattern
( resource $psdoc
, float $width
, float $height
, float $xstep
, float $ystep
, int $painttype
)
Starts a new pattern. A pattern is like a page containing e.g. a drawing which can be used for filling areas. It is used like a color by calling ps_setcolor() and setting the color space to pattern. 参数
返回值The identifier of the pattern or FALSE in case of an error. 范例
Example#1 Creating and using a pattern
<?php |