UI\Draw\Brush::__construct

(UI 0.9.9)

UI\Draw\Brush::__constructConstruct a new Brush

Description

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

Shall construct a solid brush using the given color

Parameters

color

Can be a UI\Draw\Color or RRGGBBAA

To Top