ColorDifference Constructor (Byte, Byte, Byte)
Initializes a new instance of the ColorDifference class, using the specified red, green, and blue values.
Alpha is set to 255, which indicates maximum tolerance for transparency.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Syntax
'Declaration
Public Sub New ( _
red As Byte, _
green As Byte, _
blue As Byte _
)
public ColorDifference(
byte red,
byte green,
byte blue
)
public:
ColorDifference(
unsigned char red,
unsigned char green,
unsigned char blue
)
new :
red:byte *
green:byte *
blue:byte -> ColorDifference
public function ColorDifference(
red : byte,
green : byte,
blue : byte
)
Parameters
red
Type: ByteThe red color channel difference.
green
Type: ByteThe green color channel difference.
blue
Type: ByteThe blue color channel difference.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.