SolidColorDisplay

From MiniScript Wiki
Revision as of 20:16, 18 January 2021 by JoeStrout (talk | contribs) (Created page with "The <c>SolidColorDisplay</c> class in Mini Micro is a display type that represents a single color over the entire screen. It is often used to control overall background c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The SolidColorDisplay class in Mini Micro is a display type that represents a single color over the entire screen. It is often used to control overall background color of the screen, or as an overlay to fade the rest of the displays in or out.

Note that "solid" here refers to the entire display layer being one color. It does not imply that this color must be opaque; translucent colors work perfectly well.

By default, display 7 is configured as a solid black display (by the clear command).

Methods and Properties

Method or Property Purpose
SolidColorDisplay.color get or set the color of the display layer