MonoBrick EV3 Firmware
Classes | Public Member Functions | List of all members
MonoBrickFirmware.Tools.BmpImage Class Reference
Inheritance diagram for MonoBrickFirmware.Tools.BmpImage:

Public Member Functions

 BmpImage (UInt32 width, UInt32 height, ColorDepth colorDepth)
 Initializes a new instance of the MonoBrickFirmware.Graphics.BmpFile class. More...
 
void AppendRGB (RGB pixel)
 Appends a pixel to the file More...
 
void Clear ()
 Clear the pixel content but keep the header More...
 
void WriteToFile (string path)
 
void Dispose ()
 

Constructor & Destructor Documentation

MonoBrickFirmware.Tools.BmpImage.BmpImage ( UInt32  width,
UInt32  height,
ColorDepth  colorDepth 
)
inline

Initializes a new instance of the MonoBrickFirmware.Graphics.BmpFile class.

Parameters
widthWidth of image in pixels.
heightHeight of image in pixels.
colorDepthColor depth.

Member Function Documentation

void MonoBrickFirmware.Tools.BmpImage.AppendRGB ( RGB  pixel)
inline

Appends a pixel to the file

Parameters
pixelPixel.
void MonoBrickFirmware.Tools.BmpImage.Clear ( )
inline

Clear the pixel content but keep the header


The documentation for this class was generated from the following file: