() rectangle from () () of width () & height () & () color

rectangle block

() 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.

evive TFT Display Draw ReechangleDraw a filled rectangle on evive Display

evive TFT Display Rectangle Outline

Draw a rectangle outline on evive display

Input Parameters

  1. Draw (only parameter) or fill (complete rectangle) option.
  2. X position of the top left corner pixel of the rectangle.
  3. Y position of the top left corner pixel of the rectangle.
  4. The width of the rectangle in pixels.
  5. The height of the rectangle in pixels.
  6. The color of the rectangle.
evive Notes Icon
Note: This block is available in both Upload mode and Stage mode.

Example

  1. This script draws a rectangle 140 units in width and 108 units in height.
    draw rectangle example
  2. This script draws a filled rectangle 140 units in width and 108 units in height.
    fill rectangle example

Content is available under CC BY-SA 4.0 unless otherwise noted.

Related Tutorials, Projects & Documentation
Dabble Home Connected

Getting Started with Dabble

Introduction Dabble App transforms your Smartphone into a virtual I/O device and lets you control hardware using Bluetooth, communicate with it, access sensors like accelerometer,…
evive-brain

Interfacing evive with PictoBlox

This tutorial discusses how to interface evive with PictoBlox, the evive palette, the two modes for writing scripts in PictoBlox, and how to upload a script to evive.
PictoBlox blocks Scratch how to

Getting Started with PictoBlox

PictoBlox is a programming software based on Scratch, where you can make interactive games, animations or program robots and projects with evive, Arduino, etc..
All articles loaded
No more articles to load
PictoBlox Supported Boards
Extensions
Close Menu
×

Cart