编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « UI\Draw\Color::getChannel
  • UI\Draw\Stroke »
  • PHP Manual
  • UI\Draw\Color
  • Color Manipulation

UI\Draw\Color::setChannel

(PHP 7, UI 0.9.9)

UI\Draw\Color::setChannel — Color Manipulation

说明

public UI\Draw\Color::setChannel ( int $channel , float $value ) : void

Shall set the selected channel to the given value

参数

channel

Constant channel identity

value

The new value for the selected channel

返回值

相关文章
php ui color representationphp ui draw matrixphp ui draw brush gradient stop manipulationphp ui draw brush gradient stop manipulationphp ui draw brush gradient stop manipulationphp ui draw brush get colorphp ui draw brush set colorphp ui draw color construct new colorphp ui draw color color manipulationphp ui draw color color manipulationphp ui draw matrix scale matrixphp ui draw matrix skew matrixphp ui draw matrix translate matrixphp ui draw pen stroke a pathphp ui draw pen matrix transformphp ui draw pen draw text at pointphp ui draw text font descriptor style detectionphp ui draw text font descriptor weight detectionphp ui draw text font construct a new fontphp ui draw text layout set color
关注编程学问公众号
编程学问网 湘ICP备20001732号