class Shadow implements IComparable (View source)

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 Shadow.

bool
getVisible()

Get Visible.

setVisible(bool $pValue)

Set Visible.

int
getBlurRadius()

Get Blur radius.

setBlurRadius(int $pValue)

Set Blur radius.

int
getDistance()

Get Shadow distance.

setDistance(int $pValue)

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.

getColor()

Get Color.

setColor(Color $pValue = null)

Set Color.

int
getAlpha()

Get Alpha.

setAlpha(int $pValue)

Set Alpha.

string
getHashCode()

Get hash code.

__clone()

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

Details

__construct()

Create a new Shadow.

bool getVisible()

Get Visible.

Return Value

bool

Shadow setVisible(bool $pValue)

Set Visible.

Parameters

bool $pValue

Return Value

Shadow

int getBlurRadius()

Get Blur radius.

Return Value

int

Shadow setBlurRadius(int $pValue)

Set Blur radius.

Parameters

int $pValue

Return Value

Shadow

int getDistance()

Get Shadow distance.

Return Value

int

Shadow setDistance(int $pValue)

Set Shadow distance.

Parameters

int $pValue

Return Value

Shadow

int getDirection()

Get Shadow direction (in degrees).

Return Value

int

Shadow setDirection(int $pValue)

Set Shadow direction (in degrees).

Parameters

int $pValue

Return Value

Shadow

int getAlignment()

Get Shadow alignment.

Return Value

int

Shadow setAlignment(int $pValue)

Set Shadow alignment.

Parameters

int $pValue

Return Value

Shadow

Color getColor()

Get Color.

Return Value

Color

Shadow setColor(Color $pValue = null)

Set Color.

Parameters

Color $pValue

Return Value

Shadow

int getAlpha()

Get Alpha.

Return Value

int

Shadow setAlpha(int $pValue)

Set Alpha.

Parameters

int $pValue

Return Value

Shadow

string getHashCode()

Get hash code.

Return Value

string Hash code

__clone()

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