SVGFilterElement
The SVGFilterElement
interface provides access to the properties of <filter>
elements, as well as methods to manipulate them.
Instance properties
-
SVGFilterElement.href
Read only -
An
SVGAnimatedString
that corresponds to thehref
orxlink:href
Deprecated attribute of the given<filter>
element. -
SVGFilterElement.filterUnits
Read only -
An
SVGAnimatedEnumeration
that corresponds to thefilterUnits
attribute of the given<filter>
element. Takes one of the constants defined inSVGUnitTypes
. -
SVGFilterElement.primitiveUnits
Read only -
An
SVGAnimatedEnumeration
that corresponds to theprimitiveUnits
attribute of the given<filter>
element. Takes one of the constants defined inSVGUnitTypes
. -
SVGFilterElement.x
Read only -
An
SVGAnimatedLength
that corresponds to thex
attribute on the given<filter>
element. -
SVGFilterElement.y
Read only -
An
SVGAnimatedLength
that corresponds to they
attribute of the given<filter>
element. -
SVGFilterElement.width
Read only -
An
SVGAnimatedLength
that corresponds to thewidth
attribute of the given<filter>
element. -
SVGFilterElement.height
Read only -
An
SVGAnimatedLength
that corresponds to theheight
attribute of the given<filter>
element.
Specifications
Specification |
---|
Filter Effects Module Level 1 # InterfaceSVGFilterElement |
Browser compatibility
BCD tables only load in the browser