| 包 | flash.display |
| 类 | public final class BitmapDataChannel |
| 继承 | BitmapDataChannel Object |
| 语言版本: | ActionScript 3.0 |
| 运行时版本: | AIR 1.0, Flash Player 9, Flash Lite 4 |
调用某些方法时,您可以使用按位 OR (|) 运算符来合并 BitmapDataChannel 常数,从而表示多个颜色通道。
提供的 BitmapDataChannel 常数用作以下参数或属性的值:
-
flash.display.BitmapData.copyChannel()方法的sourceChannel和destChannel参数 -
flash.display.BitmapData.noise()方法的channelOptions参数 -
flash.filters.DisplacementMapFilter.componentX和flash.filters.DisplacementMapFilter.componentY属性
相关 API 元素
flash.display.BitmapData.copyChannel()
flash.display.BitmapData.noise()
flash.filters.DisplacementMapFilter.componentX
flash.filters.DisplacementMapFilter.componentY
flash.display.BitmapData.noise()
flash.filters.DisplacementMapFilter.componentX
flash.filters.DisplacementMapFilter.componentY
公共常量
| 常量 | 由以下参数定义 | ||
|---|---|---|---|
| ALPHA : uint = 8 [静态]
Alpha 通道。 | BitmapDataChannel | ||
| BLUE : uint = 4 [静态]
蓝色通道。 | BitmapDataChannel | ||
| GREEN : uint = 2 [静态]
绿色通道。 | BitmapDataChannel | ||
| RED : uint = 1 [静态]
红色通道。 | BitmapDataChannel | ||
常量详细信息
ALPHA | 常量 |
public static const ALPHA:uint = 8| 语言版本: | ActionScript 3.0 |
| 运行时版本: | AIR 1.0, Flash Player 9, Flash Lite 4 |
Alpha 通道。
BLUE | 常量 |
public static const BLUE:uint = 4| 语言版本: | ActionScript 3.0 |
| 运行时版本: | AIR 1.0, Flash Player 9, Flash Lite 4 |
蓝色通道。
GREEN | 常量 |
public static const GREEN:uint = 2| 语言版本: | ActionScript 3.0 |
| 运行时版本: | AIR 1.0, Flash Player 9, Flash Lite 4 |
绿色通道。
RED | 常量 |
public static const RED:uint = 1| 语言版本: | ActionScript 3.0 |
| 运行时版本: | AIR 1.0, Flash Player 9, Flash Lite 4 |
红色通道。
Tue Jun 12 2018, 11:04 AM Z
隐藏继承的公共属性
显示继承的公共属性