Skip to content

DropShadowFilter

dropShadow’s filter: offset, blur and colour, all changeable.

enabled: boolean

Off: skipped, as if not in the list (cheaper than taking it out and back).

Filter.enabled


dx: number

Offset right, stage units.


dy: number

Offset down, stage units.


blur: number

The shadow’s blur, σ in stage units (as blur()).


opacity: number

The colour’s alpha, 0–1.

get color(): number

0xRRGGBB, or CSS with alpha (‘rgba(0,0,0,0.5)’); reads as 0xRRGGBB.

number

set color(v): void

ColorLike

void