FabGL
ESP32 Display Controller and Graphics Library
|
void drawPath | ( | Point const * | points, |
int | pointsCount | ||
) |
Draws a sequence of lines.
points | A pointer to an array of Point objects. Points array is copied to a temporary buffer. |
pointsCount | Number of points in the array. |
Example:
Point points[3] = { {10, 10}, {20, 10}, {15, 20} }; Canvas.setPenColor(Color::Red); Canvas.drawPath(points, 3);
Definition at line 521 of file canvas.cpp.