class flash.display.BitmapDataChannel

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 flash.display.BitmapData.copyChannel() * method
  • *
  • The channelOptions parameter of the * flash.display.BitmapData.noise() method
  • *
  • The flash.filters.DisplacementMapFilter.componentX and * flash.filters.DisplacementMapFilter.componentY properties
  • *

Class Fields

static var ALPHA:Int

The alpha channel.

static var BLUE:Int

The blue channel.

static var GREEN:Int

The green channel.

static var RED:Int

The red channel.