C# 클래스 System.Drawing.PixelData

파일 보기 프로젝트 열기: garuma/apachai 1 사용 예제들

공개 메소드들

메소드 설명
FromBgr ( byte b, byte g, byte r ) : PixelData
FromBgra ( byte b, byte g, byte r, byte a ) : PixelData
FromBgraClamped ( int b, int g, int r, int a ) : PixelData
FromUInt32 ( uint value ) : PixelData
GetIntensity ( ) : double

Gets the luminance intensity of the pixel based on the values of the red, green, and blue components. Alpha is ignored.

GetIntensityByte ( ) : byte

Gets the luminance intensity of the pixel based on the values of the red, green, and blue components. Alpha is ignored.

this ( int channel ) : byte

메소드 상세

FromBgr() 공개 정적인 메소드

public static FromBgr ( byte b, byte g, byte r ) : PixelData
b byte
g byte
r byte
리턴 PixelData

FromBgra() 공개 정적인 메소드

public static FromBgra ( byte b, byte g, byte r, byte a ) : PixelData
b byte
g byte
r byte
a byte
리턴 PixelData

FromBgraClamped() 공개 정적인 메소드

public static FromBgraClamped ( int b, int g, int r, int a ) : PixelData
b int
g int
r int
a int
리턴 PixelData

FromUInt32() 공개 정적인 메소드

public static FromUInt32 ( uint value ) : PixelData
value uint
리턴 PixelData

GetIntensity() 공개 메소드

Gets the luminance intensity of the pixel based on the values of the red, green, and blue components. Alpha is ignored.
public GetIntensity ( ) : double
리턴 double

GetIntensityByte() 공개 메소드

Gets the luminance intensity of the pixel based on the values of the red, green, and blue components. Alpha is ignored.
public GetIntensityByte ( ) : byte
리턴 byte

this() 공개 메소드

public this ( int channel ) : byte
channel int
리턴 byte