php8.5
Home/ Manual/ draw / pen/ UI\Draw\Pen::fill

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

path

The path to fill

with

The color or brush to fill with

Source: reference/ui/ui/draw/pen/fill.xml · from the official PHP manual (php/doc-en)