Difference between revisions of "SolidColorDisplay.color"

From MiniScript Wiki
Jump to navigation Jump to search
(Created page with "<c>SolidColorDisplay.color</c> gets or sets the color shown by this display. The alpha channel is functional, so you can make such a display semi-transparent. == Example ==...")
 
 
Line 1: Line 1:
<c>SolidColorDisplay.color</c> gets or sets the color shown by this display.  The alpha channel is functional, so you can make such a display semi-transparent.
+
<c>[[SolidColorDisplay]].color</c> gets or sets the color shown by this display.  The alpha channel is functional, so you can make such a display semi-transparent.
  
 
== Example ==
 
== Example ==

Latest revision as of 15:00, 2 April 2020

SolidColorDisplay.color gets or sets the color shown by this display. The alpha channel is functional, so you can make such a display semi-transparent.

Example

display(0).mode = displayMode.solidColor
display(0).color = "#0000FF88"  // semi-transparent blue