Toggle navigation
Hot Examples
ES
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Buscar
Inicio
Grafika
Gd
Filter
Brightness
__construct
Grafika\Gd\Filter\Brightness::__construct PHP Method
Brightness Class Documentation
Mostrar archivo
Open project: kosinix/grafika
__construct()
public
method
Brightness constructor.
public
__construct
(
integer
$amount
)
$amount
integer
The amount of brightness to apply. >= -100 and <= -1 to darken. 0 for no change. >= 1 and <= 100 to brighten.
public function __construct($amount) { $this->amount = (int) $amount; }
Brightness
__construct
apply