Fill rectangle from ()() width () height () colour ()

Introduction

The Fill 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 a rectangle, completely colouring it.

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

Example

  • This script draws a filled rectangle of Pink colour with 50 units in width and 20 units in height on the TFT Screen.
    filled rectangle