touchgfx::LCD::realY() method
@fn static int LCD::realY(const Rect& widgetArea, int16_t x, int16_t y, TextRotation rotation); Find the real, absolute y coordinate of a point inside a widget. Find the real, absolute y coordinate of a point inside a widget with regards to rotation.
Arguments
x
The x coordinate.
y
The y coordinate.
rotation
Rotation to perform.
Return value
The absolute y coordinate after applying appropriate rotation.