Difference between revisions of "Image"
m (Updated queries.) |
|||
Line 1: | Line 1: | ||
Drawable image type. | Drawable image type. | ||
== Constructors == | == Constructors == | ||
− | {{#ask: [[Category:Functions]] [[Constructs::Image]] [[ | + | {{#ask: [[Category:Functions]] [[Constructs::Image]] [[Concept:Current]] |
| headers=hide | | headers=hide | ||
| default=None. | | default=None. | ||
Line 8: | Line 8: | ||
== Functions == | == Functions == | ||
These functions have parentheses in odd places. This is because the Image: namespace is reserved in Mediawiki. | These functions have parentheses in odd places. This is because the Image: namespace is reserved in Mediawiki. | ||
− | {{#ask: [[Category:Functions]] [[parent::Image||Drawable||Object]] [[ | + | {{#ask: [[Category:Functions]] [[parent::Image||Drawable||Object]][[Concept:Current]] |
| headers=hide | | headers=hide | ||
| ?Description | | ?Description | ||
}} | }} | ||
+ | |||
== Supertypes == | == Supertypes == | ||
* [[parent::Drawable]] | * [[parent::Drawable]] |
Revision as of 09:59, 7 December 2011
Drawable image type.
Constructors
love.graphics.newArrayImage | Creates a new array Image. |
love.graphics.newCubeImage | Creates a new cubemap Image. |
love.graphics.newImage | Creates a new Image. |
love.graphics.newVolumeImage | Creates a new volume Image. |
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