SVGFilterElement
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.
TheSVGFilterElement interface provides access to the properties of<filter> elements, as well as methods to manipulate them.
In this article
Instance properties
SVGFilterElement.hrefRead onlyAn
SVGAnimatedStringthat corresponds to thehreforxlink:hrefDeprecated attribute of the given<filter>element.SVGFilterElement.filterUnitsRead onlyAn
SVGAnimatedEnumerationthat corresponds to thefilterUnitsattribute of the given<filter>element. Takes one of the constants defined inSVGUnitTypes.SVGFilterElement.primitiveUnitsRead onlyAn
SVGAnimatedEnumerationthat corresponds to theprimitiveUnitsattribute of the given<filter>element. Takes one of the constants defined inSVGUnitTypes.SVGFilterElement.xRead onlyAn
SVGAnimatedLengththat corresponds to thexattribute on the given<filter>element.SVGFilterElement.yRead onlyAn
SVGAnimatedLengththat corresponds to theyattribute of the given<filter>element.SVGFilterElement.widthRead onlyAn
SVGAnimatedLengththat corresponds to thewidthattribute of the given<filter>element.SVGFilterElement.heightRead onlyAn
SVGAnimatedLengththat corresponds to theheightattribute of the given<filter>element.
Specifications
| Specification |
|---|
| Filter Effects Module Level 1> # InterfaceSVGFilterElement> |