You are here

public function PHPExcel_Chart_Axis::setShadowProperties in Loft Data Grids 7.2

Same name and namespace in other branches
  1. 6.2 vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Axis.php \PHPExcel_Chart_Axis::setShadowProperties()

Set Shadow Properties

Parameters

int $shadow_presets:

string $sh_color_value:

string $sh_color_type:

string $sh_color_alpha:

float $sh_blur:

int $sh_angle:

float $sh_distance:

File

vendor/phpoffice/phpexcel/Classes/PHPExcel/Chart/Axis.php, line 366

Class

PHPExcel_Chart_Axis
Created by PhpStorm. User: Wiktor Trzonkowski Date: 6/17/14 Time: 12:11 PM

Code

public function setShadowProperties($sh_presets, $sh_color_value = NULL, $sh_color_type = NULL, $sh_color_alpha = NULL, $sh_blur = NULL, $sh_angle = NULL, $sh_distance = NULL) {
  $this
    ->_setShadowPresetsProperties((int) $sh_presets)
    ->_setShadowColor(is_null($sh_color_value) ? $this->_shadow_properties['color']['value'] : $sh_color_value, is_null($sh_color_alpha) ? (int) $this->_shadow_properties['color']['alpha'] : $sh_color_alpha, is_null($sh_color_type) ? $this->_shadow_properties['color']['type'] : $sh_color_type)
    ->_setShadowBlur($sh_blur)
    ->_setShadowAngle($sh_angle)
    ->_setShadowDistance($sh_distance);
}