Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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)

public:
ColorDifference(
	unsigned char red,
	unsigned char green,
	unsigned char blue
)

Parameters

red
Type: System::Byte

The red color channel difference.

green
Type: System::Byte

The green color channel difference.

blue
Type: System::Byte

The blue color channel difference.

Return to top
Show: