PHP Manual
Function Reference
GUI Extensions
UI
Introduction
Installing/Configuring
UI\Point
UI\Size
UI\Window
UI\Control
UI\Menu
UI\MenuItem
UI\Area
UI\Executor
UI\Controls\Tab
UI\Controls\Check
UI\Controls\Button
UI\Controls\ColorButton
UI\Controls\Label
UI\Controls\Entry
UI\Controls\MultilineEntry
UI\Controls\Spin
UI\Controls\Slider
UI\Controls\Progress
UI\Controls\Separator
UI\Controls\Combo
UI\Controls\EditableCombo
UI\Controls\Radio
UI\Controls\Picker
UI\Controls\Form
UI\Controls\Grid
UI\Controls\Group
UI\Controls\Box
UI\Draw\Pen
UI\Draw\Path
UI\Draw\Matrix
UI\Draw\Color
UI\Draw\Stroke
UI\Draw\Brush
UI\Draw\Brush\Gradient
UI\Draw\Brush\LinearGradient
UI\Draw\Brush\RadialGradient
UI\Draw\Text\Layout
UI\Draw\Text\Font
UI\Draw\Text\Font\Descriptor
UI Functions
UI\Draw\Text\Font\Weight
UI\Draw\Text\Font\Italic
UI\Draw\Text\Font\Stretch
UI\Draw\Line\Cap
UI\Draw\Line\Join
UI\Key
UI\Exception\InvalidArgumentException
UI\Exception\RuntimeException
UI\Draw\Stroke::setThickness
UI\Draw\Brush::__construct
UI
PHP Manual
Brushes
Introduction
Represents a solid color brush
Class synopsis
UI\Draw\Brush
class
UI\Draw\Brush
{
/* Constructor */
public
__construct
(
UI\Draw\Color
$color
)
public
__construct
(
int
$color
)
/* Methods */
public
UI\Draw\Color
getColor
()
public
void
setColor
(
UI\Draw\Color
$color
)
public
void
setColor
(
int
$color
)
}
Table of Contents
UI\Draw\Brush::__construct
— Construct a new Brush
UI\Draw\Brush::getColor
— Get Color
UI\Draw\Brush::setColor
— Set Color