Longhorn PHP 2025 - Call For Papers

ps_shading_pattern

(PECL ps >= 1.3.0)

ps_shading_patternシェーディング用のパターンを作成する

説明

ps_shading_pattern(resource $psdoc, int $shadingid, string $optlist): int|false

シェーディング用のパターンを作成します。これは ps_shading() を呼ぶ前に行わなければなりません。 シェーディングパターンは、標準のパターンと同じように用いられます。

パラメータ

psdoc

ps_new() が返す、postscript ファイルのリソース ID。

shadingid

事前に ps_shading() で作成したシェーディングの ID。

optlist

このパラメータは、現在使用されていません。

戻り値

成功した場合にパターンの ID を、失敗した場合に false を返します。

参考

  • ps_shading() - 以降の出力で用いるシェーディングを作成する
  • ps_shfill() - 範囲をシェーディングで塗りつぶす

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top

Follow Lee on X/Twitter - Father, Husband, Serial builder creating AI, crypto, games & web tools. We are friends :) AI Will Come To Life!

Check out: eBank.nz (Art Generator) | Netwrck.com (AI Tools) | Text-Generator.io (AI API) | BitBank.nz (Crypto AI) | ReadingTime (Kids Reading) | RewordGame | BigMultiplayerChess | WebFiddle | How.nz | Helix AI Assistant