Difference between revisions of "Monitor.setTextScale"
From ComputerCraft Wiki
(Fixed documentation to include information about limits.) |
|||
Line 2: | Line 2: | ||
{{Function | {{Function | ||
|name=monitor.setTextScale | |name=monitor.setTextScale | ||
− | |args=[[ | + | |args=[[Float_(type)|float]] scale |
|api=monitor | |api=monitor | ||
|addon=ComputerCraft | |addon=ComputerCraft | ||
− | |desc=Sets the size of all text on the monitor. | + | |desc=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. |
|examples= | |examples= | ||
{{Example | {{Example |
Revision as of 09:59, 26 January 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(float scale) |
Returns | nil |
Part of | ComputerCraft |
API | monitor |
Examples
Example | |
Sets the monitor's text scale to 2. | |
Code |
monitor.setTextScale(2) |
Output | none |