The BitmapDataChannel object 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 BitmapData.copyChannel() method

The channelOptions parameter of the BitmapData.noise() method


Lib.Media.Display.BitmapDataChannel.ALPHA

The alpha channel.

8

Lib.Media.Display.BitmapDataChannel.BLUE

The blue channel.

4

Lib.Media.Display.BitmapDataChannel.GREEN

The green channel.

2

Lib.Media.Display.BitmapDataChannel.RED

The red channel.

1

Created with the Personal Edition of HelpNDoc: Produce electronic books easily