Files
Basalt/docs/objects/Image/shrink.md
Robert Jelic 4d614372a1 Updated docs
There is still stuff to do
2022-08-28 18:18:26 +02:00

336 B

shrink

Shrinks the current image into a blittle image.

Returns:

  1. object The object in use

Usage:

  • Creates a default image and loads a test.nfp file
local mainFrame = basalt.createFrame()
local aImage = mainFrame:addImage():loadImage("test.nfp"):shrink()
<image path="test.nfp" shrink="true" />