Hello everyone,
I use a Mbot and I was wondering how to display triangles on the screen.
I know how to display boxes en texts.
Does anyone have an idea?
Triangles on Me TFT LCD Display
That is not what I mean.
I mean:
The code for displaying a point on the screen is: “PS(x, y, c);”
The code for displaying a box is: “BOX(x1, y1, x2, y2, c);”
But what is the code for displaying a triangle?
Something like: “TRI(x1, y1, x2, y2, x3, y3, c)”
PS
I use this screen: https://www.makeblock.com/project/me-tft-lcd-screen-2-2-inch
we don’t have a single block for triangle,you can achive it by drawing 3 lines to get a triangle as below:
Oke, thank you.
So it’s not possible to make a filled triangle. (With triangles you can make 3d objects and that would be nice)
yes,currently don’t have this function,but will feedbck to R&D team to check if we will develop on it in thr future
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.