Getting Started with PictoBlox
Important Terms
Courses

set text color () with () background & size ()

set text color background and size block

Set text color () with () background & size () block is a stack block available in evive display extension. The block sets a text color (choose from the color selector), a particular background color (choose from the color selector) and the text size (value varying from 1 to 7) for the text.

evive Notes Icon
Note: This block is available in both Upload mode and Stage mode.

Example

  1. In this script, we have changed the text color (default is white) and set the background to black using the set text color () with () background & size () block and fill screen with () color respectively. The cursor is at (50, 50) and we write “Hello World!” using the write () block.
    Text size example
  2. In this example, we are changing the color of the text and writing “Hello World” at three different locations on the TFT display.
    text background example
This helped
This didn't help

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

PictoBlox Supported Boards
Extensions
Close Menu
×
×

Cart

STEMpedia Starter Kit is now available on Indiegogo!
STEMpedia Starter Package is now on Indiegogo!
Get 41% OFF with Super Early Bird discounts!
x