paintutils.loadImage
From ComputerCraft Wiki
Revision as of 08:38, 7 December 2012 by 86.174.116.221 (Talk)
Function paintutils.loadImage | |
Draws an image object (image objects returned by paintutils.loadImage()) | |
Syntax | paintutils.loadImage(( path, x, y )) |
Returns | True or false |
Part of | ComputerCraft |
API | paintutils |
Examples
Example | |
The program loads the image 'bar' onto the variable 'image' and then draws it on the screen starting at position {3, 5} | |
Code |
image = paintutils.loadImage("bar") paintutils.drawImage(image, 3, 5) |