The SVGFEDiffuseLightingElement
interface corresponds to the <feDiffuseLighting>
element.
SVGFEDiffuseLightingElement
Properties
This interface also inherits properties from its parent interface, SVGElement
.
-
SVGFEDiffuseLightingElement.diffuseConstant
Read only -
An
SVGAnimatedNumber
corresponding to thediffuseConstant
attribute of the given element. -
SVGFEDiffuseLightingElement.height
Read only -
An
SVGAnimatedLength
corresponding to theheight
attribute of the given element. -
SVGFEDiffuseLightingElement.in1
Read only -
An
SVGAnimatedString
corresponding to thein
attribute of the given element. -
SVGFEDiffuseLightingElement.kernelUnitLengthX
Read only -
An
SVGAnimatedNumber
corresponding to the X component of thekernelUnitLength
attribute of the given element. -
SVGFEDiffuseLightingElement.kernelUnitLengthY
Read only -
An
SVGAnimatedNumber
corresponding to the Y component of thekernelUnitLength
attribute of the given element. -
SVGFEDiffuseLightingElement.result
Read only -
An
SVGAnimatedString
corresponding to theresult
attribute of the given element. -
SVGFEDiffuseLightingElement.surfaceScale
Read only -
An
SVGAnimatedNumber
corresponding to thesurfaceScale
attribute of the given element. -
SVGFEDiffuseLightingElement.width
Read only -
An
SVGAnimatedLength
corresponding to thewidth
attribute of the given element. -
SVGFEDiffuseLightingElement.x
Read only -
An
SVGAnimatedLength
corresponding to thex
attribute of the given element. -
SVGFEDiffuseLightingElement.y
Read only -
An
SVGAnimatedLength
corresponding to they
attribute of the given element.
Methods
This interface does not provide any specific methods, but implements those of its parent, SVGElement
.
Specifications
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
SVGFEDiffuseLightingElement |
5
|
12
|
3
|
10
|
≤12.1
|
6
|
4.4
|
18
|
4
|
≤12.1
|
6
|
1.0
|
diffuseConstant |
5
|
12
|
3
|
10
|
≤12.1
|
6
|
4.4
|
18
|
4
|
≤12.1
|
6
|
1.0
|
in1 |
5
|
12
|
3
|
10
|
≤12.1
|
6
|
4.4
|
18
|
4
|
≤12.1
|
6
|
1.0
|
kernelUnitLengthX |
5
|
12
|
3
|
10
|
≤12.1
|
6
|
4.4
|
18
|
4
|
≤12.1
|
6
|
1.0
|
kernelUnitLengthY |
5
|
12
|
3
|
10
|
≤12.1
|
6
|
4.4
|
18
|
4
|
≤12.1
|
6
|
1.0
|
surfaceScale |
5
|
12
|
3
|
10
|
≤12.1
|
6
|
4.4
|
18
|
4
|
≤12.1
|
6
|
1.0
|
height |
5
|
12
|
3
|
10
|
≤12.1
|
6
|
4.4
|
18
|
4
|
≤12.1
|
6
|
1.0
|
result |
5
|
12
|
3
|
10
|
≤12.1
|
6
|
4.4
|
18
|
4
|
≤12.1
|
6
|
1.0
|
width |
5
|
12
|
3
|
10
|
≤12.1
|
6
|
4.4
|
18
|
4
|
≤12.1
|
6
|
1.0
|
x |
5
|
12
|
3
|
10
|
≤12.1
|
6
|
4.4
|
18
|
4
|
≤12.1
|
6
|
1.0
|
y |
5
|
12
|
3
|
10
|
≤12.1
|
6
|
4.4
|
18
|
4
|
≤12.1
|
6
|
1.0
|
See also
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/SVGFEDiffuseLightingElement