다음을 통해 공유


ColorDifference 생성자 (Byte, Byte, Byte)

지정 된 빨강, 녹색 및 파랑 값을 사용 하 여 ColorDifference 클래스의 새 인스턴스를 초기화 합니다.

알파는 255로 설정되며, 이는 투명도에 대한 최대 허용치를 나타냅니다.

네임스페이스:  Microsoft.VisualStudio.TestTools.UITesting
어셈블리:  Microsoft.VisualStudio.TestTools.UITesting(Microsoft.VisualStudio.TestTools.UITesting.dll)

구문

‘선언
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
)

매개 변수

  • red
    형식: Byte

    빨간색 채널 차이입니다.

  • green
    형식: Byte

    녹색 채널 차이입니다.

  • blue
    형식: Byte

    파란색 채널 차이입니다.

.NET Framework 보안

참고 항목

참조

ColorDifference 클래스

ColorDifference 오버로드

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