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::saveUI\Draw\Pen::transform>
^UI\Draw\PenLast updated: Mon, 26 Oct 2026

UI\Draw\Pen::stroke

(UI 0.9.9)

UI\Draw\Pen::stroke — Stroke a Path

Description

public function UI\Draw\Pen::stroke(UI\Draw\Path $path, UI\Draw\Brush $with, UI\Draw\Stroke $stroke)
public function UI\Draw\Pen::stroke(UI\Draw\Path $path, UI\Draw\Color $with, UI\Draw\Stroke $stroke)
public function UI\Draw\Pen::stroke(UI\Draw\Path $path, int $with, UI\Draw\Stroke $stroke)

Shall stroke the given path

Parameters

path

The path to stroke

with

The color or brush to stroke with

stroke

The configuration of the stroke


<UI\Draw\Pen::saveUI\Draw\Pen::transform>
^UI\Draw\PenLast updated: Mon, 26 Oct 2026