C# Class netfx.LockBitmap

Datei anzeigen Open project: asadm/NETFx Class Usage Examples

Public Methods

Method 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 method

public GetBitmap ( ) : Bitmap
return System.Drawing.Bitmap

GetPixel() public method

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

LockBitmap() public method

public LockBitmap ( Bitmap source ) : System
source System.Drawing.Bitmap
return System

LockBits() public method

Lock bitmap data
public LockBits ( ) : void
return void

SetPixel() public method

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

UnlockBits() public method

Unlock bitmap data
public UnlockBits ( ) : void
return void