BitmapData Class |
Namespace: Eto.Drawing
The BitmapData type exposes the following members.
| Name | Description | |
|---|---|---|
| BitmapData |
Initializes a new instance of the BitmapData class
|
| Name | Description | |
|---|---|---|
| BitsPerPixel |
Gets the bits per pixel
| |
| BytesPerPixel |
Gets the bytes per pixel
| |
| ControlObject |
Gets the platform-specific control object for the bitmap data
| |
| Data |
Gets the pointer to the data of the bitmap
| |
| Flipped |
Gets a value indicating that the data is flipped (upside down)
| |
| Image |
Gets the image this data is for
| |
| ScanWidth |
Gets the width (in bytes) of each scan line (row) of pixel data
|
| Name | Description | |
|---|---|---|
| Dispose |
Releases all resource used by the BitmapData object.
| |
| Dispose(Boolean) |
Disposes the brush
| |
| GetPixel(Point) |
Gets the color of the pixel at the specified position | |
| GetPixel(Int32, Int32) |
Gets the color of the pixel at the specified coordinates.
| |
| GetPixels |
Gets an enumerable of pixels for each scan line from top to bottom.
| |
| SetPixel(Point, Color) |
Sets the pixel color at the specified position.
| |
| SetPixel(Int32, Int32, Color) |
Sets the pixel color at the specified coordinates.
| |
| SetPixels |
Use this to set the pixels of the bitmap from an array or other source.
| |
| TranslateArgbToData |
Translates a 32-bit ARGB value to the platform specific pixel format value
| |
| TranslateDataToArgb |
Translates the platform specific pixel format to a 32-bit ARGB value
|