xChannelSelector attribute | xChannelSelector property
Specifies which color channel (R/G/B/A) from image 2 to use for the x displacement property with a FEDisplacementMap element.
This property is read-only.
![]() ![]() |
Syntax
| HTML |
|---|
<element xChannelSelector="xChannelValue" ... > |
| JavaScript |
|---|
xChannelValue = object.xChannelSelector |
Property values
Type: SVGAnimatedEnumeration
One of the following values:
| Value | Condition |
|---|---|
|
Red component of a pixel. |
|
Green component of a pixel. |
|
Blue component of a pixel. |
|
Alpha or opacity component of a pixel. |
Standards information
- Scalable Vector Graphics: Filter Effects, Section 15.25.17
See also
Show:

