编程学问
  • 文章
  • 问题
  • 读书
  • 关于
  • 登录
  • « UI\Draw\Brush::getColor
  • UI\Draw\Brush\Gradient »
  • PHP Manual
  • UI\Draw\Brush
  • Set Color

UI\Draw\Brush::setColor

(PHP 7, UI 0.9.9)

UI\Draw\Brush::setColor — Set Color

说明

public UI\Draw\Brush::setColor ( UI\Draw\Color $color ) : void
public UI\Draw\Brush::setColor ( int $color ) : void

Shall set the color of this brush to the color provided

参数

color

Can be a UI\Draw\Color or RRGGBBAA

返回值

相关文章
php ui controls colorbutton set colorphp ui controls editablecombo set textphp ui controls progress set valuephp 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 construct a new brushphp 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 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 set colorphp ui draw text layout set width
关注编程学问公众号
编程学问网 湘ICP备20001732号