Difference between revisions of "love.image.newImageData"
m (1 revision: Importing from potato (again).) |
m |
||
Line 1: | Line 1: | ||
− | |||
Create a new blank ImageData. | Create a new blank ImageData. | ||
== Function == | == Function == | ||
Line 42: | Line 41: | ||
[[Category:Functions]] | [[Category:Functions]] | ||
{{#set:Description=Create a new blank ImageData.}} | {{#set:Description=Create a new blank ImageData.}} | ||
+ | == Other Languages == | ||
+ | {{i18n|love.image.newImageData}} |
Revision as of 20:29, 18 November 2010
Create a new blank ImageData.
Contents
Function
Synopsis
imageData = love.image.newImageData( x, y )
Arguments
Returns
ImageData imageData
- The new ImageData object.
Function
Synopsis
imageData = love.image.newImageData( filename )
Arguments
string filename
- The filename of the image file.
Returns
ImageData imageData
- The new ImageData object.
Function
Synopsis
imageData = love.image.newImageData( file )
Arguments
File file
- A File to load the image data from.
Returns
ImageData imageData
- The new ImageData object.
Function
Synopsis
imageData = love.image.newImageData( data )
Arguments
Data data
- The encoded data to decode into image data.
Returns
ImageData imageData
- The new ImageData object.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info