C# Class netfx.LockBitmap

Afficher le fichier Open project: asadm/NETFx Class Usage Examples

Méthodes publiques

Méthode Description
GetBitmap ( ) : Bitmap
GetPixel ( int x, int y ) : Color

Get the color of the specified pixel

LockBitmap ( Bitmap source ) : System
LockBits ( ) : void

Lock bitmap data

SetPixel ( int x, int y, Color color ) : void

Set the color of the specified pixel

UnlockBits ( ) : void

Unlock bitmap data

Method Details

GetBitmap() public méthode

public GetBitmap ( ) : Bitmap
Résultat System.Drawing.Bitmap

GetPixel() public méthode

Get the color of the specified pixel
public GetPixel ( int x, int y ) : Color
x int
y int
Résultat Color

LockBitmap() public méthode

public LockBitmap ( Bitmap source ) : System
source System.Drawing.Bitmap
Résultat System

LockBits() public méthode

Lock bitmap data
public LockBits ( ) : void
Résultat void

SetPixel() public méthode

Set the color of the specified pixel
public SetPixel ( int x, int y, Color color ) : void
x int
y int
color Color
Résultat void

UnlockBits() public méthode

Unlock bitmap data
public UnlockBits ( ) : void
Résultat void