![]() |
VOOZH | about |
The xChannelSelector attribute in SVG is used to indicate color channel from in2 that is use to displace the pixels in in along the x-axis. Only <feDisplacementMap> element is using this attribute.
Syntax:
yChannelSelector = "R | G | B | A"
Attribute Values: The attribute accepts four values as mentioned above and described below:
Example 1: This example illustrates the use of the xChannelSelector attribute using the “R” attribute value.
Output:
👁 ImageExample 2: This example illustrates the use of the xChannelSelector attribute using the “R” attribute value.
Output:
👁 Image