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->activateObject()
              ->setShadowPresetsProperties((int) $sh_presets)
              ->setShadowColor(
                  $sh_color_value === null ? $this->shadowProperties['color']['value'] : $sh_color_value,
                  $sh_color_alpha === null ? (int) $this->shadowProperties['color']['alpha'] : $this->getTrueAlpha($sh_color_alpha),
                  $sh_color_type === null ? $this->shadowProperties['color']['type'] : $sh_color_type
              )
              ->setShadowBlur($sh_blur)
              ->setShadowAngle($sh_angle)
              ->setShadowDistance($sh_distance);
      }
docs: Set Shadow Properties.
  
  @param int $sh_presets
  @param string $sh_color_value
  @param string $sh_color_type
  @param int $sh_color_alpha
  @param string $sh_blur
  @param int $sh_angle
  @param float $sh_distance