monitor.setTextScale

From ComputerCraft Wiki
Revision as of 02:52, 8 October 2013 by TheOriginalBIT (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Grid Redstone.png  Function monitor.setTextScale
Sets the size of all text on the monitor. scale can be any multiple of 0.5, starting at 0.5 and ending at 5.
Syntax monitor.setTextScale(number scale)
Returns nil
Part of ComputerCraft
API Term

Examples

Grid paper.png  Example
Sets the monitor's text scale to 2.
Code
local monitor = peripheral.wrap("left")
monitor.setTextScale(2)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox