Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
AdapterInterface.php
Go to the documentation of this file.
1 <?php
7 
13 {
17  const ADAPTER_GD2 = 'GD2';
18 
19  const ADAPTER_IM = 'IMAGEMAGICK';
20 
28  public function getColorAt($x, $y);
29 
34  public function getImage();
35 
46  public function watermark($imagePath, $positionX = 0, $positionY = 0, $opacity = 30, $tile = false);
47 
53  public function refreshImageDimensions();
54 
61  public function checkDependencies();
62 
70  public function createPngFromString($text, $font = '');
71 
78  public function open($filename);
79 
87  public function resize($frameWidth = null, $frameHeight = null);
88 
98  public function crop($top = 0, $left = 0, $right = 0, $bottom = 0);
99 
109  public function save($destination = null, $newName = null);
110 
117  public function rotate($angle);
118 }
endifif( $block->getLastPageNum()>1)( 'Page') ?></strong >< ul class $text
Definition: pager.phtml:43
crop($top=0, $left=0, $right=0, $bottom=0)
resize($frameWidth=null, $frameHeight=null)
save($destination=null, $newName=null)
watermark($imagePath, $positionX=0, $positionY=0, $opacity=30, $tile=false)