Overview
KB
Technical FAQ
PHP Manual
CSS2 Manual
HTML Manual
JS Guide
JS Reference
PhpDock Manual
Nu-Coder Manual
PhpExpress Manual
PHP Joomla
Development
Learn PHP
 
<UI\Draw\Pen::clipUI\Draw\Pen::restore>
^UI\Draw\PenLast updated: Mon, 26 Oct 2026

UI\Draw\Pen::fill

(UI 0.9.9)

UI\Draw\Pen::fill — Fill a Path

Description

public function UI\Draw\Pen::fill(UI\Draw\Path $path, UI\Draw\Brush $with)
public function UI\Draw\Pen::fill(UI\Draw\Path $path, UI\Draw\Color $with)
public function 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


<UI\Draw\Pen::clipUI\Draw\Pen::restore>
^UI\Draw\PenLast updated: Mon, 26 Oct 2026