You are here

public function PHPExcel_Worksheet_BaseDrawing::__construct in Loft Data Grids 6.2

Same name and namespace in other branches
  1. 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/BaseDrawing.php \PHPExcel_Worksheet_BaseDrawing::__construct()

Create a new PHPExcel_Worksheet_BaseDrawing

2 calls to PHPExcel_Worksheet_BaseDrawing::__construct()
PHPExcel_Worksheet_Drawing::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/Drawing.php
Create a new PHPExcel_Worksheet_Drawing
PHPExcel_Worksheet_MemoryDrawing::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/MemoryDrawing.php
Create a new PHPExcel_Worksheet_MemoryDrawing
2 methods override PHPExcel_Worksheet_BaseDrawing::__construct()
PHPExcel_Worksheet_Drawing::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/Drawing.php
Create a new PHPExcel_Worksheet_Drawing
PHPExcel_Worksheet_MemoryDrawing::__construct in vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/MemoryDrawing.php
Create a new PHPExcel_Worksheet_MemoryDrawing

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Worksheet/BaseDrawing.php, line 132

Class

PHPExcel_Worksheet_BaseDrawing
PHPExcel_Worksheet_BaseDrawing

Code

public function __construct() {

  // Initialise values
  $this->_name = '';
  $this->_description = '';
  $this->_worksheet = null;
  $this->_coordinates = 'A1';
  $this->_offsetX = 0;
  $this->_offsetY = 0;
  $this->_width = 0;
  $this->_height = 0;
  $this->_resizeProportional = true;
  $this->_rotation = 0;
  $this->_shadow = new PHPExcel_Worksheet_Drawing_Shadow();

  // Set image index
  self::$_imageCounter++;
  $this->_imageIndex = self::$_imageCounter;
}