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