65        'rotWithShape' => 
null,
 
   98        $this->objectState = 
true;
 
  133    public function setLineStyleProperties($line_width = 
null, $compound_type = 
null, $dash_type = 
null, $cap_type = 
null, $join_type = 
null, $head_arrow_type = 
null, $head_arrow_size = 
null, $end_arrow_type = 
null, $end_arrow_size = 
null): void
 
  136        ($line_width !== 
null)
 
  137                ? $this->lineProperties[
'style'][
'width'] = $this->
getExcelPointsWidth((
float) $line_width)
 
  139        ($compound_type !== 
null)
 
  140                ? $this->lineProperties[
'style'][
'compound'] = (
string) $compound_type
 
  142        ($dash_type !== 
null)
 
  143                ? $this->lineProperties[
'style'][
'dash'] = (
string) $dash_type
 
  146                ? $this->lineProperties[
'style'][
'cap'] = (
string) $cap_type
 
  148        ($join_type !== 
null)
 
  149                ? $this->lineProperties[
'style'][
'join'] = (
string) $join_type
 
  151        ($head_arrow_type !== 
null)
 
  152                ? $this->lineProperties[
'style'][
'arrow'][
'head'][
'type'] = (
string) $head_arrow_type
 
  154        ($head_arrow_size !== 
null)
 
  155                ? $this->lineProperties[
'style'][
'arrow'][
'head'][
'size'] = (
string) $head_arrow_size
 
  157        ($end_arrow_type !== 
null)
 
  158                ? $this->lineProperties[
'style'][
'arrow'][
'end'][
'type'] = (
string) $end_arrow_type
 
  160        ($end_arrow_size !== 
null)
 
  161                ? $this->lineProperties[
'style'][
'arrow'][
'end'][
'size'] = (
string) $end_arrow_size
 
  174        return $this->lineProperties[
'color'][$parameter];
 
  202            ->setGlowColor($color_value, $color_alpha, $color_type);
 
  214        return $this->glowProperties[
'color'][$property];
 
  224        return $this->glowProperties[
'size'];
 
  252        if ($color !== 
null) {
 
  253            $this->glowProperties[
'color'][
'value'] = (string) $color;
 
  255        if ($alpha !== 
null) {
 
  256            $this->glowProperties[
'color'][
'alpha'] = $this->
getTrueAlpha((
int) $alpha);
 
  258        if (
$type !== 
null) {
 
  259            $this->glowProperties[
'color'][
'type'] = (string) 
$type;
 
  275        return $this->
getLineStyleArrowSize($this->lineProperties[
'style'][
'arrow'][$arrow_selector][
'size'], $property_selector);
 
  289    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): void
 
  292            ->setShadowPresetsProperties((
int) $sh_presets)
 
  294                $sh_color_value ?? $this->shadowProperties[
'color'][
'value'],
 
  295                $sh_color_alpha === 
null ? (
int) $this->shadowProperties[
'color'][
'alpha'] : $this->
getTrueAlpha($sh_color_alpha),
 
  296                $sh_color_type ?? $this->shadowProperties[
'color'][
'type']
 
  298            ->setShadowBlur($sh_blur)
 
  299            ->setShadowAngle($sh_angle)
 
  300            ->setShadowDistance($sh_distance);
 
  312        $this->shadowProperties[
'presets'] = $shadow_presets;
 
  327        $base_reference = $reference;
 
  328        foreach ($properties_map as $property_key => $property_val) {
 
  329            if (is_array($property_val)) {
 
  330                if ($reference === 
null) {
 
  331                    $reference = &$this->shadowProperties[$property_key];
 
  333                    $reference = &$reference[$property_key];
 
  337                if ($base_reference === 
null) {
 
  338                    $this->shadowProperties[$property_key] = $property_val;
 
  340                    $reference[$property_key] = $property_val;
 
  359        if ($color !== 
null) {
 
  360            $this->shadowProperties[
'color'][
'value'] = (string) $color;
 
  362        if ($alpha !== 
null) {
 
  363            $this->shadowProperties[
'color'][
'alpha'] = $this->
getTrueAlpha((
int) $alpha);
 
  365        if (
$type !== 
null) {
 
  366            $this->shadowProperties[
'color'][
'type'] = (string) 
$type;
 
  381        if ($blur !== 
null) {
 
  413        if ($distance !== 
null) {
 
  439        if (
$size !== 
null) {
 
  452        return $this->softEdges[
'size'];
 
An exception for terminatinating execution or to throw for unit testing.
getLineColorProperty($parameter)
Get Line Color Property.
getLineStyleArrowParameters($arrow_selector, $property_selector)
Get Line Style Arrow Parameters.
setLineStyleProperties($line_width=null, $compound_type=null, $dash_type=null, $cap_type=null, $join_type=null, $head_arrow_type=null, $head_arrow_size=null, $end_arrow_type=null, $end_arrow_size=null)
Set Line Color Properties.
activateObject()
Change Object State to True.
getShadowProperty($elements)
Get Shadow Property.
setGlowSize($size)
Set Glow Size.
setShadowBlur($blur)
Set Shadow Blur.
getSoftEdgesSize()
Get Soft Edges Size.
setShadowAngle($angle)
Set Shadow Angle.
getGlowSize()
Get Glow Size.
getLineStyleProperty($elements)
Get Line Style Property.
setGlowProperties($size, $color_value=null, $color_alpha=null, $color_type=null)
Set Glow Properties.
setSoftEdgesSize($size)
Set Soft Edges Size.
getObjectState()
Get Object State.
setShadowProperiesMapValues(array $properties_map, &$reference=null)
Set Shadow Properties Values.
setShadowPresetsProperties($shadow_presets)
Set Shadow Presets Properties.
getGlowColor($property)
Get Glow Color Property.
setShadowDistance($distance)
Set Shadow Distance.
setLineColorProperties($value, $alpha=0, $type=self::EXCEL_COLOR_TYPE_STANDARD)
Set Line Color Properties.
setShadowColor($color, $alpha, $type)
Set Shadow Color.
setGlowColor($color, $alpha, $type)
Set Glow Color.
setShadowProperties($sh_presets, $sh_color_value=null, $sh_color_type=null, $sh_color_alpha=null, $sh_blur=null, $sh_angle=null, $sh_distance=null)
Set Shadow Properties.
const SHADOW_PRESETS_NOSHADOW
const LINE_STYLE_ARROW_TYPE_NOARROW
getArrayElementsValue($properties, $elements)
getShadowPresetsMap($shadow_presets_option)
const LINE_STYLE_CAP_FLAT
getLineStyleArrowSize($array_selector, $array_kay_selector)
const LINE_STYLE_ARROW_SIZE_8
getExcelPointsAngle($angle)
const EXCEL_COLOR_TYPE_STANDARD
setColorProperties($color, $alpha, $type)
const LINE_STYLE_COMPOUND_SIMPLE
const LINE_STYLE_DASH_SOLID
const LINE_STYLE_JOIN_BEVEL
getExcelPointsWidth($width)
const LINE_STYLE_ARROW_SIZE_5