|
|
Donner 0.5.1
Embeddable browser-grade SVG2 engine
|
Defines filter effects which can be applied to graphical elements.
These elements are typically placed within a <defs> element, and then referenced by id from a filter attribute.
Inside the <filter> element there may be any number of filter primitive elements, such as <feGaussianBlur>.
Example usage:
To reference it with the filter attribute:
| Attribute | Default | Description |
|---|---|---|
| filterUnits | objectBoundingBox | Coordinate system for x, y, width, height. |
| primitiveUnits | userSpaceOnUse | Coordinate system for child filter primitives. |
| x | -10% | X position of the filter region. |
| y | -10% | Y position of the filter region. |
| width | 120% | Width of the filter region. |
| height | 120% | Height of the filter region. |