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:
sourceChannel
destChannel
openfl.display.BitmapData.copyChannel()
channelOptions
openfl.display.BitmapData.noise()
openfl.filters.DisplacementMapFilter.componentX
openfl.filters.DisplacementMapFilter.componentY
The alpha channel.
The blue channel.
The green channel.
The red channel.
Generated using TypeDoc
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:
sourceChannel
anddestChannel
parameters of theopenfl.display.BitmapData.copyChannel()
methodchannelOptions
parameter of theopenfl.display.BitmapData.noise()
methodopenfl.filters.DisplacementMapFilter.componentX
andopenfl.filters.DisplacementMapFilter.componentY
properties