|
|
Donner 0.5.1
Embeddable browser-grade SVG2 engine
|
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:
| 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.