C# 클래스 WinRTXamlToolkit.Imaging.PixelMath

Contains basic pixel processing helper methods for double- and byte-type pixel color components.
파일 보기 프로젝트 열기: xyzzer/WinRTXamlToolkit

공개 메소드들

메소드 설명
Clamp ( this value, byte min, byte max ) : byte

Clamps the specified value to the given inclusive min..max range.

Clamp ( this value, double min, double max ) : double

Clamps the specified value to the given inclusive min..max range.

Max ( byte v1, byte v2, byte v3 ) : byte

Returns the maximum of 3 numbers.

Max ( byte v1, byte v2, byte v3, byte v4 ) : byte

Returns the maximum of 4 numbers.

Max ( double v1, double v2, double v3 ) : double

Returns the maximum of 3 numbers.

Max ( double v1, double v2, double v3, double v4 ) : double

Returns the maximum of 4 numbers.

Min ( byte v1, byte v2, byte v3 ) : byte

Returns the minimum of 3 numbers.

Min ( byte v1, byte v2, byte v3, byte v4 ) : byte

Returns the minimum of 4 numbers.

Min ( double v1, double v2, double v3 ) : double

Returns the minimum of 3 numbers.

Min ( double v1, double v2, double v3, double v4 ) : double

Returns the minimum of 4 numbers.

메소드 상세

Clamp() 공개 정적인 메소드

Clamps the specified value to the given inclusive min..max range.
public static Clamp ( this value, byte min, byte max ) : byte
value this The value.
min byte The min.
max byte The max.
리턴 byte

Clamp() 공개 정적인 메소드

Clamps the specified value to the given inclusive min..max range.
public static Clamp ( this value, double min, double max ) : double
value this The value.
min double The min.
max double The max.
리턴 double

Max() 공개 정적인 메소드

Returns the maximum of 3 numbers.
public static Max ( byte v1, byte v2, byte v3 ) : byte
v1 byte The v1.
v2 byte The v2.
v3 byte The v3.
리턴 byte

Max() 공개 정적인 메소드

Returns the maximum of 4 numbers.
public static Max ( byte v1, byte v2, byte v3, byte v4 ) : byte
v1 byte The v1.
v2 byte The v2.
v3 byte The v3.
v4 byte The v4.
리턴 byte

Max() 공개 정적인 메소드

Returns the maximum of 3 numbers.
public static Max ( double v1, double v2, double v3 ) : double
v1 double The v1.
v2 double The v2.
v3 double The v3.
리턴 double

Max() 공개 정적인 메소드

Returns the maximum of 4 numbers.
public static Max ( double v1, double v2, double v3, double v4 ) : double
v1 double The v1.
v2 double The v2.
v3 double The v3.
v4 double The v4.
리턴 double

Min() 공개 정적인 메소드

Returns the minimum of 3 numbers.
public static Min ( byte v1, byte v2, byte v3 ) : byte
v1 byte The v1.
v2 byte The v2.
v3 byte The v3.
리턴 byte

Min() 공개 정적인 메소드

Returns the minimum of 4 numbers.
public static Min ( byte v1, byte v2, byte v3, byte v4 ) : byte
v1 byte The v1.
v2 byte The v2.
v3 byte The v3.
v4 byte The v4.
리턴 byte

Min() 공개 정적인 메소드

Returns the minimum of 3 numbers.
public static Min ( double v1, double v2, double v3 ) : double
v1 double The v1.
v2 double The v2.
v3 double The v3.
리턴 double

Min() 공개 정적인 메소드

Returns the minimum of 4 numbers.
public static Min ( double v1, double v2, double v3, double v4 ) : double
v1 double The v1.
v2 double The v2.
v3 double The v3.
v4 double The v4.
리턴 double