The BitmapDataChannel class is an enumeration of constant values that indicate which channel to use: red, blue, green, or alpha transparency.

When you call some methods, you can use the bitwise OR operator (`|`) to combine BitmapDataChannel constants to indicate multiple color channels.

The BitmapDataChannel constants are provided for use as values in the following:

- The `sourceChannel` and `destChannel` parameters of the `openfl.display.BitmapData.copyChannel()` method
- The `channelOptions` parameter of the `openfl.display.BitmapData.noise()` method
- The `openfl.filters.DisplacementMapFilter.componentX` and `openfl.filters.DisplacementMapFilter.componentY` properties

## Index

### Enumeration members

- ALPHA
- BLUE
- GREEN
- RED

## Enumeration members

### ALPHA

ALPHA: = 8

- Defined in lib/openfl/display/BitmapDataChannel.d.ts:29

The alpha channel.

### BLUE

BLUE: = 4

- Defined in lib/openfl/display/BitmapDataChannel.d.ts:34

The blue channel.

### GREEN

GREEN: = 2

- Defined in lib/openfl/display/BitmapDataChannel.d.ts:39

The green channel.

### RED

RED: = 1

- Defined in lib/openfl/display/BitmapDataChannel.d.ts:44

The red channel.

Generated using TypeDoc