UI\Draw\Pen::fill
PHP function
Edit on GitHub ✎
(UI 0.9.9)
Fill a Path
Description
UI\Draw\Pen::fill(UI\Draw\Path $path, UI\Draw\Brush $with)
UI\Draw\Pen::fill(UI\Draw\Path $path, UI\Draw\Color $with)
UI\Draw\Pen::fill(UI\Draw\Path $path, int $with)
Shall fill the given path
Parameters
pathThe path to fill
withThe color or brush to fill with