SolidColorDisplay.color

From MiniScript Wiki
Revision as of 21:46, 1 April 2020 by 71.226.33.30 (talk) (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 ==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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