FabGL
ESP32 Display Controller and Graphics Library
|
RGB888 getPixel | ( | int | X, |
int | Y | ||
) |
Reads the pixel at specified position.
Screen reading may occur while other drawings are in progress, so the result may be not updated. To avoid it, call getPixel() after waitCompletion() or disable background drawings.
X | Horizontal coordinate. |
Y | Vertical coordinate. |
Definition at line 543 of file canvas.cpp.