ManaPHP\Image\Adapter\Imagick::crop PHP Метод

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

public crop ( integer $width, integer $height, integer $offsetX, integer $offsetY ) : static
$width integer
$height integer
$offsetX integer
$offsetY integer
Результат static
    public function crop($width, $height, $offsetX = 0, $offsetY = 0)
    {
        $this->_image->cropImage($width, $height, $offsetX, $offsetY);
        $this->_image->setImagePage($width, $height, 0, 0);
        $this->_width = $this->_image->getImageWidth();
        $this->_height = $this->_image->getImageHeight();
        return $this;
    }