private function PHPExcel_Chart_GridLines::_setShadowColor in Loft Data Grids 6.2
Same name and namespace in other branches
- 7.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/GridLines.php \PHPExcel_Chart_GridLines::_setShadowColor()
Set Shadow Color
Parameters
string $color:
int $alpha:
string $type:
Return value
File
- vendor/
phpoffice/ phpexcel/ Classes/ PHPExcel/ Chart/ GridLines.php, line 361
Class
- PHPExcel_Chart_GridLines
- Created by PhpStorm. User: Wiktor Trzonkowski Date: 7/2/14 Time: 2:36 PM
Code
private function _setShadowColor($color, $alpha, $type) {
if (!is_null($color)) {
$this->_shadow_properties['color']['value'] = (string) $color;
}
if (!is_null($alpha)) {
$this->_shadow_properties['color']['alpha'] = $this
->getTrueAlpha((int) $alpha);
}
if (!is_null($type)) {
$this->_shadow_properties['color']['type'] = (string) $type;
}
return $this;
}