PluginProbe
Depicter — Popup & Slider Builder / 1.5.2
Depicter — Popup & Slider Builder v1.5.2
4.8.1 trunk 1.0.0 1.1.0 1.1.2 1.1.4 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.3.0 1.3.1 1.3.2 1.3.3 1.3.5 1.3.8 1.5.0 1.5.1 1.5.2 1.5.5 1.6.0 1.6.1 1.6.2 1.7.0 All 76 releases
depicter / app / src / Media / Image / FileEditInterface.php

FileEditInterface.php in Depicter — Popup & Slider Builder 1.5.2, at app/src/Media/Image/FileEditInterface.php

45 lines 973 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 namespace Depicter\Media\Image;
4
5
6 interface FileEditInterface
7 {
8 /**
9 * Shorthand method for calling resize and crop methods.
10 *
11 * @param int $resizeW Resize width
12 * @param int $resizeH Resize height
13 * @param int $cropW Crop with
14 * @param int $cropH Crop height
15 * @param array $args Resizing options
16 *
17 * @return mixed
18 */
19 public function process( $resizeW = null, $resizeH = null, $cropW = null, $cropH = null, $args = [] );
20
21
22 /**
23 * Resize the current image.
24 *
25 * @param int $width Resize width
26 * @param int $height Resize height
27 * @param array $args Resizing options
28 *
29 * @return mixed
30 */
31 public function resize( $width = null, $height = null, $args = [] );
32
33
34 /**
35 * Crops the images
36 *
37 * @param int $width Width to crop
38 * @param int $height Height to crop
39 * @param array $args Cropping options
40 *
41 * @return mixed
42 */
43 public function crop( $width = null, $height = null, $args = [] );
44 }
45