对码当歌,猿生几何?
Toggle navigation
猿客奇谈
首页
PHP
Web前端
数据库
服务器
Unix编程
Shell
Java
C/C++
Python
大数据
AI
手册
其他
小工具
« UI\Draw\Brush::setColor
UI\Draw\Brush\Gradient::addStop »
PHP Manual
UI
Gradient Brushes
Gradient Brushes
(PHP 7, UI 2.0.0)
简介
Abstract for gradient brushes
类摘要
abstract
UI\Draw\Brush\Gradient
extends
UI\Draw\Brush
{
/* 方法 */
public
addStop
(
float
$position
,
UI\Draw\Color
$color
) :
int
public
addStop
(
float
$position
,
int
$color
) :
int
public
delStop
(
int
$index
) :
int
public
setStop
(
int
$index
,
float
$position
,
UI\Draw\Color
$color
) :
bool
public
setStop
(
int
$index
,
float
$position
,
int
$color
) :
bool
/* 继承的方法 */
public
UI\Draw\Brush::getColor
(
void
) :
UI\Draw\Color
public
UI\Draw\Brush::setColor
(
UI\Draw\Color
$color
) :
void
public
UI\Draw\Brush::setColor
(
int
$color
) :
void
}
Table of Contents
UI\Draw\Brush\Gradient::addStop
— Stop Manipulation
UI\Draw\Brush\Gradient::delStop
— Stop Manipulation
UI\Draw\Brush\Gradient::setStop
— Stop Manipulation