编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 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 invert matrixphp ui draw matrix invertible detectionphp ui draw matrix multiply matrixphp ui draw matrix rotate matrixphp ui draw pen clip a pathphp ui draw pen fill a pathphp ui draw pen restorephp ui draw text font descriptor construct a new font descriptorphp ui draw text font descriptor get font familyphp ui draw text font descriptor style detectionphp ui draw text layout set colorphp ui executor interval manipulation
关注编程学问公众号
编程学问网 湘ICP备20001732号