编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « ps_setfont
  • ps_setlinecap »
  • PHP Manual
  • PS 函数
  • Sets gray value

ps_setgray

(PECL ps >= 1.1.0)

ps_setgray — Sets gray value

说明

ps_setgray ( resource $psdoc , float $gray ) : bool

Sets the gray value for all following drawing operations.

参数

psdoc

Resource identifier of the postscript file as returned by ps_new().

gray

The value must be between 0 (white) and 1 (black).

返回值

成功时返回 TRUE, 或者在失败时返回 FALSE。

参见

  • ps_setcolor() - Sets current color

相关文章
php informix 函数 sets the default return value on a fetch rowphp newt 函数 sets the value of the checkboxphp ps 函数 sets rotation factorphp ps 函数 sets scaling factorphp ps 函数 sets color of border for annotationsphp ps 函数 sets length of dashes for border of annotationsphp ps 函数 sets border style of annotationsphp ps 函数 sets information fields of documentphp ps 函数 sets flatnessphp ps 函数 sets font to use for following outputphp ps 函数 sets gray valuephp ps 函数 sets appearance of line endsphp ps 函数 sets how contected lines are joinedphp ps 函数 sets width of a linephp ps 函数 sets the miter limitphp ps 函数 sets overprint modephp ps 函数 sets appearance of a dashed linephp ps 函数 sets translationphp paradox 函数 sets a valuephp uopz 函数 sets value of existing class or instance property
关注编程学问公众号
编程学问网 湘ICP备20001732号