Difference between revisions of "Monitor.setTextScale"

From ComputerCraft Wiki
Jump to: navigation, search
(Fixed documentation to include information about limits.)
(Changing int to number)
Line 2: Line 2:
 
{{Function
 
{{Function
 
|name=monitor.setTextScale
 
|name=monitor.setTextScale
|args=[[Float_(type)|float]] scale
+
|args={{type|number}} scale
 
|api=monitor
 
|api=monitor
 
|addon=ComputerCraft
 
|addon=ComputerCraft

Revision as of 13:02, 18 July 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 monitor

Examples

Grid paper.png  Example
Sets the monitor's text scale to 2.
Code
monitor.setTextScale(2)
Output none