Difference between revisions of "TextDisplay.cellColor"

From MiniScript Wiki
Jump to navigation Jump to search
(Created page with "<c>TextDisplay.cellColor</c> returns the foreground color of the given cell. See also: TextDisplay.setCellColor === Arguments === {| class="wikitable" |- ! Parameter Na...")
 
m
Line 1: Line 1:
<c>TextDisplay.cellColor</c> returns the foreground color of the given cell.
+
<c>[[TextDisplay]].cellColor</c> returns the foreground color of the given cell.
  
 
See also: [[TextDisplay.setCellColor]]
 
See also: [[TextDisplay.setCellColor]]

Revision as of 15:06, 2 April 2020

TextDisplay.cellColor returns the foreground color of the given cell.

See also: TextDisplay.setCellColor

Arguments

Parameter Name Type Default Value Meaning
x number 0 column of interest
y number 0 row of interest

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

print text.cellColor 0, 10