Class: DropShadow

Filter.DropShadow(xOffset, yOffset, blurRadius, color)

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
Source:

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
Source:

value :Number

The value of the filter
Type:
  • Number
Overrides:
Source:

values :Number|String

Values to the function
Type:
  • Number | String
Source:

Methods

toString() → {String}

The toString function
Overrides:
Source:
Returns:
Type
String