Grafika\Imagick\Filter\Colorize::__construct PHP Метод

__construct() публичный Метод

Colorize constructor.
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 function __construct($red, $green, $blue)
    {
        $this->red = intval($red);
        $this->green = intval($green);
        $this->blue = intval($blue);
    }