다음을 통해 공유


ColorDifference 생성자 (Byte, Byte, Byte, Byte)

지정한 알파, 빨강, 녹색 및 파랑 값을 사용 하 여 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
    형식: Byte

    알파(투명도) 색 채널 차이입니다.

  • red
    형식: Byte

    빨간색 채널 차이입니다.

  • green
    형식: Byte

    녹색 채널 차이입니다.

  • blue
    형식: Byte

    파란색 채널 차이입니다.

.NET Framework 보안

참고 항목

참조

ColorDifference 클래스

ColorDifference 오버로드

Microsoft.VisualStudio.TestTools.UITesting 네임스페이스