Donner 0.5.1
Embeddable browser-grade SVG2 engine
Loading...
Searching...
No Matches
"<feDropShadow>"

Defines a filter primitive that creates a drop shadow effect.

Equivalent to: feGaussianBlur of SourceAlpha, offset by dx/dy, flooded with flood-color/flood-opacity, then merged under SourceGraphic.

Example usage:

<filter id="shadow">
<feDropShadow dx="3" dy="3" stdDeviation="2" flood-color="black" flood-opacity="0.5" />
</filter>

Source dx=4 dy=4 stdDev=3

Attribute Default Description
dx 2 Horizontal offset of the shadow.
dy 2 Vertical offset of the shadow.
stdDeviation 2 Gaussian blur std. deviation applied to the shadow.
flood-color black Shadow color (CSS property).
flood-opacity 1 Shadow opacity (CSS property).

Inherits standard filter primitive attributes (in, result, x, y, width, height) from donner::svg::SVGFilterPrimitiveStandardAttributes.