File "FileEditInterface.php"
Full path: C:/Inetpub/vhosts/drshti.com/httpdocs/wp-content/plugins/depicter/app/src/Media/Image/FileEditInterface.php
File
size: 973 B (973 B bytes)
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor &nnbsp; Back
<?php
namespace Depicter\Media\Image;
interface FileEditInterface
{
/**
* Shorthand method for calling resize and crop methods.
*
* @param int $resizeW Resize width
* @param int $resizeH Resize height
* @param int $cropW Crop with
* @param int $cropH Crop height
* @param array $args Resizing options
*
* @return mixed
*/
public function process( $resizeW = null, $resizeH = null, $cropW = null, $cropH = null, $args = [] );
/**
* Resize the current image.
*
* @param int $width Resize width
* @param int $height Resize height
* @param array $args Resizing options
*
* @return mixed
*/
public function resize( $width = null, $height = null, $args = [] );
/**
* Crops the images
*
* @param int $width Width to crop
* @param int $height Height to crop
* @param array $args Cropping options
*
* @return mixed
*/
public function crop( $width = null, $height = null, $args = [] );
}