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.
The SVGFilterElement interface provides access to the properties of <filter> elements, as well as methods to manipulate them.
Instance properties
SVGFilterElement.hrefRead only-
An
SVGAnimatedStringthat corresponds to thehreforxlink:hrefDeprecated attribute of the given<filter>element. SVGFilterElement.filterUnitsRead only-
An
SVGAnimatedEnumerationthat corresponds to thefilterUnitsattribute of the given<filter>element. Takes one of the constants defined inSVGUnitTypes. SVGFilterElement.primitiveUnitsRead only-
An
SVGAnimatedEnumerationthat corresponds to theprimitiveUnitsattribute of the given<filter>element. Takes one of the constants defined inSVGUnitTypes. SVGFilterElement.xRead only-
An
SVGAnimatedLengththat corresponds to thexattribute on the given<filter>element. SVGFilterElement.yRead only-
An
SVGAnimatedLengththat corresponds to theyattribute of the given<filter>element. SVGFilterElement.widthRead only-
An
SVGAnimatedLengththat corresponds to thewidthattribute of the given<filter>element. SVGFilterElement.heightRead only-
An
SVGAnimatedLengththat corresponds to theheightattribute of the given<filter>element.
Specifications
| Specification |
|---|
| Filter Effects Module Level 1> # InterfaceSVGFilterElement> |
Browser compatibility
Loading…