Partager via


ColorDifference Constructor (Byte, Byte, Byte, Byte)

Initializes a new instance of the ColorDifference class, using the specified alpha, red, green, and blue values.

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

Syntax

'Declaration
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
)

Parameters

  • alpha
    Type: Byte

    The alpha (transparency) color channel difference.

  • red
    Type: Byte

    The red color channel difference.

  • green
    Type: Byte

    The green color channel difference.

  • blue
    Type: Byte

    The blue color channel difference.

.NET Framework Security

See Also

Reference

ColorDifference Class

ColorDifference Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace