upm  1.6.0
Sensor/Actuator repository for libmraa (v1.9.0)
Public Member Functions | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
GFX Class Reference

Public Member Functions

synchronized void delete ()
 
void drawPixel (short x, short y, int color)
 
void drawLine (short x0, short y0, short x1, short y1, int color)
 
void drawFastVLine (short x, short y, short h, int color)
 
void drawFastHLine (short x, short y, short w, int color)
 
void drawRect (short x, short y, short w, short h, int color)
 
void fillRect (short x, short y, short w, short h, int color)
 
void fillScreen (int color)
 
void invertDisplay (boolean i)
 
void drawCircle (short x0, short y0, short r, int color)
 
void drawCircleHelper (short x0, short y0, short r, short cornername, int color)
 
void fillCircle (short x0, short y0, short r, int color)
 
void fillCircleHelper (short x0, short y0, short r, short cornername, short delta, int color)
 
void drawTriangle (short x0, short y0, short x1, short y1, short x2, short y2, int color)
 
void fillTriangle (short x0, short y0, short x1, short y1, short x2, short y2, int color)
 
void drawRoundRect (short x0, short y0, short w, short h, short radius, int color)
 
void fillRoundRect (short x0, short y0, short w, short h, short radius, int color)
 
void drawChar (short x, short y, short c, int color, int bg, short size)
 
short getCursorX ()
 
short getCursorY ()
 
void setCursor (short x, short y)
 
void setTextColor (int c)
 
void setTextColor (int c, int bg)
 
void setTextSize (short s)
 
void setTextWrap (boolean w)
 
short getRotation ()
 
void setRotation (short r)
 
void cp437 (boolean x)
 
void write (short c)
 
void print (String msg)
 
short width ()
 
short height ()
 

Protected Member Functions

 GFX (long cPtr, boolean cMemoryOwn)
 
void finalize ()
 

Static Protected Member Functions

static long getCPtr (GFX obj)
 

Protected Attributes

transient boolean swigCMemOwn
 
Inheritance diagram for GFX:
Inheritance graph
[legend]

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