UI\Draw\Brush\LinearGradient::__construct
UI\Draw\Brush\RadialGradient::__construct
UI
PHP Manual
Radial Gradient
(PHP 7, UI 2.0.0)
简介
类摘要
UI\Draw\Brush\RadialGradient
extends
UI\Draw\Brush\Gradient
{
/* Constructor */
public
__construct
(
UI\Point
$start
,
UI\Point
$outer
,
float
$radius
)
/* 继承的方法 */
public
integer
UI\Draw\Brush\Gradient::addStop
(
float
$position
,
UI\Draw\Color
$color
)
public
integer
UI\Draw\Brush\Gradient::addStop
(
float
$position
,
integer
$color
)
public
integer
UI\Draw\Brush\Gradient::delStop
(
integer
$index
)
public
boolean
UI\Draw\Brush\Gradient::setStop
(
integer
$index
,
float
$position
,
UI\Draw\Color
$color
)
public
boolean
UI\Draw\Brush\Gradient::setStop
(
integer
$index
,
float
$position
,
integer
$color
)
}
Table of Contents
UI\Draw\Brush\RadialGradient::__construct
— Construct a new Radial Gradient
UI\Draw\Brush\LinearGradient::__construct
UI\Draw\Brush\RadialGradient::__construct
UI
PHP Manual