You are here

private function PHPExcel_Chart_GridLines::_setGlowColor in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/GridLines.php \PHPExcel_Chart_GridLines::_setGlowColor()

Set Glow Color

Parameters

string $color:

int $alpha:

string $type:

Return value

PHPExcel_Chart_GridLines

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/GridLines.php, line 251

Class

PHPExcel_Chart_GridLines
Created by PhpStorm. User: Wiktor Trzonkowski Date: 7/2/14 Time: 2:36 PM

Code

private function _setGlowColor($color, $alpha, $type) {
  if (!is_null($color)) {
    $this->_glow_properties['color']['value'] = (string) $color;
  }
  if (!is_null($alpha)) {
    $this->_glow_properties['color']['alpha'] = $this
      ->getTrueAlpha((int) $alpha);
  }
  if (!is_null($type)) {
    $this->_glow_properties['color']['type'] = (string) $type;
  }
  return $this;
}