使用指定的 Alpha,红色,绿色和蓝色值,ColorDifference 初始化类的新实例。,
命名空间: Microsoft.VisualStudio.TestTools.UITesting
程序集: Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)
语法
声明
Public Sub New ( _
alpha As Byte, _
red As Byte, _
green As Byte, _
blue As Byte _
)
public ColorDifference(
byte alpha,
byte red,
byte green,
byte blue
)
public:
ColorDifference(
unsigned char alpha,
unsigned char red,
unsigned char green,
unsigned char blue
)
new :
alpha:byte *
red:byte *
green:byte *
blue:byte -> ColorDifference
public function ColorDifference(
alpha : byte,
red : byte,
green : byte,
blue : byte
)
参数
alpha
类型:Bytealpha(透明)颜色通道差异。
red
类型:Byte红色通道差异。
green
类型:Byte绿颜色的通道差异。
blue
类型:Byte蓝色通道差异。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。