Difference between revisions of "Monitor.setTextScale"
From ComputerCraft Wiki
(Changed the pointed-to API to Term, removed TLC notice) |
(Fixed code to remove the implication that there is a "monitor" API) |
||
Line 9: | Line 9: | ||
{{Example | {{Example | ||
|desc=Sets the monitor's text scale to 2. | |desc=Sets the monitor's text scale to 2. | ||
− | |code=monitor.setTextScale(2) | + | |code=local monitor = [[peripheral.wrap]]("left") |
− | + | monitor.setTextScale(2) | |
}} | }} | ||
}} | }} | ||
[[Category:API_Functions]] | [[Category:API_Functions]] |
Revision as of 21:52, 8 October 2013
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
Example | |
Sets the monitor's text scale to 2. | |
Code |
local monitor = peripheral.wrap("left") monitor.setTextScale(2) |