C# Класс System.Drawing.PixelData

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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