Constants

SHADOW_BOTTOM

SHADOW_BOTTOM = 'b'

SHADOW_BOTTOM_LEFT

SHADOW_BOTTOM_LEFT = 'bl'

SHADOW_BOTTOM_RIGHT

SHADOW_BOTTOM_RIGHT = 'br'

SHADOW_CENTER

SHADOW_CENTER = 'ctr'

SHADOW_LEFT

SHADOW_LEFT = 'l'

SHADOW_TOP

SHADOW_TOP = 't'

SHADOW_TOP_LEFT

SHADOW_TOP_LEFT = 'tl'

SHADOW_TOP_RIGHT

SHADOW_TOP_RIGHT = 'tr'

Properties

$visible

$visible : boolean

Visible.

Type

boolean

$blurRadius

$blurRadius : integer

Blur radius.

Defaults to 6

Type

integer

$distance

$distance : integer

Shadow distance.

Defaults to 2

Type

integer

$direction

$direction : integer

Shadow direction (in degrees).

Type

integer

$alignment

$alignment : integer

Shadow alignment.

Type

integer

$alpha

$alpha : integer

Alpha.

Type

integer

Methods

__construct()

__construct() 

Create a new Shadow.

getVisible()

getVisible() : boolean

Get Visible.

Returns

boolean

setVisible()

setVisible(boolean  $pValue) : $this

Set Visible.

Parameters

boolean $pValue

Returns

$this

getBlurRadius()

getBlurRadius() : integer

Get Blur radius.

Returns

integer

setBlurRadius()

setBlurRadius(integer  $pValue) : $this

Set Blur radius.

Parameters

integer $pValue

Returns

$this

getDistance()

getDistance() : integer

Get Shadow distance.

Returns

integer

setDistance()

setDistance(integer  $pValue) : $this

Set Shadow distance.

Parameters

integer $pValue

Returns

$this

getDirection()

getDirection() : integer

Get Shadow direction (in degrees).

Returns

integer

setDirection()

setDirection(integer  $pValue) : $this

Set Shadow direction (in degrees).

Parameters

integer $pValue

Returns

$this

getAlignment()

getAlignment() : integer

Get Shadow alignment.

Returns

integer

setAlignment()

setAlignment(integer  $pValue) : $this

Set Shadow alignment.

Parameters

integer $pValue

Returns

$this

getAlpha()

getAlpha() : integer

Get Alpha.

Returns

integer

setAlpha()

setAlpha(integer  $pValue) : $this

Set Alpha.

Parameters

integer $pValue

Returns

$this

getHashCode()

getHashCode() : string

Get hash code.

Returns

string —

Hash code

__clone()

__clone() 

Implement PHP __clone to create a deep clone, not just a shallow copy.