TextDisplay.setCellColor

From MiniScript Wiki
Revision as of 22:09, 1 April 2020 by 71.226.33.30 (talk) (Created page with "<c>TextDisplay.setCellColor</c> changes the foreground color of the given cell. === Arguments === {| class="wikitable" |- ! Parameter Name !! Type !! Default Value !! Meani...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

TextDisplay.setCellColor changes the foreground color of the given cell.


Arguments

Parameter Name Type Default Value Meaning
x number 0 column of interest
y number 0 row of interest
color string #FFFFFF color to apply

Usage Notes

This may appear as either the text color or the surrounding color, depending on whether the given cell is in inverse mode.

Example

text.setCellColor 0, 10, color.red