# abstract BitmapDataChannel(UInt)

#### package openfl.display

#### from Int, UInt to Int, UInt

Available on all platforms

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

### Variables

###

`inline read onlyALPHA:BitmapDataChannel = 8`

The alpha channel.

###

`inline read onlyBLUE:BitmapDataChannel = 4`

The blue channel.

###

`inline read onlyGREEN:BitmapDataChannel = 2`

The green channel.

###

`inline read onlyRED:BitmapDataChannel = 1`

The red channel.