feDropShadow

The feDropShadow SVG element specifies a drop shadow of the input image.

Syntax

Attributes

dx

Specifies the x offset of the drop shadow.

Value
<number>
Default
2

dy

Specifies the y offset of the drop shadow.

Value
<number>
Default
2

in

Specifies the input for the filter primitive.

If no value is provided and this is the first filter primitive, then this filter primitive will use SourceGraphic as its input. If no value is provided and this is a subsequent filter primitive, then this filter primitive will use the result from the previous filter primitive as its input.

Value
SourceGraphic | SourceAlpha | BackgroundImage | BackgroundAlpha | FillPaint | StrokePaint | <filter-primitive-reference>
Default
SourceGraphic (or result)

stdDeviation

Specifies the standard deviation for the blur operation in the drop shadow.

If two numbers are provided, the first number specifies a standard deviation along the x-axis and the second number specifies a standard deviation along the y-axis.

Value
<number-optional-number>
Default
2

Examples

dx

<number>

dy

<number>

in

BackgroundAlpha

BackgroundImage

FillPaint

<filter-primitive-reference>

SourceAlpha

SourceGraphic

StrokePaint

stdDeviation

<number-optional-number>

Internal

feBlend

feColorMatrix

feComponentTransfer

feComposite

feConvolveMatrix

feDiffuseLighting

feDisplacementMap

feDistantLight

feFlood

feFuncA

feFuncB

feFuncG

feFuncR

feGaussianBlur

feImage

feMerge

feMergeMode

feMorphology

feOffset

fePointLight

feSpecularLighting

feSpotLight

feTile

feTurbulence

filter

External

World Wide Web Consortium (W3C)

Home Menu