FabGL
ESP32 Display Controller and Graphics Library
|
void drawChar | ( | int | X, |
int | Y, | ||
char | c | ||
) |
Draws a character at specified position.
drawChar() uses currently selected font (selectFont() method) and currently selected glyph options (setGlyphOptions() method).
X | Horizontal position of character left side. |
Y | Vertical position of character top side. |
c | Character to draw (an index in the character font glyphs set). |
Example:
// Draw a 'C' at position 100, 100 Canvas.drawChar(100, 100, 'C');
Definition at line 395 of file canvas.cpp.