RenderTarget:save

From GiderosMobile
Revision as of 03:18, 24 December 2020 by MoKaLux (talk | contribs) (remove language stuff)

Available since: Gideros 2016.08
Class: RenderTarget

Description

Saves content of RenderTarget as image.

RenderTarget:save(filename,x,y,width,height)

Parameters

filename: (string) filename and path to store file, like |D|image.png
x: (number) x coordinate from where to start image optional
y: (number) y coordinate from where to start image optional
width: (number) width of the image to save optional
height: (number) height of the image to save optional