Difference between revisions of "Image"
Line 7: | Line 7: | ||
}} | }} | ||
{{#ask: [[Category:Functions]] [[parent::Drawable]] | {{#ask: [[Category:Functions]] [[parent::Drawable]] | ||
+ | | headers=hide | ||
+ | | ?Description | ||
+ | }} | ||
+ | {{#ask: [[Category:Functions]] [[parent::Object]] | ||
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
Line 12: | Line 16: | ||
== Supertypes == | == Supertypes == | ||
[[Drawable]] | [[Drawable]] | ||
+ | [[Object]] | ||
== See Also == | == See Also == | ||
* [[parent::love.graphics]] | * [[parent::love.graphics]] |
Revision as of 01:57, 13 February 2011
Drawable image type.
Functions
These functions have parentheses in odd places. This is because the Image: namespace is reserved in Mediawiki.
(Image):getData | Gets the original ImageData or CompressedData used to create the Image. |
(Image):getFlags | Gets the flags used when the image was created. |
(Image):isCompressed | Gets whether the Image was created from CompressedData. |
(Image):isFormatLinear | Gets whether the Image was created with a the linear (non-gamma corrected) flag set to true. |
(Image):refresh | Reloads the Image's contents from the ImageData or CompressedData used to create the image. |
(Image):replacePixels | Replace the contents of an Image. |
Object:release | Immediately destroys the object's Lua reference. |
Object:type | Gets the type of the object as a string. |
Object:typeOf | Checks whether an object is of a certain type. |
Supertypes
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