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