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 PHPExcel_Worksheet_Drawing_Shadow

getVisible()

getVisible() : boolean

Get Visible

Returns

boolean

getBlurRadius()

getBlurRadius() : integer

Get Blur radius

Returns

integer

setBlurRadius()

setBlurRadius(integer  $pValue = 6) : \PHPExcel_Worksheet_Drawing_Shadow

Set Blur radius

Parameters

integer $pValue

Returns

\PHPExcel_Worksheet_Drawing_Shadow

getDistance()

getDistance() : integer

Get Shadow distance

Returns

integer

setDistance()

setDistance(integer  $pValue = 2) : \PHPExcel_Worksheet_Drawing_Shadow

Set Shadow distance

Parameters

integer $pValue

Returns

\PHPExcel_Worksheet_Drawing_Shadow

getDirection()

getDirection() : integer

Get Shadow direction (in degrees)

Returns

integer

setDirection()

setDirection(integer  $pValue) : \PHPExcel_Worksheet_Drawing_Shadow

Set Shadow direction (in degrees)

Parameters

integer $pValue

Returns

\PHPExcel_Worksheet_Drawing_Shadow

getAlignment()

getAlignment() : integer

Get Shadow alignment

Returns

integer

setAlignment()

setAlignment(integer  $pValue) : \PHPExcel_Worksheet_Drawing_Shadow

Set Shadow alignment

Parameters

integer $pValue

Returns

\PHPExcel_Worksheet_Drawing_Shadow

getAlpha()

getAlpha() : integer

Get Alpha

Returns

integer

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.