() rectangle from () () of width () & height () & () color block is a stack block available in evive display extension. The block is used to draw or fill a rectangle on the evive TFT display. It takes the coordinates of a point as input alongside the required width, height, and color and draws/fill the rectangle.
Draw a filled rectangle on evive Display
Draw a rectangle outline on evive display
Input Parameters
- Draw (only parameter) or fill (complete rectangle) option.
- X position of the top left corner pixel of the rectangle.
- Y position of the top left corner pixel of the rectangle.
- The width of the rectangle in pixels.
- The height of the rectangle in pixels.
- The color of the rectangle.
Note: This block is available in both Upload mode and Stage mode.