draw line from () () to () () color ()

draw line block

Draw line from () () to () () color () block is a stack block available in evive display extension. The block allows you to enter the coordinates of two points on the TFT display and joins them using a straight line of the specified color which you can choose from the color picker.

evive TFT Display Draw Line

Input Parameters

  1. X position of the first pixel of the line.
  2. Y position of the first pixel of the line.
  3. X position of the second pixel of the line.
  4. Y position of the second pixel of the line.
  5. The color of the line.
evive Notes Icon
Note: This block is available in both Upload mode and Stage mode.


  1. In this script, we draw a red colored line from the point (10, 10) to (150, 118).
    draw line 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,…

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
Close Menu