classes/Tools/Storage/StorageImageEditor.php
public function crop($src_x, $src_y, $src_w, $src_h, $dst_w = null, $dst_h = null, $src_abs = false) {
        return $this->imageEditor->crop($src_x, $src_y, $src_w, $src_h, $dst_w, $dst_h, $src_abs);
    }
public function crop($src_x, $src_y, $src_w, $src_h, $dst_w = null, $dst_h = null, $src_abs = false) {
        return $this->imageEditor->crop($src_x, $src_y, $src_w, $src_h, $dst_w, $dst_h, $src_abs);
    }
public function crop ( $ src_x , $ src_y , $ src_w , $ src_h , $ dst_w = null , $ dst_h = null , $ src_abs = false ) { return $ this -> imageEditor -> crop ( $ src_x , $ src_y , $ src_w , $ src_h , $ dst_w , $ dst_h , $ src_abs ) ; }
Crops Image.

@since 3.5.0

@param int $src_x The start x position to crop from.
@param int $src_y The start y position to crop from.
@param int $src_w The width to crop.
@param int $src_h The height to crop.
@param int $dst_w Optional. The destination width.
@param int $dst_h Optional. The destination height.
@param bool $src_abs Optional. If the source crop points are absolute.
@return bool|WP_Error
Crops Image .