(PHP 3 >= 3.0.8, PHP 4, PECL)
cpdf_setgray() 関数は、カレントの描画お よび塗りつぶし色を指定したグレー値に設定します。
cpdf_setrgbcolor_stroke(), cpdf_setrgbcolor_fill() も参照ください。