|
FabGL
ESP32 Display Controller and Graphics Library
|
| void moveTo | ( | int | X, |
| int | Y | ||
| ) |
Moves current pen position to the spcified coordinates.
Some methods expect initial pen position to be specified, like Canvas.lineTo().
| X | Horizontal pen position. |
| Y | Vertical pen position. |
Example:
// Paint a triangle Canvas.moveTo(10, 12); Canvas.lineTo(30, 40); Canvas.lineTo(10, 12);
Definition at line 178 of file canvas.cpp.