|
|
|
|
| A class representing a locked block of pixel data. |
|
|
|
|
|
|
|
|
|
|
System.Object
WebSupergoo.ImageGlue9.BitmapData
|
|
|
|
|
|
|
|
|
|
System.IDisposable
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Method
|
|
Description
|
|
|
|
|
|
|
|
|
Dispose
|
|
Dispose of all resources associated with this object. |
|
|
|
|
|
|
|
|
GetPixel
|
|
Gets the color of a particular pixel. |
|
|
|
|
|
|
|
|
ReadBits
|
|
Read a number of bits from a position in the data. |
|
|
|
|
|
|
|
|
SetPixel
|
|
Sets the color of a particular pixel. You should ensure that
the color provided is in the same color space as the BitmapData. If
it is not then the color channels requested will be absent and so
components will not be changed. Also consider that your source
pixels may have transparency so you may wish to call LockBits with
a PixelFormat that supports Alpha. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Property
|
|
Description
|
|
|
|
|
|
|
|
|
Height
|
|
The height of the bitmap data in pixels. |
|
|
|
|
|
|
|
|
PixelFormat
|
|
The format of data for each pixel. |
|
|
|
|
|
|
|
|
Scan0
|
|
A pointer to the first pixel in the data. |
|
|
|
|
|
|
|
|
Step
|
|
The number of bits from one pixel to the next. |
|
|
|
|
|
|
|
|
Stride
|
|
The number of bytes from one scanline to the next. |
|
|
|
|
|
|
|
|
Width
|
|
The width of the bitmap data in pixels. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
None.
|