UI\Draw\Brush::setColor
UI\Draw\Brush\Gradient::addStop
UI
PHP Manual
Gradient Brushes
(PHP 7, UI 2.0.0)
Introduction
Abstract for gradient brushes
Class synopsis
abstract
UI\Draw\Brush\Gradient
extends
UI\Draw\Brush
{
/* Methods */
public
integer
addStop
(
float
$position
,
UI\Draw\Color
$color
)
public
integer
addStop
(
float
$position
,
integer
$color
)
public
integer
delStop
(
integer
$index
)
public
boolean
setStop
(
integer
$index
,
float
$position
,
UI\Draw\Color
$color
)
public
boolean
setStop
(
integer
$index
,
float
$position
,
integer
$color
)
/* Inherited methods */
public
UI\Draw\Color
UI\Draw\Brush::getColor
(
void
)
public
void
UI\Draw\Brush::setColor
(
UI\Draw\Color
$color
)
public
void
UI\Draw\Brush::setColor
(
integer
$color
)
}
Table of Contents
UI\Draw\Brush\Gradient::addStop
— Stop Manipulation
UI\Draw\Brush\Gradient::delStop
— Stop Manipulation
UI\Draw\Brush\Gradient::setStop
— Stop Manipulation
UI\Draw\Brush::setColor
UI\Draw\Brush\Gradient::addStop
UI
PHP Manual