UI\Draw\Brush::setColor

(UI 0.9.9)

UI\Draw\Brush::setColorSet 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

返回值