array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ja', ), 'this' => array ( 0 => 'function.ps-shading-pattern.php', 1 => 'ps_shading_pattern', ), 'up' => array ( 0 => 'ref.ps.php', 1 => 'PS 関数', ), 'prev' => array ( 0 => 'function.ps-setpolydash.php', 1 => 'ps_setpolydash', ), 'next' => array ( 0 => 'function.ps-shading.php', 1 => 'ps_shading', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'ja', 'path' => 'reference/ps/functions/ps-shading-pattern.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL ps >= 1.3.0)
ps_shading_pattern — シェーディング用のパターンを作成する
シェーディング用のパターンを作成します。これは ps_shading() を呼ぶ前に行わなければなりません。 シェーディングパターンは、標準のパターンと同じように用いられます。
psdoc
ps_new() が返す、postscript ファイルのリソース ID。
shadingid
事前に ps_shading() で作成したシェーディングの ID。
optlist
このパラメータは、現在使用されていません。
成功した場合にパターンの ID を、失敗した場合に false
を返します。