SVGFEMorphologyElement
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.
TheSVGFEMorphologyElement interface corresponds to the<feMorphology> element.
In this article
Instance properties
This interface also inherits properties from its parent interface,SVGElement.
SVGFEMorphologyElement.heightRead onlyAn
SVGAnimatedLengthcorresponding to theheightattribute of the given element.SVGFEMorphologyElement.in1Read onlyAn
SVGAnimatedStringcorresponding to theinattribute of the given element.SVGFEMorphologyElement.operatorRead onlyAn
SVGAnimatedEnumerationcorresponding to theoperatorattribute of the given element. It takes one of theSVG_MORPHOLOGY_OPERATOR_*constants defined on this interface.SVGFEMorphologyElement.radiusXRead onlyAn
SVGAnimatedNumbercorresponding to the X component of theradiusattribute of the given element.SVGFEMorphologyElement.radiusYRead onlyAn
SVGAnimatedNumbercorresponding to the Y component of theradiusattribute of the given element.SVGFEMorphologyElement.resultRead onlyAn
SVGAnimatedStringcorresponding to theresultattribute of the given element.SVGFEMorphologyElement.widthRead onlyAn
SVGAnimatedLengthcorresponding to thewidthattribute of the given element.SVGFEMorphologyElement.xRead onlyAn
SVGAnimatedLengthcorresponding to thexattribute of the given element.SVGFEMorphologyElement.yRead onlyAn
SVGAnimatedLengthcorresponding to theyattribute of the given element.
Instance methods
This interface does not provide any specific methods, but implements those of its parent,SVGElement.
Static properties
SVG_MORPHOLOGY_OPERATOR_UNKNOWN(0)The type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
SVG_MORPHOLOGY_OPERATOR_ERODE(1)Corresponds to the value
erode.SVG_MORPHOLOGY_OPERATOR_DILATE(2)Corresponds to the value
dilate.
Specifications
| Specification |
|---|
| Filter Effects Module Level 1> # InterfaceSVGFEMorphologyElement> |