编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « HaruPage::setMiterLimit
  • HaruPage::setRGBStroke »
  • PHP Manual
  • HaruPage
  • Set filling color for the page

HaruPage::setRGBFill

(PECL haru >= 0.0.1)

HaruPage::setRGBFill — Set filling color for the page

说明

HaruPage::setRGBFill ( float $r , float $g , float $b ) : bool

Defines filling color for the page. All values must be between 0 and 1.

参数

r

g

b

返回值

Returns TRUE on success.

错误/异常

发生错误时抛出 HaruException 异常。

参见

  • HaruPage::getRGBFill() - Get the current filling color

相关文章
php harupage get the current filling color spacephp harupage get the current filling colorphp harupage set filling color for the pagephp harupage set stroking color for the pagephp harupage set the dash pattern for the pagephp harupage set flatness for the pagephp harupage set font and fontsize for the pagephp harupage set filling color for the pagephp harupage sets stroking color for the pagephp harupage set height of the pagephp harupage set horizontal scaling for the pagephp harupage set line join style for the pagephp harupage set filling color for the pagephp harupage set stroking color for the pagephp harupage set transition style for the pagephp harupage set text leading line spacing for the pagephp harupage set the current text transformation matrix of the pagephp harupage set text rendering mode for the pagephp harupage set width of the pagephp harupage set word spacing for the page
关注编程学问公众号
编程学问网 湘ICP备20001732号