MonoBrick EV3 Firmware
Public Types | Public Member Functions | Public Attributes | Properties | List of all members
MonoBrickFirmware.Display.Lcd Class Reference

Public Types

enum  Alignment { Left, Center, Right }
 
enum  ArrowOrientation { Left, Right, Down, Up }
 

Public Member Functions

void SetPixel (int x, int y, bool color)
 
bool IsPixelSet (int x, int y)
 
void Update (int yOffset=0)
 
void SaveScreen ()
 
void LoadScreen ()
 
void ShowPicture (byte[] picture)
 
void TakeScreenShot (string directory="")
 
void ClearLines (int y, int count)
 
void Clear ()
 
void DrawVLine (Point startPoint, int height, bool color)
 
void DrawHLine (Point startPoint, int length, bool color)
 
void DrawBitmap (Bitmap bm, Point p)
 
void DrawBitmap (BitStreamer bs, Point p, uint xsize, uint ysize, bool color)
 
int TextWidth (Font f, string text)
 
void WriteText (Font f, Point p, string text, bool color)
 
void DrawArrow (Rectangle r, ArrowOrientation orientation, bool color)
 
void WriteTextBox (Font f, Rectangle r, string text, bool color)
 
void WriteTextBox (Font f, Rectangle r, string text, bool color, Alignment aln)
 
void DrawCircle (Point center, ushort radius, bool color, bool fill)
 
void DrawEllipse (Point center, ushort radiusA, ushort radiusB, bool color, bool fill)
 
void DrawLine (Point start, Point end, bool color)
 
void DrawRectangle (Rectangle r, bool color, bool fill)
 

Public Attributes

const int Width = 178
 
const int Height = 128
 

Properties

static Lcd Instance [get]
 

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