UI\Draw\Brush::__construct

Construct a new Brush

Description

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

Parameters

color

Can be a UI\Draw\Color or RRGGBBAA