All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Modules Pages
Loading...
Searching...
No Matches
ImageDescription Class Reference

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.
 

Detailed Description

Contains detailed information of image data.

Constructor & Destructor Documentation

◆ ImageDescription()

ImageDescription ( int width,
int height,
int stride,
int bufferWidth,
int bufferHeight,
PixelFormat format,
int bufferSize )
inline

Member Function Documentation

◆ Equals()

override bool Equals ( object obj)
inline

◆ GetHashCode()

override int GetHashCode ( )
inline

◆ ToString()

override string ToString ( )
inline

Property Documentation

◆ BufferHeight

int BufferHeight
get

The height (number of rows) of the underlying pixel buffer.

◆ BufferSize

int BufferSize
get

The buffer size of the image.

◆ BufferWidth

int BufferWidth
get

The width (number of columns) of the underlying pixel buffer.

◆ Height

int Height
get

The height of the image in pixels. Note that the pixel buffer can be higher than this.

◆ PixelFormat

The pixel format of the image.

◆ Stride

int Stride
get

The number of bytes between the start of a pixel row and the start of the next.

◆ Width

int Width
get

The width of the image in pixels. Note that the pixel buffer can be wider than this.

◆ Zero

ImageDescription Zero
staticget

Creates an empty ImageDescription.