Contains detailed information of image data. More...
Public Member Functions | |
ImageDescription (int width, int height, int stride, int bufferWidth, int bufferHeight, PixelFormat format, int bufferSize) | |
override bool | Equals (object obj) |
override int | GetHashCode () |
override string | ToString () |
Properties | |
int | BufferHeight [get] |
The height (number of rows) of the underlying pixel buffer. | |
int | BufferSize [get] |
The buffer size of the image. | |
int | BufferWidth [get] |
The width (number of columns) of the underlying pixel buffer. | |
int | Height [get] |
The height of the image in pixels. Note that the pixel buffer can be higher than this. | |
PixelFormat | PixelFormat [get] |
The pixel format of the image. | |
int | Stride [get] |
The number of bytes between the start of a pixel row and the start of the next. | |
int | Width [get] |
The width of the image in pixels. Note that the pixel buffer can be wider than this. | |
static ImageDescription | Zero [get] |
Creates an empty ImageDescription. | |
Contains detailed information of image data.
|
inline |
|
inline |
|
inline |
|
inline |
|
get |
The height (number of rows) of the underlying pixel buffer.
|
get |
The buffer size of the image.
|
get |
The width (number of columns) of the underlying pixel buffer.
|
get |
The height of the image in pixels. Note that the pixel buffer can be higher than this.
The pixel format of the image.
|
get |
The number of bytes between the start of a pixel row and the start of the next.
|
get |
The width of the image in pixels. Note that the pixel buffer can be wider than this.
|
staticget |
Creates an empty ImageDescription.