C# Class BitmapExtension, csharputils

Afficher le fichier Open project: soywiz/csharputils Class Usage Examples

Méthodes publiques

Méthode Description
Colors ( this Bitmap ) : IEnumerable
ConvertToFormat ( this OldBitmap, PixelFormat, NewPixelFormat ) : Bitmap
Duplicate ( this Bitmap ) : Bitmap
ForEach ( this Bitmap, Action Delegate ) : void
GetChannelsDataInterleaved ( this Bitmap ) : byte[]
GetChannelsDataLinear ( this Bitmap ) : byte[]
GetChannelsDataLinear ( this Bitmap, Rectangle Rectangle ) : byte[]
GetFullRectangle ( this Bitmap ) : Rectangle
GetIndexedDataLinear ( this Bitmap ) : byte[]
GetIndexedDataLinear ( this Bitmap, Rectangle Rectangle ) : byte[]
LockBitsUnlock ( this Bitmap, PixelFormat, PixelFormat, Action Callback ) : void
LockBitsUnlock ( this Bitmap, Rectangle Rectangle, PixelFormat, PixelFormat, Action Callback ) : void
SetChannelsDataInterleaved ( this Bitmap, byte Buffer ) : Bitmap
SetChannelsDataLinear ( this Bitmap ) : Bitmap
SetChannelsDataLinear ( this Bitmap, byte NewData ) : Bitmap
SetChannelsDataLinear ( this Bitmap, byte NewData, Rectangle Rectangle ) : Bitmap
SetIndexedDataLinear ( this Bitmap, Rectangle Rectangle, byte NewData ) : void
SetIndexedDataLinear ( this Bitmap, byte NewData ) : void
SetPalette ( this Bitmap, IEnumerable Colors ) : void
Shader ( this Bitmap, Func Delegate ) : void

Method Details

Colors() public static méthode

public static Colors ( this Bitmap ) : IEnumerable
Bitmap this
Résultat IEnumerable

ConvertToFormat() public static méthode

public static ConvertToFormat ( this OldBitmap, PixelFormat, NewPixelFormat ) : Bitmap
OldBitmap this
NewPixelFormat PixelFormat,
Résultat Bitmap

Duplicate() public static méthode

public static Duplicate ( this Bitmap ) : Bitmap
Bitmap this
Résultat Bitmap

ForEach() public static méthode

public static ForEach ( this Bitmap, Action Delegate ) : void
Bitmap this
Delegate Action
Résultat void

GetChannelsDataInterleaved() public static méthode

public static GetChannelsDataInterleaved ( this Bitmap ) : byte[]
Bitmap this
Résultat byte[]

GetChannelsDataLinear() public static méthode

public static GetChannelsDataLinear ( this Bitmap ) : byte[]
Bitmap this
Résultat byte[]

GetChannelsDataLinear() public static méthode

public static GetChannelsDataLinear ( this Bitmap, Rectangle Rectangle ) : byte[]
Bitmap this
Rectangle Rectangle
Résultat byte[]

GetFullRectangle() public static méthode

public static GetFullRectangle ( this Bitmap ) : Rectangle
Bitmap this
Résultat Rectangle

GetIndexedDataLinear() public static méthode

public static GetIndexedDataLinear ( this Bitmap ) : byte[]
Bitmap this
Résultat byte[]

GetIndexedDataLinear() public static méthode

public static GetIndexedDataLinear ( this Bitmap, Rectangle Rectangle ) : byte[]
Bitmap this
Rectangle Rectangle
Résultat byte[]

LockBitsUnlock() public static méthode

public static LockBitsUnlock ( this Bitmap, PixelFormat, PixelFormat, Action Callback ) : void
Bitmap this
PixelFormat PixelFormat,
Callback Action
Résultat void

LockBitsUnlock() public static méthode

public static LockBitsUnlock ( this Bitmap, Rectangle Rectangle, PixelFormat, PixelFormat, Action Callback ) : void
Bitmap this
Rectangle Rectangle
PixelFormat PixelFormat,
Callback Action
Résultat void

SetChannelsDataInterleaved() public static méthode

public static SetChannelsDataInterleaved ( this Bitmap, byte Buffer ) : Bitmap
Bitmap this
Buffer byte
Résultat Bitmap

SetChannelsDataLinear() public static méthode

public static SetChannelsDataLinear ( this Bitmap ) : Bitmap
Bitmap this
Résultat Bitmap

SetChannelsDataLinear() public static méthode

public static SetChannelsDataLinear ( this Bitmap, byte NewData ) : Bitmap
Bitmap this
NewData byte
Résultat Bitmap

SetChannelsDataLinear() public static méthode

public static SetChannelsDataLinear ( this Bitmap, byte NewData, Rectangle Rectangle ) : Bitmap
Bitmap this
NewData byte
Rectangle Rectangle
Résultat Bitmap

SetIndexedDataLinear() public static méthode

public static SetIndexedDataLinear ( this Bitmap, Rectangle Rectangle, byte NewData ) : void
Bitmap this
Rectangle Rectangle
NewData byte
Résultat void

SetIndexedDataLinear() public static méthode

public static SetIndexedDataLinear ( this Bitmap, byte NewData ) : void
Bitmap this
NewData byte
Résultat void

SetPalette() public static méthode

public static SetPalette ( this Bitmap, IEnumerable Colors ) : void
Bitmap this
Colors IEnumerable
Résultat void

Shader() public static méthode

public static Shader ( this Bitmap, Func Delegate ) : void
Bitmap this
Delegate Func
Résultat void