Difference between revisions of "TextDisplay.setCellBackColor"
Jump to navigation
Jump to search
(Created page with "<c>TextDisplay.setCellBackColor</c> changes the background color of the given cell. See also: TextDisplay.cellBackColor === Arguments === {| class="wikitable" |- ! Para...") |
|||
Line 9: | Line 9: | ||
! Parameter Name !! Type !! Default Value !! Meaning | ! Parameter Name !! Type !! Default Value !! Meaning | ||
|- | |- | ||
− | | ''x'' || number || 0 || column of | + | | ''x'' || number or list || 0 || column (or list of columns) to affect |
|- | |- | ||
− | | ''y'' || number || 0 || row of | + | | ''y'' || number or list|| 0 || row (or list of rows) to affect |
+ | |- | ||
+ | | ''color'' || string || #FFFFFF || background color to apply | ||
|} | |} | ||
− | |||
− | |||
− | |||
− | |||
== Example == | == Example == |
Latest revision as of 02:46, 29 December 2020
TextDisplay.setCellBackColor
changes the background color of the given cell.
See also: TextDisplay.cellBackColor
Arguments
Parameter Name | Type | Default Value | Meaning |
---|---|---|---|
x | number or list | 0 | column (or list of columns) to affect |
y | number or list | 0 | row (or list of rows) to affect |
color | string | #FFFFFF | background color to apply |
Example
text.setCellBackColor 0, 10, color.blue