skimg
This is just the skimg parts of sUtils, to load a little quicker when starting SkyOS and displaying images.
| load(path) | Load a skimg from a file. |
|---|---|
| draw(skimg [, x [, y [, output]]]) | Draw a skimg. |
- load(path)Source
Load a skimg from a file. The
__callmetamethod will call the draw function, so instead ofskimg.draw(img[, x[, y[, tOutput]]]), you can doimg([x[, y[, tOutput]]])Parameters
- path
stringPath to the skimg file.
Returns
tableThe loaded skimg.
- path
- draw(skimg [, x [, y [, output]]])Source
Draw a skimg.
Parameters