\PHPExcel_Worksheet_Drawing_Shadow

PHPExcel_Worksheet_Drawing_Shadow

Copyright (c) 2006 - 2015 PHPExcel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA

Summary

Methods
Properties
Constants
__construct()
getVisible()
setVisible()
getBlurRadius()
setBlurRadius()
getDistance()
setDistance()
getDirection()
setDirection()
getAlignment()
setAlignment()
getColor()
setColor()
getAlpha()
setAlpha()
getHashCode()
__clone()
No public properties found
SHADOW_BOTTOM
SHADOW_BOTTOM_LEFT
SHADOW_BOTTOM_RIGHT
SHADOW_CENTER
SHADOW_LEFT
SHADOW_TOP
SHADOW_TOP_LEFT
SHADOW_TOP_RIGHT
No protected methods found
No protected properties found
N/A
No private methods found
$visible
$blurRadius
$distance
$direction
$alignment
$color
$alpha
N/A

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.