flash.display
public final class BitmapDataChannel
继承BitmapDataChannel Inheritance Object

语言版本 : ActionScript 3.0
Player 版本 : Flash Player 9

BitmapDataChannel 类是常数值枚举,指示要使用的通道:红色通道、蓝色通道、绿色通道或 Alpha 透明度通道。

调用某些方法时,您可以使用按位 OR 运算符 (|) 来合并 BitmapDataChannel 常数,从而指示多个颜色通道。

提供的 BitmapDataChannel 常数用作以下参数或属性的值:

另请参见

flash.display.BitmapData.copyChannel()
flash.display.BitmapData.noise()
flash.filters.DisplacementMapFilter.componentX
flash.filters.DisplacementMapFilter.componentY



公共 属性
 属性定义方
 Inheritedconstructor : Object
对类对象或给定对象实例的构造函数的引用。
Object
 Inheritedprototype : Object
[static] 对类或函数对象的原型对象的引用。
Object
公共 方法
 方法定义方
 Inherited
指示对象是否已经定义了指定的属性。
Object
 Inherited
指示 Object 类的实例是否在指定为参数的对象的原型链中。
Object
 Inherited
指示指定的属性是否存在、是否可枚举。
Object
 Inherited
设置循环操作动态属性的可用性。
Object
 Inherited
返回指定对象的字符串表示形式。
Object
 Inherited
返回指定对象的原始值。
Object
公共 常量
 常量定义方
  ALPHA : uint = 8
[static] Alpha 通道。
BitmapDataChannel
  BLUE : uint = 4
[static] 蓝色通道。
BitmapDataChannel
  GREEN : uint = 2
[static] 绿色通道。
BitmapDataChannel
  RED : uint = 1
[static] 红色通道。
BitmapDataChannel
常量详细信息
ALPHA常量
public static const ALPHA:uint = 8

语言版本 : ActionScript 3.0
Player 版本 : Flash Player 9

Alpha 通道。

BLUE常量 
public static const BLUE:uint = 4

语言版本 : ActionScript 3.0
Player 版本 : Flash Player 9

蓝色通道。

GREEN常量 
public static const GREEN:uint = 2

语言版本 : ActionScript 3.0
Player 版本 : Flash Player 9

绿色通道。

RED常量 
public static const RED:uint = 1

语言版本 : ActionScript 3.0
Player 版本 : Flash Player 9

红色通道。





 

评论添加到页面后给我发送电子邮件 | 评论报告

当前页: http://livedocs.adobe.com/flash/9.0_cn/ActionScriptLangRefV3/flash/display/BitmapDataChannel.html