UI\Draw\Brush
PHP Manual

UI\Draw\Brush::setColor

(PHP 7, UI 0.9.9)

UI\Draw\Brush::setColorSet Color

Description

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

Shall set the color of this brush to the color provided

Parameters

color

Can be a UI\Draw\Color or RRGGBBAA

Return Values


UI\Draw\Brush
PHP Manual