canvaskit-wasm 0.39
build 2026-04-29
ColorChannel
Picks a single channel out of an RGBA pixel. Used by ImageFilter.MakeDisplacementMap to choose which channel of the displacement texture provides the X (and Y) offsets.
All values
| Value | Channel |
|---|---|
Red | R channel. |
Green | G channel. |
Blue | B channel. |
Alpha | A channel. |