Свойство | Type | Description | |
---|---|---|---|
$blue | integer | ||
$green | integer | ||
$red | integer |
Méthode | Description | |
---|---|---|
__construct ( integer $red, integer $green, integer $blue ) | Colorize constructor. | |
apply ( |
public __construct ( integer $red, integer $green, integer $blue ) | ||
$red | integer | The amount of red colors. >= -100 and <= -1 to reduce. 0 for no change. >= 1 and <= 100 to add. |
$green | integer | The amount of green colors. >= -100 and <= -1 to reduce. 0 for no change. >= 1 and <= 100 to add. |
$blue | integer | The amount of blue colors. >= -100 and <= -1 to reduce. 0 for no change. >= 1 and <= 100 to add. |
public apply ( |
||
$image | ||
Résultat |