Class Adafruit_GFX

java.lang.Object
virtualbreadboard.arduino.PrintFormatter
virtualbreadboard.arduino.Adafruit_GFX
Direct Known Subclasses:
Adafruit_NeoMatrix, Adafruit_SSD1306

public abstract class Adafruit_GFX extends PrintFormatter
  • Constructor Details

    • Adafruit_GFX

      public Adafruit_GFX(int w, int h)
  • Method Details

    • drawPixel

      public abstract void drawPixel(int x, int y, int color)
    • drawCircle

      public void drawCircle(int x0, int y0, int r, int color)
    • drawCircleHelper

      public void drawCircleHelper(int x0, int y0, int r, int cornername, int color)
    • fillCircle

      public void fillCircle(int x0, int y0, int r, int color)
    • drawLine

      public void drawLine(int x0, int y0, int x1, int y1, int color)
    • drawRect

      public void drawRect(int x, int y, int w, int h, int color)
    • drawFastVLine

      public void drawFastVLine(int x, int y, int h, int color)
    • drawFastHLine

      public void drawFastHLine(int x, int y, int w, int color)
    • fillRect

      public void fillRect(int x, int y, int w, int h, int color)
    • fillScreen

      public void fillScreen(int color)
    • drawRoundRect

      public void drawRoundRect(int x, int y, int w, int h, int r, int color)
    • fillRoundRect

      public void fillRoundRect(int x, int y, int w, int h, int r, int color)
    • drawTriangle

      public void drawTriangle(int x0, int y0, int x1, int y1, int x2, int y2, int color)
    • fillTriangle

      public void fillTriangle(int x0, int y0, int x1, int y1, int x2, int y2, int color)
    • drawBitmap

      public void drawBitmap(int x, int y, byte[] bitmap, int w, int h, int color)
    • drawBitmap

      public void drawBitmap(int x, int y, byte[] bitmap, int w, int h, int color, int bg)
    • drawXBitmap

      public void drawXBitmap(int x, int y, byte[] bitmap, int w, int h, int color)
    • write

      public void write(char c)
    • drawChar

      public void drawChar(int x, int y, char c, int color, int bg, int size)
    • setCursor

      public void setCursor(int x, int y)
    • getCursorX

      public int getCursorX()
    • getCursorY

      public int getCursorY()
    • setTextSize

      public void setTextSize(int s)
    • setTextColor

      public void setTextColor(int c)
    • setTextColor

      public void setTextColor(int c, int b)
    • setTextWrap

      public void setTextWrap(boolean w)
    • getRotation

      public int getRotation()
    • setRotation

      public void setRotation(int x)
    • cp437

      public void cp437(boolean x)
    • width

      public int width()
    • height

      public int height()
    • invertDisplay

      public void invertDisplay(boolean i)