Difference between revisions of "Paintutils (API)"
From ComputerCraft Wiki
(Created page with "Paintutils is an API to draw and load images ==Methods== {| border="1" cellpadding="2" cellspacing="0" !style="background:#EEE" width="200px"|Method name !style="background:#...") |
|||
| Line 12: | Line 12: | ||
|Draws an image at x,y, where image is an image object. | |Draws an image at x,y, where image is an image object. | ||
|- | |- | ||
| + | |||
| + | [[Category:APIs]] | ||
Revision as of 06:26, 16 November 2012
Paintutils is an API to draw and load images
Methods
| Method name | Description |
|---|---|
| paintutils.loadImage( path ) | Returns an image object. |
| paintutils.drawImage( image,x,y) | Draws an image at x,y, where image is an image object. |