Difference between revisions of "love.graphics.newScreenshot"
m (1 revision: Imported docs from potato.) |
|||
Line 1: | Line 1: | ||
− | + | Creates a screenshot and returns the image data. | |
== Function == | == Function == | ||
=== Synopsis === | === Synopsis === | ||
Line 13: | Line 13: | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] | ||
[[Category:Functions]] | [[Category:Functions]] | ||
− | {{#set:Description=}} | + | {{#set:Description=Creates a screenshot and returns the image data.}} |
Revision as of 16:17, 14 February 2010
Creates a screenshot and returns the image data.
Function
Synopsis
screenshot = love.graphics.newScreenshot( )
Arguments
None.
Returns
ImageData screenshot
- The image data of the screenshot