class PHPExcel_Worksheet_Drawing_Shadow implements PHPExcel_IComparable

PHPExcelWorksheetDrawing_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

Constants

SHADOW_BOTTOM

SHADOW_BOTTOM_LEFT

SHADOW_BOTTOM_RIGHT

SHADOW_CENTER

SHADOW_LEFT

SHADOW_TOP

SHADOW_TOP_LEFT

SHADOW_TOP_RIGHT

Methods

__construct()

Create a new PHPExcelWorksheetDrawing_Shadow

boolean
getVisible()

Get Visible

setVisible(boolean $pValue = false)

Set Visible

int
getBlurRadius()

Get Blur radius

setBlurRadius(int $pValue = 6)

Set Blur radius

int
getDistance()

Get Shadow distance

setDistance(int $pValue = 2)

Set Shadow distance

int
getDirection()

Get Shadow direction (in degrees)

setDirection(int $pValue)

Set Shadow direction (in degrees)

int
getAlignment()

Get Shadow alignment

setAlignment(int $pValue)

Set Shadow alignment

int
getAlpha()

Get Alpha

string
getHashCode()

Get hash code

__clone()

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

Details

at line 105
__construct()

Create a new PHPExcelWorksheetDrawing_Shadow

at line 122
boolean getVisible()

Get Visible

Return Value

boolean

at line 133
PHPExcel_Worksheet_Drawing_Shadow setVisible(boolean $pValue = false)

Set Visible

Parameters

boolean $pValue

Return Value

PHPExcel_Worksheet_Drawing_Shadow

at line 144
int getBlurRadius()

Get Blur radius

Return Value

int

at line 155
PHPExcel_Worksheet_Drawing_Shadow setBlurRadius(int $pValue = 6)

Set Blur radius

Parameters

int $pValue

Return Value

PHPExcel_Worksheet_Drawing_Shadow

at line 166
int getDistance()

Get Shadow distance

Return Value

int

at line 177
PHPExcel_Worksheet_Drawing_Shadow setDistance(int $pValue = 2)

Set Shadow distance

Parameters

int $pValue

Return Value

PHPExcel_Worksheet_Drawing_Shadow

at line 188
int getDirection()

Get Shadow direction (in degrees)

Return Value

int

at line 199
PHPExcel_Worksheet_Drawing_Shadow setDirection(int $pValue)

Set Shadow direction (in degrees)

Parameters

int $pValue

Return Value

PHPExcel_Worksheet_Drawing_Shadow

at line 210
int getAlignment()

Get Shadow alignment

Return Value

int

at line 221
PHPExcel_Worksheet_Drawing_Shadow setAlignment(int $pValue)

Set Shadow alignment

Parameters

int $pValue

Return Value

PHPExcel_Worksheet_Drawing_Shadow

at line 232
PHPExcel_Style_Color getColor()

Get Color

Return Value

PHPExcel_Style_Color

at line 244
PHPExcel_Worksheet_Drawing_Shadow setColor(PHPExcel_Style_Color $pValue = null)

Set Color

at line 255
int getAlpha()

Get Alpha

Return Value

int

at line 266
PHPExcel_Worksheet_Drawing_Shadow setAlpha(int $pValue)

Set Alpha

Parameters

int $pValue

Return Value

PHPExcel_Worksheet_Drawing_Shadow

at line 277
string getHashCode()

Get hash code

Return Value

string Hash code

at line 294
__clone()

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