\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 : bool

Visible

Type

bool —

$blurRadius

$blurRadius : int

Blur radius

Defaults to 6

Type

int —

$distance

$distance : int

Shadow distance

Defaults to 2

Type

int —

$direction

$direction : int

Shadow direction (in degrees)

Type

int —

$alignment

$alignment : int

Shadow alignment

Type

int —

$alpha

$alpha : int

Alpha

Type

int —

Methods

__construct()

__construct() : mixed

Create a new PHPExcel_Worksheet_Drawing_Shadow

Returns

mixed —

getVisible()

getVisible() : bool

Get Visible

Returns

bool —

setVisible()

setVisible(bool  $pValue = false) : \PHPExcel_Worksheet_Drawing_Shadow

Set Visible

Parameters

bool $pValue

Returns

\PHPExcel_Worksheet_Drawing_Shadow —

getBlurRadius()

getBlurRadius() : int

Get Blur radius

Returns

int —

setBlurRadius()

setBlurRadius(int  $pValue = 6) : \PHPExcel_Worksheet_Drawing_Shadow

Set Blur radius

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_Drawing_Shadow —

getDistance()

getDistance() : int

Get Shadow distance

Returns

int —

setDistance()

setDistance(int  $pValue = 2) : \PHPExcel_Worksheet_Drawing_Shadow

Set Shadow distance

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_Drawing_Shadow —

getDirection()

getDirection() : int

Get Shadow direction (in degrees)

Returns

int —

setDirection()

setDirection(int  $pValue) : \PHPExcel_Worksheet_Drawing_Shadow

Set Shadow direction (in degrees)

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_Drawing_Shadow —

getAlignment()

getAlignment() : int

Get Shadow alignment

Returns

int —

setAlignment()

setAlignment(int  $pValue) : \PHPExcel_Worksheet_Drawing_Shadow

Set Shadow alignment

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_Drawing_Shadow —

getColor()

getColor() : \PHPExcel_Style_Color

Get Color

Returns

\PHPExcel_Style_Color —

setColor()

setColor(\PHPExcel_Style_Color  $pValue = null) : \PHPExcel_Worksheet_Drawing_Shadow

Set Color

Parameters

\PHPExcel_Style_Color $pValue

Throws

\PHPExcel_Exception

Returns

\PHPExcel_Worksheet_Drawing_Shadow —

getAlpha()

getAlpha() : int

Get Alpha

Returns

int —

setAlpha()

setAlpha(int  $pValue) : \PHPExcel_Worksheet_Drawing_Shadow

Set Alpha

Parameters

int $pValue

Returns

\PHPExcel_Worksheet_Drawing_Shadow —

getHashCode()

getHashCode() : string

Get hash code

Returns

string —

Hash code

__clone()

__clone() : mixed

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

Returns

mixed —