new DropShadow(xOffset, yOffset, blurRadius, color)
DropShadow filter
Parameters:
Name | Type | Description |
---|---|---|
xOffset |
Number | X axis offset |
yOffset |
Number | Y axis offset |
blurRadius |
Number | Blur radius |
color |
String | Color of the shadow |
Extends
Members
(constant) filters
All possible filters
- Overrides:
- Source:
type :"url"|"blur"|"brightness"|"contrast"|"dropShadow"|"Grayscale"|"hue-rotate"|"invert"|"opacity"|"saturate"|"sepia"
The type of the filter
Type:
- "url" | "blur" | "brightness" | "contrast" | "dropShadow" | "Grayscale" | "hue-rotate" | "invert" | "opacity" | "saturate" | "sepia"
- Overrides:
- Source:
unit :String
Used to construct the filter string
Type:
- String
- Overrides:
- Source:
units :String
Units to the values
Type:
- String
value :Number
The value of the filter
Type:
- Number
- Overrides:
- Source:
values :Number|String
Values to the function
Type:
- Number | String
Methods
toString() → {String}
The toString function
- Overrides:
- Source:
Returns:
- Type
- String