SVGFilterElement
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:hrefattribute 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. SVGFilterElement.filterResXRead only Deprecated-
An
SVGAnimatedIntegerthat contains the X component of thefilterResattribute of the given<filter>element. SVGFilterElement.filterResYRead only Deprecated-
An
SVGAnimatedIntegerthat contains the Y component of thefilterResattribute of the given<filter>element.
Instance methods
SVGFilterElement.setFilterRes()Deprecated-
Sets the values of the
filterResattribute.
Specifications
| Specification |
|---|
| Filter Effects Module Level 1 # InterfaceSVGFilterElement |
Browser compatibility
BCD tables only load in the browser