Difference between revisions of "Monitor.setTextScale"

From ComputerCraft Wiki
Jump to: navigation, search
(Added NeedsWork tag.)
(Changed the pointed-to API to Term, removed TLC notice)
Line 1: Line 1:
{{NeedsWork|This page references the monitor api, of which there is none that I can tell. It's a peripheral specific function, so should there be a page for it?}}
 
 
{{lowercase}}
 
{{lowercase}}
 
{{Function
 
{{Function
 
|name=monitor.setTextScale
 
|name=monitor.setTextScale
 
|args={{type|number}} scale
 
|args={{type|number}} scale
|api=monitor
+
|api=Term
 
|addon=ComputerCraft
 
|addon=ComputerCraft
 
|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.
 
|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.

Revision as of 18:51, 1 August 2013


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
monitor.setTextScale(2)
Output none