Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Interface.php
Go to the documentation of this file.
1 <?php
32 {
62  public function getResources();
63 
72  public function getContents();
73 
79  public function getHeight();
80 
86  public function getWidth();
87 
101  public function drawCanvas(Zend_Pdf_Canvas_Interface $canvas, $x1, $y1, $x2 = null, $y2 = null);
102 
109  public function setFillColor(Zend_Pdf_Color $color);
110 
117  public function setLineColor(Zend_Pdf_Color $color);
118 
125  public function setLineWidth($width);
126 
138  public function setLineDashingPattern($pattern, $phase = 0);
139 
147  public function setFont(Zend_Pdf_Resource_Font $font, $fontSize);
148 
155  public function setStyle(Zend_Pdf_Style $style);
156 
162  public function getFont();
163 
169  public function getFontSize();
170 
176  public function getStyle();
177 
186  public function saveGS();
187 
203  public function setAlpha($alpha, $mode = 'Normal');
204 
215  public function clipCircle($x, $y, $radius, $startAngle = null, $endAngle = null);
216 
234  public function clipEllipse($x1, $y1, $x2, $y2, $startAngle = null, $endAngle = null);
235 
244  public function clipPolygon($x, $y, $fillMethod = Zend_Pdf_Page::FILL_METHOD_NON_ZERO_WINDING);
245 
255  public function clipRectangle($x1, $y1, $x2, $y2);
256 
281  public function drawCircle($x, $y, $radius, $param4 = null, $param5 = null, $param6 = null);
282 
303  public function drawEllipse($x1, $y1, $x2, $y2, $param5 = null, $param6 = null, $param7 = null);
304 
315  public function drawImage(Zend_Pdf_Resource_Image $image, $x1, $y1, $x2, $y2);
316 
327  public function drawLayoutBox($box, $x, $y);
328 
338  public function drawLine($x1, $y1, $x2, $y2);
339 
354  public function drawPolygon($x, $y,
372  public function drawRectangle($x1, $y1, $x2, $y2, $fillType = Zend_Pdf_Page::SHAPE_DRAW_FILL_AND_STROKE);
373 
394  public function drawRoundedRectangle($x1, $y1, $x2, $y2, $radius,
396 
408  public function drawText($text, $x, $y, $charEncoding = '');
409 
418  public function pathClose();
419 
429  public function pathLine($x, $y);
430 
441  public function pathMove($x, $y);
442 
451  public function rotate($x, $y, $angle);
452 
460  public function scale($xScale, $yScale);
461 
469  public function translate($xShift, $yShift);
470 
480  public function skew($x, $y, $xAngle, $yAngle);
481 
492  public function rawWrite($data, $procSet = null);
493 }
const FILL_METHOD_NON_ZERO_WINDING
Definition: Page.php:95
rawWrite($data, $procSet=null)
setStyle(Zend_Pdf_Style $style)
drawCanvas(Zend_Pdf_Canvas_Interface $canvas, $x1, $y1, $x2=null, $y2=null)
setFont(Zend_Pdf_Resource_Font $font, $fontSize)
drawLine($x1, $y1, $x2, $y2)
$pattern
Definition: website.php:22
drawImage(Zend_Pdf_Resource_Image $image, $x1, $y1, $x2, $y2)
drawRectangle($x1, $y1, $x2, $y2, $fillType=Zend_Pdf_Page::SHAPE_DRAW_FILL_AND_STROKE)
drawEllipse($x1, $y1, $x2, $y2, $param5=null, $param6=null, $param7=null)
endifif( $block->getLastPageNum()>1)( 'Page') ?></strong >< ul class $text
Definition: pager.phtml:43
clipCircle($x, $y, $radius, $startAngle=null, $endAngle=null)
drawRoundedRectangle($x1, $y1, $x2, $y2, $radius, $fillType=Zend_Pdf_Page::SHAPE_DRAW_FILL_AND_STROKE)
translate($xShift, $yShift)
drawPolygon($x, $y, $fillType=Zend_Pdf_Page::SHAPE_DRAW_FILL_AND_STROKE, $fillMethod=Zend_Pdf_Page::FILL_METHOD_NON_ZERO_WINDING)
clipEllipse($x1, $y1, $x2, $y2, $startAngle=null, $endAngle=null)
setFillColor(Zend_Pdf_Color $color)
if($exist=($block->getProductCollection() && $block->getProductCollection() ->getSize())) $mode
Definition: grid.phtml:15
drawLayoutBox($box, $x, $y)
rotate($x, $y, $angle)
setLineColor(Zend_Pdf_Color $color)
skew($x, $y, $xAngle, $yAngle)
drawText($text, $x, $y, $charEncoding='')
clipPolygon($x, $y, $fillMethod=Zend_Pdf_Page::FILL_METHOD_NON_ZERO_WINDING)
const SHAPE_DRAW_FILL_AND_STROKE
Definition: Page.php:87
scale($xScale, $yScale)
setAlpha($alpha, $mode='Normal')
drawCircle($x, $y, $radius, $param4=null, $param5=null, $param6=null)
setLineDashingPattern($pattern, $phase=0)
clipRectangle($x1, $y1, $x2, $y2)