编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 pathphp ui draw penphp ui controls colorbutton set colorphp ui draw brush gradient stop manipulationphp ui draw brush gradient stop manipulationphp ui draw brush gradient stop manipulationphp ui draw brush lineargradient construct a linear gradientphp ui draw brush radialgradient construct a new radial gradientphp 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 path draw an arcphp ui draw path draw bezier curvephp ui draw stroke get line capphp ui draw stroke get line joinphp ui draw text font font metricsphp ui draw text font font metricsphp ui draw text layout set color
关注编程学问公众号
编程学问网 湘ICP备20001732号