@@ 250-263 (lines=14) @@ | ||
247 | * |
|
248 | * @return GridLines |
|
249 | */ |
|
250 | private function setGlowColor($color, $alpha, $type) |
|
251 | { |
|
252 | if (!is_null($color)) { |
|
253 | $this->glowProperties['color']['value'] = (string) $color; |
|
254 | } |
|
255 | if (!is_null($alpha)) { |
|
256 | $this->glowProperties['color']['alpha'] = $this->getTrueAlpha((int) $alpha); |
|
257 | } |
|
258 | if (!is_null($type)) { |
|
259 | $this->glowProperties['color']['type'] = (string) $type; |
|
260 | } |
|
261 | ||
262 | return $this; |
|
263 | } |
|
264 | ||
265 | /** |
|
266 | * Get Line Style Arrow Parameters |
|
@@ 357-370 (lines=14) @@ | ||
354 | * @param string $type |
|
355 | * @return GridLines |
|
356 | */ |
|
357 | private function setShadowColor($color, $alpha, $type) |
|
358 | { |
|
359 | if (!is_null($color)) { |
|
360 | $this->shadowProperties['color']['value'] = (string) $color; |
|
361 | } |
|
362 | if (!is_null($alpha)) { |
|
363 | $this->shadowProperties['color']['alpha'] = $this->getTrueAlpha((int) $alpha); |
|
364 | } |
|
365 | if (!is_null($type)) { |
|
366 | $this->shadowProperties['color']['type'] = (string) $type; |
|
367 | } |
|
368 | ||
369 | return $this; |
|
370 | } |
|
371 | ||
372 | /** |
|
373 | * Set Shadow Blur |