ColorDifference-Konstruktor (Byte)

Initialisiert eine neue Instanz der ColorDifference-Klasse und legt Rot, Grün und Blau in den angegebenen Wert fest.

Alpha wird auf 255 festgelegt, der die maximale Toleranz für Transparenz angibt.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Sub New ( _
    rgbTolerance As Byte _
)
public ColorDifference(
    byte rgbTolerance
)
public:
ColorDifference(
    unsigned char rgbTolerance
)
new : 
        rgbTolerance:byte -> ColorDifference
public function ColorDifference(
    rgbTolerance : byte
)

Parameter

  • rgbTolerance
    Typ: System.Byte
    Der rote, grüne und Blau Farbkanalunterschied.

.NET Framework-Sicherheit

Siehe auch

Referenz

ColorDifference Klasse

ColorDifference-Überladung

Microsoft.VisualStudio.TestTools.UITesting-Namespace