filter. filter.DropShadow

new filter.DropShadow(offsetX, offsetY, blur, blurColor)

DropShadow filter.
Name Type Description
offsetX number | string num:The X offset of the shadow (pixels). str: shadow angle
offsetY number if y is num: The Y offset of the shadow (pixels), else: shadow distance
blur number The amount of blur in pixels
blurColor string | number | color.RGBAColor Blur color
var f = new filter.DropShadow();
   var f = new filter.DropShadow(1, 1, 2, 0x000000FF);