Draw rectangle from ()() width () height () colour ()

Introduction

The Draw rectangle from () width () height () colour () block is found under the Robotics palette in the extension evive TFT display. It takes the coordinates of a point as input alongside the required width, height and colour and draws the outline of a rectangle.

This block is works for Arduino mode only.
Draw rectangle from ()() width () height () colour ()
Draw rectangle from ()() width () height () colour ()

Example

  • This script draws a rectangle 140 units in width and 108 units in height.
    evive tft draw rectangle