Difference between revisions of "Image"

(See Also)
(See Also)
Line 30: Line 30:
 
* [[parent::Object]]
 
* [[parent::Object]]
 
== See Also ==
 
== See Also ==
* [[parent::love.graphics]]
 
 
* [[parent::ImageData]]
 
* [[parent::ImageData]]
 +
* [[parent::love.graphics]]
 
[[Category:Types]]
 
[[Category:Types]]
 
{{#set:Description=Drawable image type.}}
 
{{#set:Description=Drawable image type.}}

Revision as of 20:23, 16 November 2016

Drawable image type.

Constructors

love.graphics.newArrayImage Creates a new array Image. Added since 11.0
love.graphics.newCubeImage Creates a new cubemap Image. Added since 11.0
love.graphics.newImage Creates a new Image.
love.graphics.newVolumeImage Creates a new volume Image. Added since 11.0

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. Added since 0.9.0 Removed in 11.0
(Image):getFlags Gets the flags used when the image was created. Added since 0.10.0
(Image):isCompressed Gets whether the Image was created from CompressedData. Added since 0.9.0
(Image):refresh Reloads the Image's contents from the ImageData or CompressedData used to create the image. Added since 0.9.0 Removed in 11.0
(Image):replacePixels Replace the contents of an Image. Added since 11.0
Object:release Immediately destroys the object's Lua reference. Added since 11.0
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