Shadow implements IComparable
Interfaces, Classes and Traits
Table of Contents
- SHADOW_BOTTOM = 'b'
- SHADOW_BOTTOM_LEFT = 'bl'
- SHADOW_BOTTOM_RIGHT = 'br'
- SHADOW_CENTER = 'ctr'
- SHADOW_LEFT = 'l'
- SHADOW_TOP = 't'
- SHADOW_TOP_LEFT = 'tl'
- SHADOW_TOP_RIGHT = 'tr'
- $alignment : string
- Shadow alignment.
- $alpha : int
- Alpha.
- $blurRadius : int
- Blur radius.
- $color : Color
- Color.
- $direction : int
- Shadow direction (in degrees).
- $distance : int
- Shadow distance.
- $visible : bool
- Visible.
- __clone() : mixed
- Implement PHP __clone to create a deep clone, not just a shallow copy.
- __construct() : mixed
- Create a new Shadow.
- getAlignment() : string
- Get Shadow alignment.
- getAlpha() : int
- Get Alpha.
- getBlurRadius() : int
- Get Blur radius.
- getColor() : Color
- Get Color.
- getDirection() : int
- Get Shadow direction (in degrees).
- getDistance() : int
- Get Shadow distance.
- getHashCode() : string
- Get hash code.
- getVisible() : bool
- Get Visible.
- setAlignment() : $this
- Set Shadow alignment.
- setAlpha() : $this
- Set Alpha.
- setBlurRadius() : $this
- Set Blur radius.
- setColor() : $this
- Set Color.
- setDirection() : $this
- Set Shadow direction (in degrees).
- setDistance() : $this
- Set Shadow distance.
- setVisible() : $this
- Set Visible.
Constants
SHADOW_BOTTOM
public
mixed
SHADOW_BOTTOM
= 'b'
SHADOW_BOTTOM_LEFT
public
mixed
SHADOW_BOTTOM_LEFT
= 'bl'
SHADOW_BOTTOM_RIGHT
public
mixed
SHADOW_BOTTOM_RIGHT
= 'br'
SHADOW_CENTER
public
mixed
SHADOW_CENTER
= 'ctr'
SHADOW_LEFT
public
mixed
SHADOW_LEFT
= 'l'
SHADOW_TOP
public
mixed
SHADOW_TOP
= 't'
SHADOW_TOP_LEFT
public
mixed
SHADOW_TOP_LEFT
= 'tl'
SHADOW_TOP_RIGHT
public
mixed
SHADOW_TOP_RIGHT
= 'tr'
Properties
$alignment
Shadow alignment.
private
string
$alignment
$alpha
Alpha.
private
int
$alpha
$blurRadius
Blur radius.
private
int
$blurRadius
Defaults to 6
$color
Color.
private
Color
$color
$direction
Shadow direction (in degrees).
private
int
$direction
$distance
Shadow distance.
private
int
$distance
Defaults to 2
$visible
Visible.
private
bool
$visible
Methods
__clone()
Implement PHP __clone to create a deep clone, not just a shallow copy.
public
__clone() : mixed
Return values
mixed —__construct()
Create a new Shadow.
public
__construct() : mixed
Return values
mixed —getAlignment()
Get Shadow alignment.
public
getAlignment() : string
Return values
string —getAlpha()
Get Alpha.
public
getAlpha() : int
Return values
int —getBlurRadius()
Get Blur radius.
public
getBlurRadius() : int
Return values
int —getColor()
Get Color.
public
getColor() : Color
Return values
Color —getDirection()
Get Shadow direction (in degrees).
public
getDirection() : int
Return values
int —getDistance()
Get Shadow distance.
public
getDistance() : int
Return values
int —getHashCode()
Get hash code.
public
getHashCode() : string
Return values
string —Hash code
getVisible()
Get Visible.
public
getVisible() : bool
Return values
bool —setAlignment()
Set Shadow alignment.
public
setAlignment(string $alignment) : $this
Parameters
- $alignment : string
Return values
$this —setAlpha()
Set Alpha.
public
setAlpha(int $alpha) : $this
Parameters
- $alpha : int
Return values
$this —setBlurRadius()
Set Blur radius.
public
setBlurRadius(int $blurRadius) : $this
Parameters
- $blurRadius : int
Return values
$this —setColor()
Set Color.
public
setColor(Color $color) : $this
Parameters
- $color : Color
Return values
$this —setDirection()
Set Shadow direction (in degrees).
public
setDirection(int $direction) : $this
Parameters
- $direction : int
Return values
$this —setDistance()
Set Shadow distance.
public
setDistance(int $distance) : $this
Parameters
- $distance : int
Return values
$this —setVisible()
Set Visible.
public
setVisible(bool $visible) : $this
Parameters
- $visible : bool