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

Introduction

This block is found under the Robotics palette in the extension evive TFT display. It takes the following parameters as input: starting coordinates, width, height, radius at corners and colour. It draws a rectangle rounded at edges where the radius is input by the user.

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

Example

  • This script draws a rounded rectangle inside a rounded rectangle.
    evive TFT round rectangle