C# Class System.Drawing.PixelData

Afficher le fichier Open project: garuma/apachai Class Usage Examples

Méthodes publiques

Méthode Description
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

Method Details

FromBgr() public static méthode

public static FromBgr ( byte b, byte g, byte r ) : PixelData
b byte
g byte
r byte
Résultat PixelData

FromBgra() public static méthode

public static FromBgra ( byte b, byte g, byte r, byte a ) : PixelData
b byte
g byte
r byte
a byte
Résultat PixelData

FromBgraClamped() public static méthode

public static FromBgraClamped ( int b, int g, int r, int a ) : PixelData
b int
g int
r int
a int
Résultat PixelData

FromUInt32() public static méthode

public static FromUInt32 ( uint value ) : PixelData
value uint
Résultat PixelData

GetIntensity() public méthode

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

GetIntensityByte() public méthode

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

this() public méthode

public this ( int channel ) : byte
channel int
Résultat byte