Difference between revisions of "Term.setBackgroundColor"
From ComputerCraft Wiki
m (Moved to CAT:APIFunctions) |
Smiley43210 (Talk | contribs) m (Wording doesn't match) |
||
Line 9: | Line 9: | ||
|examples= | |examples= | ||
{{Example | {{Example | ||
− | |desc=Makes the background of the monitor | + | |desc=Makes the background of the monitor gray |
|code=term.setBackgroundColor(colors.gray) | |code=term.setBackgroundColor(colors.gray) | ||
}} | }} |
Revision as of 21:09, 11 April 2013
Function term.setBackgroundColor | |
Changes the background color of text subsequently written to the screen. For ease of use, it is best to use the color codes provided in the colors API. | |
Syntax | term.setBackgroundColor(color code) |
Returns | None |
Part of | ComputerCraft |
API | term |
Examples
Example | |
Makes the background of the monitor gray | |
Code |
term.setBackgroundColor(colors.gray) |