paintutils.loadImage
Loads a Image from a File which can be drawn by paintutils.drawImage. You can create a Image with Paint.
|
|||
Loads and draws a Image. | |||
Code | <nowiki>
local pic = paintutils.loadImage("/picture.nfp")
paintutils.drawImage(pic)
</nowiki>
|
Functions | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Lua |
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
CC:Tweaked |
|
paintutils.loadImage Function | |
---|---|
Syntax paintutils.loadImage(
| |
Returns | nil |
API | paintutils |
Source | CC:Tweaked (source) |
This article is issued from Computercraft. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.