SVGFilterElement

SVG Filter DOM interface

The SVGFilterElement interface provides access to the properties of <filter> elements, as well as methods to manipulate them.

Interface overview

Also implement SVGElement, SVGURIReference, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable, SVGUnitTypes
Methods
  • void setFilterRes(in unsigned long filterResX, in unsigned long filterResY)
Properties
Normative document SVG 1.1 (2nd Edition)

Properties

Name Type Description
filterUnits SVGAnimatedEnumeration Corresponds to attribute filterUnits on the given <filter> element. Takes one of the constants defined in SVGUnitTypes.
primitiveUnits SVGAnimatedEnumeration Corresponds to attribute primitiveUnits on the given <filter> element. Takes one of the constants defined in SVGUnitTypes.
x SVGAnimatedLength Corresponds to attribute x on the given <filter> element.
y SVGAnimatedLength Corresponds to attribute y on the given <filter> element.
width SVGAnimatedLength Corresponds to attribute width on the given <filter> element.
height SVGAnimatedLength Corresponds to attribute height on the given <filter> element.
filterResX SVGAnimatedInteger Contains the X component of attribute filterRes on the given <filter> element.
filterResY SVGAnimatedInteger Contains the Y component of attribute filterRes on the given <filter> element.

Methods

Name & Arguments Return Description
setFilterRes(in unsigned long filterResX, in unsigned long filterResY) void Sets the values for attribute filterRes.

Browser compatibility

Feature Chrome Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support ? ? ? ? ?
Feature Android Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? ? ?

See also

Document Tags and Contributors

Contributors to this page: Sheppy, kscarfone, Jeremie
Last updated by: kscarfone,