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
__call
metamethod will call the draw function, so instead ofskimg.draw(img[, x[, y[, tOutput]]])
, you can doimg([x[, y[, tOutput]]])
Parameters
- path string Path to the skimg file.
Returns
- table The loaded skimg.
- draw(skimg [, x [, y [, output]]])Source
Draw a skimg.
Parameters