Méthode | Description | |
---|---|---|
GetPixel ( int x, int y ) : Color |
Get the color of the specified pixel
|
|
LockBits ( ) : void |
Lock bitmap data.
|
|
PixelUtil ( System.Windows.Media.Imaging.BitmapSource source ) : System |
Pixel marshalling class, use this to access pixels rapidly.
|
|
SetPixel ( int x, int y, Color color ) : void |
Set the color of the specified pixel
|
|
UnlockBits ( ) : void |
Unlock bitmap data
|
public PixelUtil ( System.Windows.Media.Imaging.BitmapSource source ) : System | ||
source | System.Windows.Media.Imaging.BitmapSource | The Bitmap to work with. |
Résultat | System |
public SetPixel ( int x, int y, Color color ) : void | ||
x | int | |
y | int | |
color | Color | |
Résultat | void |