编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « 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 path finalize pathphp ui draw path draw a linephp ui draw path draw figurephp ui draw path draw figure with arcphp ui draw stroke set line capphp ui draw stroke set line joinphp ui draw stroke set miter limitphp ui draw stroke set thicknessphp ui draw text layout construct a new text layoutphp ui draw text layout set colorphp ui draw text layout set width
关注编程学问公众号
编程学问网 湘ICP备20001732号