Grafika\Imagick\Image::__construct PHP Method

__construct() public method

Image constructor.
public __construct ( Imagick $imagick, string $imageFile, integer $width, integer $height, string $type, boolean $animated = false )
$imagick Imagick
$imageFile string
$width integer
$height integer
$type string
$animated boolean
    public function __construct(\Imagick $imagick, $imageFile, $width, $height, $type, $animated = false)
    {
        $this->imagick = $imagick;
        $this->imageFile = $imageFile;
        $this->width = $width;
        $this->height = $height;
        $this->type = $type;
        $this->animated = $animated;
    }