UI\Draw\Brush::__construct

(PHP 7, UI 0.9.9)

UI\Draw\Brush::__constructConstruct a new Brush

说明

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

Shall construct a solid brush using the given color

参数

color

Can be a UI\Draw\Color or RRGGBBAA