79 $this->visible =
false;
80 $this->blurRadius = 6;
83 $this->alignment = self::SHADOW_BOTTOM_RIGHT;
107 $this->visible = $pValue;
131 $this->blurRadius = $pValue;
155 $this->distance = $pValue;
179 $this->direction = $pValue;
203 $this->alignment = $pValue;
227 $this->
color = $pValue;
251 $this->alpha = $pValue;
264 ($this->visible ?
't' :
'f') .
269 $this->
color->getHashCode() .
280 $vars = get_object_vars($this);
281 foreach ($vars as
$key => $value) {
282 if (is_object($value)) {
283 $this->
$key = clone $value;
285 $this->
$key = $value;
setVisible($pValue)
Set Visible.
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
getDirection()
Get Shadow direction (in degrees).
setDistance($pValue)
Set Shadow distance.
if(PHP_SAPI !='cli') color
getAlignment()
Get Shadow alignment.
const SHADOW_BOTTOM_RIGHT
setDirection($pValue)
Set Shadow direction (in degrees).
__construct()
Create a new Shadow.
getHashCode()
Get hash code.
getDistance()
Get Shadow distance.
getBlurRadius()
Get Blur radius.
setAlpha($pValue)
Set Alpha.
setBlurRadius($pValue)
Set Blur radius.
setAlignment($pValue)
Set Shadow alignment.
setColor(?Color $pValue=null)
Set Color.