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\Stroke::setThicknessUI\Draw\Brush::__construct>
^UILast updated: Mon, 26 Oct 2026

Brushes

(UI 0.9.9)

Introduction

Represents a solid color brush

Class synopsis

class UI\Draw\Brush {
/* Constructor */
public function __construct(UI\Draw\Color $color)
public function __construct(int $color)
/* Methods */
public function getColor(): UI\Draw\Color
public function setColor(UI\Draw\Color $color): void
public function setColor(int $color): void
}

Table of Contents


<UI\Draw\Stroke::setThicknessUI\Draw\Brush::__construct>
^UILast updated: Mon, 26 Oct 2026