Adafruit GFX庫

出自YFRobotwiki
在2016年9月5日 (一) 15:41由Allblue對話 | 貢獻所做的修訂版本

(差異) ←上個修訂 | 最新修訂 (差異) | 下一修訂→ (差異)
跳轉到: 導覽搜尋

Adafruit_SSD1306 github: Adafruit_SSD1306

Adafruit_GFX



Adafruit_GFX庫

BLACK 0

WHITE 1

INVERSE 2

- Adafruit_GFX(int16_t w, int16_t h)

- drawLine(int16_t x0, int16_t y0, int16_t x1, int16_t y1, uint16_t color)

- drawFastVLine(int16_t x, int16_t y, int16_t h, uint16_t color)

- drawFastHLine(int16_t x, int16_t y, int16_t w, uint16_t color)

- drawRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color)

- fillRect(int16_t x, int16_t y, int16_t w, int16_t h, uint16_t color)

- fillScreen(uint16_t color)

- invertDisplay(boolean i)

- drawCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color)

- drawCircleHelper(int16_t x0, int16_t y0, int16_t r, uint8_t cornername,uint16_t color)

- fillCircle(int16_t x0, int16_t y0, int16_t r, uint16_t color)

- fillCircleHelper(int16_t x0, int16_t y0, int16_t r, uint8_t cornername,int16_t delta, uint16_t color)

- drawTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color)

- fillTriangle(int16_t x0, int16_t y0, int16_t x1, int16_t y1, int16_t x2, int16_t y2, uint16_t color)

- drawRoundRect(int16_t x0, int16_t y0, int16_t w, int16_t h, int16_t radius, uint16_t color)

- fillRoundRect(int16_t x0, int16_t y0, int16_t w, int16_t h, int16_t radius, uint16_t color)

- drawBitmap(int16_t x, int16_t y, const uint8_t *bitmap, int16_t w, int16_t h, uint16_t color)

- drawBitmap(int16_t x, int16_t y, const uint8_t *bitmap, int16_t w, int16_t h, uint16_t color, uint16_t bg)

- drawFastHLine






返回Arduino庫菜單

返回首頁

更多建議和問題歡迎反饋至 YFRobot論壇