Difference between revisions of "Monitor.setTextScale"
From ComputerCraft Wiki
(Fixed documentation to include information about limits.) |
(Changing int to number) |
||
| Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=monitor.setTextScale | |name=monitor.setTextScale | ||
| − | |args= | + | |args={{type|number}} scale |
|api=monitor | |api=monitor | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
Revision as of 13:02, 18 July 2013
| 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 | monitor |
Examples
| Sets the monitor's text scale to 2. | |
| Code |
monitor.setTextScale(2) |
| Output | none |