Difference between revisions of "RenderTarget:save"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2016.08<br/>
 
'''<translate>Available since</translate>:''' Gideros 2016.08<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/RenderTarget|RenderTarget]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>save contents of RenderTarget as image</translate>
 
<translate>save contents of RenderTarget as image</translate>

Revision as of 09:30, 24 August 2018

Available since: Gideros 2016.08
Class: RenderTarget

Description

save contents 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