API Reference Document
« UI\Draw\Stroke::setThickness
UI\Draw\Brush::__construct »
PHP Manual
UI
Brushes
Brushes
(PHP 7, UI 0.9.9)
简介
Represents a solid color brush
类摘要
UI\Draw\Brush
{
/* Constructor */
public
__construct
(
UI\Draw\Color
$color
)
public
__construct
(
int
$color
)
/* 方法 */
public
getColor
(
void
) :
UI\Draw\Color
public
setColor
(
UI\Draw\Color
$color
) :
void
public
setColor
(
int
$color
) :
void
}
Table of Contents
UI\Draw\Brush::__construct
— Construct a new Brush
UI\Draw\Brush::getColor
— Get Color
UI\Draw\Brush::setColor
— Set Color