You are here

protected function PHPExcel_Properties::setColorProperties in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Properties.php \PHPExcel_Properties::setColorProperties()
5 calls to PHPExcel_Properties::setColorProperties()
PHPExcel_Chart_Axis::setFillParameters in vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Axis.php
Set Fill Property
PHPExcel_Chart_Axis::setLineParameters in vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Axis.php
Set Line Property
PHPExcel_Chart_Axis::_setGlowColor in vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Axis.php
Set Glow Color
PHPExcel_Chart_Axis::_setShadowColor in vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Axis.php
Set Shadow Color
PHPExcel_Chart_GridLines::setLineColorProperties in vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/GridLines.php
Set Line Color Properties

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Properties.php, line 128

Class

PHPExcel_Properties
Created by PhpStorm. User: nhw2h8s Date: 7/2/14 Time: 5:45 PM

Code

protected function setColorProperties($color, $alpha, $type) {
  return array(
    'type' => (string) $type,
    'value' => (string) $color,
    'alpha' => (string) $this
      ->getTrueAlpha($alpha),
  );
}